Avoid confusing compiler with dynamically impossible statically invalid dereference...
[glibc.git] / ChangeLog
blob0b648bfb1153f302d9efd7db8c0c6b7c85e642e2
1 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4         IMAP->l_prev cannot be null, and #if out the code for the contrary
5         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6         believe that NS (&_dl_ns[NSID]) could point outside the array.
8         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
9         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10         before using NSID as an index.
12 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14         [BZ #17825]
15         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21         Add preliminary port to Google Native Client on ARM.
22         * abi-tags (.*-.*-nacl.*): New entry.
23         * sysdeps/arm/nacl: New directory.
24         * sysdeps/nacl: New directory.
26 2015-04-16  David S. Miller  <davem@davemloft.net>
28         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29         lowlevellock-futex.h
31 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
33         * sysdeps/tile/configure.ac: New file.
34         * sysdeps/tile/configure: Regenerated.
36 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
39         conditionals for weak_alias and libc_hidden_weak.
40         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
41         libc_hidden_weak and weak_alias.
42         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
43         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
44         and weak_alias for static one.
46 2015-04-15  David S. Miller  <davem@davemloft.net>
48         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
52         [BZ #18206]
53         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
54           Use signed comparision instead of substraction to avoid
55           overflow bug.
56         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
57           Take the sign of ret.
58         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
59           Do not expect precise return values. Only the sign matters.
60         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
61         * wcsmbs/test-wcsncmp.c: New File.
62         * string/test-strncmp.c: Add wcsncmp support.
64 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
66         [BZ #6792]
67         * math/w_log1p.c: New file.
68         * math/w_log1pf.c: Likewise.
69         * math/w_log1pl.c: Likewise.
70         * math/Makefile (libm-calls): Add w_log1p.
71         * math/s_log1pl.c (log1pl): Remove weak_alias.
72         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
73         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
74         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
75         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
76         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
77         [NO_LONG_DOUBLE] (log1pl): Likewise.
78         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
79         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
80         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
81         (log1p): Remove long_double_symbol.
82         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
83         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
84         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
85         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
86         remove weak_alias for corresponding log1p function.
87         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
88         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
89         * sysdeps/ia64/fpu/w_log1p.c: New file.
90         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
91         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
92         * math/libm-test.inc (log1p_test_data): Add errno expectations.
94 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
96         [BZ #18247]
97         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
98         decimal exponent by 1.
99         * stdlib/tst-strtod-round-data: Add more tests.
100         * stdlib/tst-strtod-round.c (tests): Regenerated.
102 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
104         * math/auto-libm-test-in: Add more tests of clog and clog10.
105         * math/auto-libm-test-out: Regenerated.
106         * sysdeps/i386/fpu/libm-test-ulps: Update.
107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
109 2015-04-09  Roland McGrath  <roland@hack.frob.com>
111         * Makeconfig (module-cppflags): Exclude all .v.i files.
112         (skip-module-cppflags): Variable removed.
114         * configure.ac (libc_config_ok): Initialize before reading
115         preconfigure scripts, not after.
116         * configure: Regenerated.
118         * test-skeleton.c (TIMEOUT): Move #define to top level.
119         (main): Grok environment variable TEST_DIRECT.  If set, print
120         test expectation details into that file and then behave as if
121         given --direct.
123 2015-04-09  Florian Weimer  <fweimer@redhat.com>
125         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
126         warning on 32-bit.
128 2015-04-08  David S. Miller  <davem@davemloft.net>
130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
132 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
134         * math/auto-libm-test-in: Add more tests of atanh.
135         * math/auto-libm-test-out: Regenerated.
136         * sysdeps/i386/fpu/libm-test-ulps: Update.
137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139         * math/auto-libm-test-in: Add more tests of atan.
140         * math/auto-libm-test-out: Regenerated.
141         * sysdeps/i386/fpu/libm-test-ulps: Update.
142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144 2015-04-08  Florian Weimer  <fweimer@redhat.com>
146         * elf/pldd.c (main): Rewrite to use struct
147         scratch_buffer instead of extend_alloca.
148         * elf/pldd-xx.c (find_maps): Likewise.
149         * grp/initgroups.c: Include <scratch_buffer.h> instead of
150         <alloca.h>.
151         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
152         scratch_buffer instead of extend_alloca.
153         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
154         grp/compat-initgroups.c.
155         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
156         Rewrite to use struct scratch_buffer instead of extend_alloca.
157         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
158         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
160 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
162         * math/auto-libm-test-in: Add more tests of cbrt.
163         * math/auto-libm-test-out: Regenerated.
164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
166         * math/auto-libm-test-in: Add more tests of cabs.
167         * math/auto-libm-test-out: Regenerated.
168         * sysdeps/i386/fpu/libm-test-ulps: Update.
169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
171         [BZ #18210]
172         [BZ #18211]
173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
174         (__ieee754_atan2): Set FE_TONEAREST mode for internal
175         computations.
176         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
177         clog10.
178         * math/auto-libm-test-out: Regenerated.
179         * sysdeps/i386/fpu/libm-test-ulps: Update.
180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
182         [BZ #18197]
183         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
184         (atan): Set FE_TONEAREST mode for internal computations.
185         * math/auto-libm-test-in: Add more tests of atan.
186         * math/auto-libm-test-out: Regenerated.
188 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
190         [BZ #17930]
191         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
193 2015-04-07  Florian Weimer  <fweimer@redhat.com>
195         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
197 2015-04-07  Florian Weimer  <fweimer@redhat.com>
199         * include/scratch_buffer.h: New file.
200         * malloc/scratch_buffer_grow.c: Likewise.
201         * malloc/scratch_buffer_grow_preserve.c: Likewise.
202         * malloc/scratch_buffer_set_array_size.c: Likewise.
203         * malloc/tst-scratch_buffer.c: Likewise.
204         * malloc/Makefile (routines): Add scratch_buffer_grow.
205         (tests): Add test case.
206         * malloc/Versions (GLIBC_PRIVATE): Export
207         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
208         __libc_scratch_buffer_set_array_size.
210 2015-04-06  Richard Henderson  <rth@redhat.com>
212         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
213         * sysdeps/alpha/fpu/libm-test-ulps: Update.
215         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
216         unsigned int before printing.
218 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
220         [BZ #17596]
221         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
222         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
224 2015-04-02  Florian Weimer  <fweimer@redhat.com>
226         * include/libc-internal.h (libc_max_align_t): Define.
228 2015-04-02  Andreas Schwab  <schwab@suse.de>
230         [BZ #16850]
231         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
233 2015-04-02  Mel Gorman  <mgorman@suse.de>
235         [BZ #17195]
236         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
237         as well as the main arena.
239 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
241         [BZ #18185]
242         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
243         sharing L2 cache to 2 for Silvermont/Knights Landing.
245 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
247         [BZ #17711]
248         * config.make.in (have-protected-data): New.
249         * configure.ac: Check linker support for protected data symbol.
250         * configure: Regenerated.
251         * elf/Makefile (modules-names): Add tst-protected1moda and
252         tst-protected1modb if $(have-protected-data) is yes.
253         (tests): Add tst-protected1a and tst-protected1b if
254         $(have-protected-data) is yes.
255         ($(objpfx)tst-protected1a): New.
256         ($(objpfx)tst-protected1b): Likewise.
257         (tst-protected1modb.so-no-z-defs): Likewise.
258         * elf/tst-protected1a.c: New file.
259         * elf/tst-protected1b.c: Likewise.
260         * elf/tst-protected1mod.h: Likewise.
261         * elf/tst-protected1moda.c: Likewise.
262         * elf/tst-protected1modb.c: Likewise.
264 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
266         [BZ #17711]
267         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
268         indicates it is called from do_lookup_x on relocation against
269         protected data, skip the data definion in the executable from
270         copy reloc.
271         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
272         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
273         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
274         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
275         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
276         otherwise to 0.
277         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
278         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
279         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
280         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
281         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
282         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
284 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
286         * sysdeps/nptl/pthread.h: Remove duplicate definition of
287         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
289 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
291         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
292         THREAD_SETMEM_NC.
293         * sysdeps/x86_64/nptl/tls.h: Ditto.
295 2015-03-27  Roland McGrath  <roland@hack.frob.com>
297         * dlfcn/tststatic.c (main): Converted to ...
298         (do_test): ... this.
299         (TEST_FUNCTION): New macro.
300         Include test-skeleton.c.
302 2015-03-26  Alan Modra  <amodra@gmail.com>
304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
305         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
306         zero for undefined weak.
307         (elf_machine_plt_conflict): Similarly.
309 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
311         * math/auto-libm-test-in: Add more tests of acosh, asinh and
312         atanh.
313         * math/auto-libm-test-out: Regenerated.
314         * sysdeps/i386/fpu/libm-test-ulps: Update.
315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
317         * math/auto-libm-test-in: Add another test of asin.
318         * math/auto-libm-test-out: Regenerated.
319         * sysdeps/i386/fpu/libm-test-ulps: Update.
320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
323         Remove macro.
324         (LLL_EBX_REG): Likewise.
325         (LLL_ENTER_KERNEL): Likewise.
327         * math/auto-libm-test-in: Add more tests of asin.
328         * math/auto-libm-test-out: Regenerated.
329         * sysdeps/i386/fpu/libm-test-ulps: Update.
330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
332         [BZ #18138]
333         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
334         libc_do_syscall_args): New structure.
335         (INTERNAL_SYSCALL_MAIN_0): New macro.
336         (INTERNAL_SYSCALL_MAIN_1): Likewise.
337         (INTERNAL_SYSCALL_MAIN_2): Likewise.
338         (INTERNAL_SYSCALL_MAIN_3): Likewise.
339         (INTERNAL_SYSCALL_MAIN_4): Likewise.
340         (INTERNAL_SYSCALL_MAIN_5): Likewise.
341         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
342         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
343         Replace conditional definitions by conditional definitions of ....
344         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
345         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
346         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
347         (libpthread-sysdep_routines): Add libc-do-syscall.
348         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
350         to __NR_futex not 240.
352 2015-03-25  Alan Modra  <amodra@gmail.com>
354         * NEWS: Advertise TLS optimization.
355         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
356         (DT_PPC_NUM): Increment.
357         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
358         (CHECK_STATIC_TLS): Use here.
359         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
360         TLS descriptors.
361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
362         * sysdeps/powerpc/dl-tls.c: New file.
363         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
364         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
365         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
366         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
371 2015-03-25  Alan Modra  <amodra@gmail.com>
373         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
374         for overlapping .opd entries" to "support...".
375         * sysdeps/powerpc/powerpc64/configure: Regenerate
377 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
379         * math/auto-libm-test-in: Add more tests of acos.
380         * math/auto-libm-test-out: Regenerated.
381         * sysdeps/i386/fpu/libm-test-ulps: Update.
382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
384         * math/auto-libm-test-in: Add more tests of expm1.
385         * math/auto-libm-test-out: Regenerated.
386         * sysdeps/i386/fpu/libm-test-ulps: Update.
387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
389 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
391         * math/auto-libm-test-in: Add more tests of cosh and sinh.
392         * math/auto-libm-test-out: Regenerated.
393         * sysdeps/i386/fpu/libm-test-ulps: Update.
394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
396         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
399         * math/auto-libm-test-in: Add more tests of log2.
400         * math/auto-libm-test-out: Regenerated.
401         * sysdeps/i386/fpu/libm-test-ulps: Update.
402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
404 2015-03-23  Roland McGrath  <roland@hack.frob.com>
406         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
407         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
408         _IO_IS_APPENDING bit in READ_WRITE instead.
410 2015-03-23  Florian Weimer  <fweimer@redhat.com>
412         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
413         (__determine_cpumask_size): Replace extend_alloca with a
414         variable-length array.  Do not treat res == 0 as an error.
416 2015-03-23  Florian Weimer  <fweimer@redhat.com>
418         [BZ #18100]
419         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
420         and integer overflow.
421         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
422         (main): Add integer overflow tests.
423         * manual/pattern.texi (Calling Wordexp): Document additional use
424         for WRDE_SYNTAX.
426 2015-03-23  Alan Modra  <amodra@gmail.com>
428         * config.h.in: Remove HAVE_ASM_PPC_REL16.
429         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
430         and false branch of conditional.
431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
432         Likewise.
434 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
436         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
437         libc-modules.h
438         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
439         unused declaration of _hurd_intr_rpc_msg_in_trap.
440         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
441         defined instead of whether it is non-zero.
442         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
443         input constraint instead of both input and output constraint.  Use ecx
444         clobber instead of %ecx.
445         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
446         mutex_unlock): Use a statement expression instead of an expression list.
447         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
448         type to vm_size_t instead of vm_address_t.
449         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
450         defined instead of whether it is non-zero.
451         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
452         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
453         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
454         comparisons with mapaddr.
455         * nscd/nscd-client.h: Include <time.h>.
456         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
457         9th parameter to __vm_region instead of int.
458         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
459         * scripts/check-local-headers.sh (exclude): Add device/,
460         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
461         cthreads.h.
463 2015-03-19  Roland McGrath  <roland@hack.frob.com>
465         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
466         to account for alignment padding.
467         * sysdeps/arm/memmove.S: Likewise.
469 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
471         * sysdeps/unix/sysv/linux/generic/README: New file.
473 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
475         [BZ #18138]
476         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
477         (futex_abstimed_wait)
478         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
479         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
480         of lll_futex_timed_wait.
482 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
484         [BZ #17542]
485         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
487 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
489         [BZ #17090]
490         [BZ #17620]
491         [BZ #17621]
492         [BZ #17628]
493         * NEWS: Update.
494         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
495         entries with Static TLS too.  Skip entries past the end of the
496         allocated DTV, from Alan Modra.
497         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
498         Static TLS DTV entry set up from...
499         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
500         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
501         * nptl/allocatestack.c (init_one_static_tls): ... and here...
502         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
503         for Static TLS.
504         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
505         that the slot we find is associated with the given map before
506         using its generation count.
507         * nptl_db/db_info.c: Include ldsodefs.h.
508         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
509         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
510         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
511         (link_map::l_tls_offset): New struct field.
512         (dtv_t::counter): Likewise.
513         (rtld_global): New struct.
514         (_rtld_global): New rtld variable.
515         (dl_tls_dtv_slotinfo_list): New rtld global field.
516         (dtv_slotinfo_list): New struct.
517         (dtv_slotinfo): Likewise.
518         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
519         (td_lookup): Rename to...
520         (td_mod_lookup): ... this.  Use new mod parameter instead of
521         LIBPTHREAD_SO.
522         * nptl_db/td_thr_tlsbase.c: Include link.h.
523         (dtv_slotinfo_list, dtv_slotinfo): New functions.
524         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
525         addresses even if the DTV is out of date or missing them.
526         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
527         index zero-length arrays.
528         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
529         (td_lookup): Make it a macro implemented in terms of...
530         (td_mod_lookup): ... this declaration.
531         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
532         (DB_MAIN_VARIABLE): Likewise.
534 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
536         [BZ #18134]
537         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
539 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
541         * stdlib/setenv.c (__add_to_environ): Revert previous change.
543 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
545         [BZ #18128]
546         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
547         (atomic_add, atomic_increment_and_test)
548         (atomic_decrement_and_test): Fix 64-bit arithmetic.
550 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
552         * stdlib/setenv.c (__add_to_environ):
553         Dump core quickly if setenv (..., NULL, ...) is called.
555 2015-03-13  Roland McGrath  <roland@hack.frob.com>
557         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
558         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
559         all the necessary asm magic in one place.
560         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
561         using those.
563 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
565         [BZ #14906]
566         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
567         traced file mtime. Use consistent log message.
568         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
569         (register_traced_file): Call install_watches. Always set mtime.
570         (invalidate_cache): Iterate over all trace files. Call install_watches.
571         (inotify_check_files): Don't inline. Handle watching parent
572         directories and configuration file movement in and out.
573         (handle_inotify_events): New function.
574         (main_loop_poll): Call handle_inotify_events.
575         (main_loop_epoll): Likewise.
576         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
577         (struct traced_file): Use array of inotify fds. Add parent directory,
578         and basename.
579         (struct database_dyn): Remove unused file_mtime.
580         (init_traced_file): New inline function.
581         (define_traced_file): New macro.
582         * nss/nss_db/db-init.c: Use define_traced_file.
583         (_nss_db_init): Use init_traced_file.
584         * nss/nss_files/files-init.c: Use define_traced_file.
585         (_nss_files_init): Use init_traced_file.
587 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
589         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
590         [_LIBC]: Do not include <stdlib.h>.
591         [!_LIBC] (abort): Remove declaration.
592         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
593         _FP_STATIC_ASSERT instead of conditionally calling abort.
594         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
595         (_FP_EXTEND_CNAN): Likewise.
596         (FP_TRUNC): Likewise.
597         (__FP_CLZ): Likewise.
598         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
600 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
602         * manual/string.texi (XPG basename): Fix prototype.
604 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
606         [BZ #18080]
607         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
608         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
609         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
610         (__setcontext): Likewise.
611         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
612         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
613         Call rt_sigprocmask syscall one time to set new signal mask
614         and retrieve the current signal mask instead of two calls.
615         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
616         (__swapcontext): Likewise.
617         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
618         * stdlib/tst-setcontext2.c: New file.
620 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
624 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
626         [BZ #18093]
627         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
628         the wrong size.
630 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
632         [BZ #18043]
633         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
635 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
637         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
638         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
639         Remove define.
640         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
641         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
642         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
643         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
644         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
645         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
646         define.
647         * nptl_db/td_symbol_list.c (td_lookup): Remove
648         HAVE_ASM_GLOBAL_DOT_NAME code.
649         * sysdeps/powerpc/powerpc64/configure.ac: Remove
650         HAVE_ASM_GLOBAL_DOT_NAME check.
651         * sysdeps/powerpc/powerpc64/configure: Regenerate.
652         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
653         (DOT_LABEL): Remove define.
654         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
655         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
656         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
657         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
658         (__TLS_GET_ADDR): Likewise.
659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
660         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
662 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
664         [BZ #18111]
665         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
666         (_FPU_SETCW): Initialize cw from fpsr before storing.
667         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
668         (fesetexceptflag): Rewrite using fpu_control.h.
669         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
671 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
673         [BZ #18110]
674         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
675         asms.
676         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
678 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
680         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
681         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
682         abort.
683         (_FP_FMA): Likewise.
684         (_FP_DIV): Likewise.
686 2015-03-10  Roland McGrath  <roland@hack.frob.com>
688         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
689         with 0 in that case.
690         * Makefile (summarize-tests): New canned sequence, factored out of
691         commands for targets tests and xtests.  Display summary lines that
692         don't start with PASS: or XFAIL: rather than ones that do start with
693         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
694         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
695         do start with ERROR: or FAIL:.
696         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
697         (except for [$(build-shared) = yes]).
698         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
699         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
700         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
701         * nptl/Makefile: Revert 2015-03-04 changes.
702         [$(CXX) empty] (tests-unsupported): New variable.
703         * debug/Makefile: Likewise.
705         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
706         gnulib file.  Replace __attribute with __attribute__ throughout.
708 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
710         * sysdeps/hppa/fpu/libm-test-ulps: Update.
712 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
714         [BZ #18104]
715         * math/auto-libm-test-in: Add another test of pow.
716         * math/auto-libm-test-out: Regenerated.
718 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
720         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
721         $(config-cflags-nofma).
723 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
725         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
726         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
727         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
728         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
729         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
730         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
731         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
732         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
733         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
734         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
735         Add comment on closing #endif.
737 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
739         * posix/wordexp.c (CHAR_IN_SET): New macro.
740         (parse_param): Use it.
742 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
744         * sysdeps/powerpc/fpu/libm-test-ulps: update.
746 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
748         [BZ #18043]
749         * posix/wordexp.c (parse_param): Fix buffer overflow.
750         * posix/wordexp-test.c (test_case): Add test case.
752 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
754         [BZ #18042]
755         * posix/wordexp.c (parse_backtick): Fix off-by-one.
756         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
758 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
760         [BZ #18043]
761         * posix/wordexp-test.c (test_case): Add test for BZ #18043
762         (do_bz18043): Delete.
763         (at_page_end): New.
764         (testit): Refactor to have words at the edge of unreadable page.
766 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
768         [BZ #16734]
769         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
770         Cleanup read-only streams as well.
771         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
773 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
775         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
776         <bits/libc-lockP.h>
778 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
780         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
781         on [__KERNEL__].
782         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
783         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
784         * soft-fp/op-common.h (_FP_DECL): Likewise.
786 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
788         * elf/ifuncdep2.c (global): Replace
789         __attribute__((visibility("protected"))) with
790         asm (".protected global").
791         * elf/ifuncmod1.c (global): Likewise.
792         * elf/ifuncmod5.c (global): Likewise.
794 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
796         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
797         <asm/sfp-machine.h> instead of <sfp-machine.h>.
799 2015-03-06  Roland McGrath  <roland@hack.frob.com>
801         * manual/install.texi (Configuring and compiling):
802         Document test-wrapper-env-only.
803         * INSTALL: Regenerated.
805 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
807         [BZ #18043]
808         * posix/wordexp.c (parse_param): Fix buffer overflow.
809         * posix/wordexp-test.c (do_bz18043): Add test case.
811 2015-03-06  Vincent Bernat  <vincent@bernat.im>
813         * time/tst-strptime2.c (do_test): Ensure failing tests are
814         reported correctly.
815         * time/tst-strptime3.c (do_test): Likewise.
817 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
819         Fix aio_error thread-safety.
820         * sysdeps/pthread/aio_error.c: New file
821         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
822         synchronization.
824 2015-03-06  Florian Weimer  <fweimer@redhat.com>
826         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
827         (group_number, vfprintf): Use it.
828         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
829         (JUMP, REF): Use it.
830         (WORK_BUFFER_SIZE): New enum constant.
831         (process_arg, vfprintf): Use it.
833 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
835         * manual/errno.texi (Error Messages): Complete example function
836         by adding missing #define.
837         (program_invocation_name): Add statement indicating GNU
838         extension and reference which header file declares the variable.
839         (program_invocation_short_name): Likewise.
841 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
843         * manual/errno.texi (Error Messages): Delete strerror ISO C89
844         compatibility note.
846 2015-03-05  Roland McGrath  <roland@hack.frob.com>
848         * Makeconfig (test-wrapper-env-only): New variable.
849         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
850         then use that with $(test-wrapper-env-only) rather than using
851         $(test-wrapper-env) $(run-program-env) $($*-ENV).
853 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
855         [BZ #18082]
856         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
857         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
858         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
859         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
860         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
861         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
862         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
863         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
864         Likewise.
865         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
866         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
867         Likewise.
868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
869         Likewise.
870         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
871         Likewise.
872         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
873         Likewise.
874         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
875         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
876         Likewise.
877         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
878         Likewise.
879         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
880         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
882 2015-03-04  Roland McGrath  <roland@hack.frob.com>
884         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
885         (ETH_ALEN): New macro.
886         (struct ether_addr): Use it for length of ether_addr_octet.
888         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
889         (setdb): Don't call __nss_configure_lookup for "rpc".
890         (do_test): Don't call test_rpc.
891         (output_rpcent, test_rpc): Functions moved ...
892         * sunrpc/test-rpcent.c: ... to this new file.
893         * sunrpc/Makefile (tests): Add it.
895         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
896         __xpg_sigpause.
897         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
898         * nptl/tst-signal6.c: Likewise.
899         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
900         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
902         * configure.ac (libc_cv_cxx_link_ok): New check.
903         Reset CXX to empty if it fails to link.
904         * configure: Regenerated.
905         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
906         bug-atexit3-lib only if $(CXX) is nonempty.
907         * nptl/Makefile (tests): Likewise for tst-cancel24.
908         (tests, tests-static): Likewise for tst-cancel24-static.
909         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
910         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
911         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
912         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
914 2015-03-04  Andreas Schwab  <schwab@suse.de>
916         [BZ #17631]
917         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
918         for non-GCC compilers.
919         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
920         Likewise.
922 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
924         [BZ #17776]
925         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
926         integer before bitwise and assembly operations.
927         (feclearexcept): Likewise.
928         * math/test-fenvinline.c: New file.
929         * math/Makefile: Add test-fenvinline test.
931 2015-03-03  Alan Modra  <amodra@gmail.com>
933         [BZ #16512]
934         * scripts/localplt.awk: Strip off symbol version.
935         * NEWS: Mention bug fix.
937 2015-03-02  Roland McGrath  <roland@hack.frob.com>
939         * sysdeps/pthread/timer_routines.c
940         (timer_free_list, thread_free_list, thread_active_list): Make static.
942 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #17779]
945         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
946         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
947         Undefine.
948         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
949         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
950         Likewise.
951         * sysdeps/unix/sysv/linux/sh/kernel-features.h
952         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
953         Likewise.
955 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
957         [BZ #18036]
958         * posix/fnmatch_loop.c (END): Detect invalid pattern.
959         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
961 2015-03-02  Andreas Schwab  <schwab@suse.de>
963         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
964         variable name.
966 2015-03-02  Florian Weimer  <fweimer@redhat.com>
968         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
969         Return error status.
971 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
973         [BZ #15969]
974         * locale/findlocale.c (_nl_find_locale): Introduce const
975         version of loc_name and drop unsafe type casts.
977 2015-02-27  Roland McGrath  <roland@hack.frob.com>
979         * dlfcn/tststatic2.c (main): Converted to ...
980         (do_test): ... this.
981         (TEST_FUNCTION): New macro.
982         Include test-skeleton.c.
984 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
986         [BZ #17711]
987         * elf/Makefile (tests): Add vismain only if PIE is enabled.
988         (tests-pie): Add vismain.
989         (CFLAGS-vismain.c): New.
990         * elf/vismain.c: Add comments for PIE requirement.
992 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
994         [BZ #18046]
995         [BZ #18047]
996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
997         0x1p-56L as threshold for just returning the argument.
998         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
999         0x1p-32L as threshold for just returning the argument.
1000         * math/auto-libm-test-in: Add more tests of atanh.
1001         * math/auto-libm-test-out: Regenerated.
1002         * sysdeps/i386/fpu/libm-test-ulps: Update.
1003         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1005 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1007         * string/bcopy.c (bcopy): Call memmove for performance.
1009 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1011         * string/bzero.c (__bzero): Call memset for performance.
1013 2015-02-27  John David Anglin  <dave.anglin@bell.net>
1015         [BZ #18068]
1016         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1017         to 00100000.
1019 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1021         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1023 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1025         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1026         (__kernel_standard): Use CSTR macro when setting exc.name.
1027         * sysdeps/ieee754/Makefile [$(subdir) = math]
1028         (CFLAGS-k_standard.c): Remove variable.
1030         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1031         setting p and q from "else if" to "else".
1032         (qzero): Likewise.
1033         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1034         (qone): Likewise.
1035         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1036         (qzerof): Likewise.
1037         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1038         (qonef): Likewise.
1039         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1040         (qzero): Likewise.
1041         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1042         (qone): Likewise.
1044         [BZ #18038]
1045         [BZ #18039]
1046         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1047         return pi/2 for arguments below 0x1p-113L.
1048         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1049         return pi/2 for arguments below 0x1p-106L.
1050         * math/auto-libm-test-in: Add more tests of acos.
1051         * math/auto-libm-test-out: Regenerated.
1053         [BZ #16351]
1054         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1055         (MO): New macro.
1056         (__ieee754_asin): Force underflow exception for results with small
1057         absolute value.
1058         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1059         (MO): New macro.
1060         (__ieee754_asinf): Force underflow exception for results with
1061         small absolute value.
1062         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1063         (__ieee754_asin): Force underflow exception for results with small
1064         absolute value.
1065         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1066         (__ieee754_asinf): Force underflow exception for results with
1067         small absolute value.
1068         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1069         (__ieee754_asinl): Force underflow exception for results with
1070         small absolute value.
1071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1072         (__ieee754_asinl): Force underflow exception for results with
1073         small absolute value.
1074         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1075         (__ieee754_asinl): Force underflow exception for results with
1076         small absolute value.
1077         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1078         Include <math.h>.
1079         * math/auto-libm-test-in: Do not mark underflow exceptions as
1080         possibly missing for bug 16351.
1081         * math/auto-libm-test-out: Regenerated.
1083         [BZ #18030]
1084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1085         of power of 2 down when low part has opposite sign.
1086         * math/libm-test.inc (logb_test_data): Add more tests.
1088 2015-02-26  Andreas Schwab  <schwab@suse.de>
1090         [BZ #18032]
1091         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1092         over collating symbol inside a bracket expression.  Minor cleanup.
1093         * posix/tst-fnmatch3.c (do_test): Add test case.
1095 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1097         [BZ #18029]
1098         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1099         Adjust exponent of power of 2 down when low part has opposite
1100         sign.
1101         * math/libm-test.inc (ilogb_test_data): Add more tests.
1103 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
1105         [BZ #15969]
1106         * locale/findlocale.c (_nl_find_locale): Fix constness error in
1107         the previous change.
1109         [BZ #15969]
1110         * locale/findlocale.c (_nl_find_locale): Retry archive search
1111         after alias expansion.
1113 2015-02-25  Roland McGrath  <roland@hack.frob.com>
1115         * iconv/tst-iconv3.c (main): Converted to ...
1116         (do_test): ... this.
1117         (TEST_FUNCTION): New macro.
1118         Include test-skeleton.c.
1120         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1121         (convert): Make function static.
1122         (test_unalign): Likewise.  Add const to argument pointee types.
1123         (main): Replace with static function do_test.
1124         Print "Succeeded." only if RET is zero.
1125         (TEST_FUNCTION): New macro.
1126         Include test-skeleton.c.
1128         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1129         returns a null pointer.
1131 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1134         to __memcpy_ppc only for static builds.
1136 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
1138         [BZ #18020]
1139         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1140         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1141         * math/auto-libm-test-in: Add more tests of asinh.
1142         * math/auto-libm-test-out: Regenerated.
1143         * sysdeps/i386/fpu/libm-test-ulps: Update.
1144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1146 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
1148         [BZ #15850]
1149         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1150         and ip6_mtuinfo definitions here.
1151         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1152         in this define too.  Update comment.
1154 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
1156         * elf/sprof.c (load_shobj): Tweak error message to match others.
1158 2015-02-24  Kevin Easton  <kevin@guarana.org>
1160         [BZ #16145] (partial fix)
1161         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1162         to reduce lock contention.
1164 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
1166         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1167         (struct timex): Update time comment.
1168         (ADJ_SETOFFSET): Define.
1170 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1172         [BZ #18019]
1173         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1174         2**56 not 2**28 as threshold for log (2x) formula.
1175         * math/auto-libm-test-in: Add more tests of acosh.
1176         * math/auto-libm-test-out: Regenerated.
1177         * sysdeps/i386/fpu/libm-test-ulps: Update.
1178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1180 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1182         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1183         parenthesis around the buf assignment.
1184         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1186 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1188         [BZ #16783]
1189         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1190         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1191         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1192         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1193         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1194         * math/libm-test.inc (scalb_test_data): Add more tests.
1196 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1198         [BZ #17916]
1199         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1200         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1202 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1204         [BZ #17523]
1205         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1206         * io/bits/fcntl2.h (open): Use it.
1207         (openat): Likewise.
1208         * io/open.c (__libc_open): Likewise.
1209         * io/open64.c (__libc_open64): Likewise.
1210         * io/open64_2.c (__open64_2): Likewise.
1211         * io/open_2.c (__open_2): Likewise.
1212         * io/openat.c (__openat): Likewise.
1213         * io/openat64.c (__openat64): Likewise.
1214         * io/openat64_2.c (__openat64_2): Likewise.
1215         * io/openat_2.c (__openat_2): Likewise.
1216         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1217         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1218         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1219         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1220         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1221         (__open_nocancel): Likewise.
1222         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1223         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1224         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1226 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1228         [BZ #14841]
1229         * resolv/gethnamaddr.c (getanswer): Skip logging if
1230         RES_USE_DNSSEC is set.
1231         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1233 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1235         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1237 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1239         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1240         201304L, for Unicode 7.
1242 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1244         [BZ #17836]
1245         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1246         shared library.  Add gmon-start.os otherwise.
1247         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1248         $(objpfx)gmon-start.os if builing shared library.
1249         ($(objpfx)g$(static-start-installed-name)): Likewise.
1251 2015-02-23  Andreas Schwab  <schwab@suse.de>
1253         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1255 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1257         [BZ #17269]
1258         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1259         (enlarge_userbuf): Likewise.
1261 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1263         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1264         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1265         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1266         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1268 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1270         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1271         expression inside statement expression.
1273 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1275         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1276         <sysdeps/nptl/lowlevellock.h> and remove macros and
1277         functions that are now defined there.
1278         (SYS_futex): Remove.
1279         (lll_compare_and_swap): Remove.
1280         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1282 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1284         [BZ #17999]
1285         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1286         instead of scandirat.
1287         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1288         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1289         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1290         __scandirat.
1291         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1292         (__scandirat): Declare.  Use libc_hidden_proto.
1293         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1294         Remove variable.
1295         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1297 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1299         [BZ #15319]
1300         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1301         (MO): New macro.
1302         (__ieee754_atan2): For results with small absolute value, force
1303         underflow exception and remove excess range and precision from
1304         return value.
1305         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1306         (MO): New macro.
1307         (__ieee754_atan2f): For results with small absolute value, force
1308         underflow exception and remove excess range and precision from
1309         return value.
1310         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1311         (MO): New macro.
1312         (__atan): For results with small absolute value, force underflow
1313         exception and remove excess range and precision from return value.
1314         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1315         (MO): New macro.
1316         (__atanf): For results with small absolute value, force underflow
1317         exception and remove excess range and precision from return value.
1318         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1319         <math.h>.
1320         (__ieee754_atan2): Force underflow exception for results with
1321         small absolute value.
1322         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1323         <math_private.h>.
1324         (atan): Force underflow exception for results with small absolute
1325         value.
1326         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1327         (__atanf): Force underflow exception for results with small
1328         absolute value.
1329         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1330         <math.h>.
1331         (__atanl): Force underflow exception for results with small
1332         absolute value.
1333         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1334         (__atanl): Force underflow exception for results with small
1335         absolute value.
1336         * sysdeps/x86/fpu/bits/mathinline.h
1337         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1338         (__ieee754_atan2): Only define inline for long double.
1339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1340         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1341         * math/auto-libm-test-in: Do not mark underflow exceptions as
1342         possibly missing for bug 15319.  Add more tests of atan2.
1343         * math/auto-libm-test-out: Regenerated.
1344         * math/libm-test.inc (casin_test_data): Do not mark underflow
1345         exceptions as possibly missing for bug 15319.
1346         (casinh_test_data): Likewise.
1347         * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1351         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1352         * sysdeps/mips/bits/endian.h: Fix comments.
1354 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1356         [BZ #17996]
1357         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1358         (hdestroy_r): Likewise.
1359         (hsearch_r): Likewise.
1360         (__hcreate_r): Declare and use libc_hidden_proto.
1361         (__hdestroy_r): Likewise.
1362         (__hsearch_r): Likewise.
1363         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1364         (hcreate): Call __hcreate_r instead of hcreate_r.
1365         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1366         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1367         as weak alias of __hcreate_r.
1368         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1369         __hdestroy_r.
1370         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1371         __hsearch_r.
1372         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1373         Remove variable.
1374         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1375         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1376         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1377         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1379 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1381         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1382         arena_lock into a single arena_get.
1384 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1386         * dl-reloc.c: Inlucde libc-internal.h.
1387         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1388         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1389         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1390         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1391         (grow_heap): Likewise.
1392         * malloc/malloc.c: Include libc-internal.h.
1393         (do_check_malloc): Call powerof2.
1394         (sysmalloc): Use pagesize. Call ALIGN_UP.
1395         (systrim): Use pagesize.
1396         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1397         (__libc_valloc): Use pagesize.
1398         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1400 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1402         [BZ #17991]
1403         * include/sys/resource.h (__getrlimit64): Declare.  Use
1404         libc_hidden_proto.
1405         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1406         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1407         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1408         getrlimit64.
1409         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1410         __getrlimit64.
1411         [!getrlimit64] (getrlimit64): Define as weak alias of
1412         __getrlimit64.  Use libc_hidden_weak.
1413         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1414         using __getrlimit64 not __new_getrlimit64.
1415         (__GI_getrlimit64): Likewise.
1416         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1417         Likewise.
1418         (__GI_getrlimit64): Likewise.
1419         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1421         (getrlimit): Add __getrlimit64 alias.
1422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1423         Likewise.
1424         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1425         Remove variable.
1426         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1427         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1429 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1431         * libio/fileops.c: Add missing sys/mman.h
1432         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1434 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1436         * manual/math.texi (Errors in Math Functions): Clarify goals
1437         regarding inexact and underflow exceptions.
1439 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1441         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1442         * sysdeps/mips/memset.S: Ditto.
1444 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1446         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1448 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1450         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1451         (__v1longjmp): Remove versioned symbol.
1452         (__v1siglongjmp): Remove alias and versioned symbol.
1453         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1454         (__v2siglongjmp): Likewise.
1456 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1458         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1460 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1462         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1464 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1466         [BZ #17987]
1467         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1468         zero result does not depend on the sign resulting from
1469         subtraction.
1470         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1471         Likewise.
1472         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1473         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1474         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1475         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1476         * math/libm-test.inc (remquo_test_data): Add more tests.
1478 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1480         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1481         Problem reported by J William Piggott.
1483 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1485         [BZ #17978]
1486         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1487         products 4 * y and 2 * y where those would overflow.
1488         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1489         Likewise.
1490         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1491         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1492         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1493         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1494         * math/libm-test.inc (remquo_test_data): Add more tests.
1496         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1498         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1499         [defined _COMPILING_NEWLIB].
1500         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1501         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1503         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1504         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1506 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1508         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1509         acquired.
1511 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1513         [BZ #17792]
1514         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1515         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1516         HOST_STACK_END_ADDR): Likewise.
1518 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1520         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1521         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1522         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1524 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1526         * sysdeps/generic/c++-types.data: New file.
1527         * sysdeps/generic/ld.abilist: New file.
1528         * sysdeps/generic/libBrokenLocale.abilist: New file.
1529         * sysdeps/generic/libanl.abilist: New file.
1530         * sysdeps/generic/libc.abilist: New file.
1531         * sysdeps/generic/libcrypt.abilist: New file.
1532         * sysdeps/generic/libdl.abilist: New file.
1533         * sysdeps/generic/libm.abilist: New file.
1534         * sysdeps/generic/libpthread.abilist: New file.
1535         * sysdeps/generic/libresolv.abilist: New file.
1536         * sysdeps/generic/librt.abilist: New file.
1538 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1540         [BZ #17569]
1541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1542         Compute absolute value of x as modified by fmod, not original
1543         value of x.
1544         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1545         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1546         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1547         RUN_TEST_ffI_f1_mod8.
1548         (remquo_test_data): Add more tests.
1550 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1552         * sysdeps/init_array/pt-crti.S: New file.
1554 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #17967]
1557         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1558         __builtin_fmaf instead of relying on contraction of a * b + c.
1560 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1562         [BZ #17969]
1563         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1564         node.
1566 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1568         [BZ #17964]
1569         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1570         __builtin_fma instead of relying on contraction of a * b + c.
1572 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1574         * Makeconfig (ASFLAGS): Add -Werror=undef.
1575         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1576         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1577         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1579         * Makeconfig (after-link): New variable.
1580         (+link-pie, +link-pie-tests): Use it.
1581         (+link-static, +link-static-tests): Likewise.
1582         (+link, +link-tests): Likewise.
1583         * Makerules (build-module, build-module-asneeded): Likewise.
1584         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1585         Likewise.
1586         * elf/Makefile ($(objpfx)ld.so): Likewise.
1588 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1590         [BZ #17965]
1591         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1592         both struct timeval and struct timespec.
1594 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1596         [BZ #16560]
1597         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1598         and redefine.
1599         (__ieee754_exp2l): Do not multiply small fractional parts by
1600         M_LN2l.
1601         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1602         small argument.
1603         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1604         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1605         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1606         * math/auto-libm-test-in: Add more tests of exp2.
1607         * math/auto-libm-test-out: Regenerated.
1609 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1611         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1612         unaligned path.
1614 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1616         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1617         little endian.
1619 2015-02-12  Andreas Schwab  <schwab@suse.de>
1621         [BZ #15790]
1622         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1623         Filter out elision flags from value returned in kind.
1624         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1625         * nptl/tst-pthread-mutexattr.c: New file.
1627 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1629         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1630         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1631         into gnu-gnu, and update comment to refer to abi-tags.
1633 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1635         [BZ #15467]
1636         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1637         (__sincos): Set errno to EDOM for infinite argument.
1638         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1639         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1640         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1641         (__sincosl): Set errno to EDOM for infinite argument.
1642         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1643         (__sincosl): Set errno to EDOM for infinite argument.
1644         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1645         (__sincosl): Set errno to EDOM for infinite argument.
1646         * math/libm-test.inc (sincos_test_data): Test errno setting.
1648 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1650         * string/strxfrm_l.c: Remove #define STRCMP.
1651         * string/strcoll_l.c: Remove #define STRLEN.
1652         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1653         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1655 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1657         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1658         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1659         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1660         * sysdeps/mips/mips64/Makefile: ... here.
1661         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1662         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1663         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1664         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1665         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1666         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1667         * sysdeps/mips/mips64/n64/Implies: Likewise.
1669 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1671         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1672         <sys/time.h>, <string.h>, and <errno.h>.
1673         (dest_offset, dest_address, value, zero): Remove unused variables.
1674         (ldouble): Remove typedef.
1675         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1676         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1677         1).  Fix code style.
1678         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1679         (check): Function removed.
1680         (CHECK): New macro.
1681         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1682         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1683         Don't call set_sigaction_FP and remove_sigaction_FP here.
1684         (ldouble_test): Just use 'long double' as macro argument, no need for
1685         the 'ldouble' typedef.
1686         (do_test): Set up SIGFPE handler at start, using plain signal rather
1687         than sigaction.  Fix code style.
1689 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1691         [BZ #17949]
1692         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1693         jump label.
1695 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1697         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1698         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1700         * sysdeps/powerpc/configure.ac: Remove file.
1701         * sysdeps/powerpc/configure: Likewise.
1703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1704         [sysdep_routines]: Remove wordcopy-power6 object.
1705         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1706         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1708         (__memmove_ppc32): Likewise.
1709         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1710         file.
1711         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1713         Remove preprocessor.
1715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1716         [sysdep_routines]: Remove wide chars objects.
1717         [wcsmbs]: New rule for wide char objects.
1719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1720         Remove wordcopy-power6 obejct.
1721         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1722         Use local call for wordcopy and memcpy symbols.
1723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1725         implementation for loader.
1726         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1729         Remove wordcopy-power7 object.
1730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1731         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1732         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1733         (_wordcopy_fwd_dest_aligned): Likewise.
1734         (_wordcopy_bwd_aligned): Likewise.
1735         (_wordcopy_bwd_dest_aligned): Likewise.
1737         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1738         Rewrite to call __memmove_ppc instead of include default
1739         implementation.
1741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1742         Remove wide chars objects.
1743         [wcsmbs]: New rule for wide char objects.
1745 2015-02-09  Andreas Schwab  <schwab@suse.de>
1747         [BZ #17912]
1748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1749         in terms of __O_DIRECTORY.
1751 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1753         * time/getdate.c: Include <stdbool.h>.
1754         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1755         call PTR_MANGLE.
1756         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1757         PTR_DEMANGLE.
1759 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1761         Add ersatz _Static_assert on older C hosts
1762         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1763         pre-C11 C platform that is not known to support _Static_assert.
1765 2015-02-07  Richard Braun  <rbraun@sceen.net>
1767         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1768         sigstate.
1769         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1771 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1773         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1774         priority against unexistent AIO_PRIO_DELTA_MAX.
1775         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1776         instead of int.
1777         * misc/fchflags.c (fchflags): Likewise.
1778         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1779         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1780         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1781         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1782         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1783         Declare macros.
1784         [__USE_MISC] (chflags, fchflags): Declare functions.
1785         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1786         EINVAL when nfds is greater than FD_SETSIZE.
1787         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1788         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1789         45.
1790         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1791         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1792         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1793         MACH_RCV_TIMED_OUT.
1794         * hurd/hurd/signal.h (_hurd_self_sigstate,
1795         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1796         Explicit casts from void *.
1797         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1798         * abi-tags: Rename gnu-gnu os into gnu.
1800         [BZ #4719]
1801         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1802         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1803         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1804         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1805         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1806         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1808         [BZ #17944]
1809         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1810         duplicates ADDR->sun_path with sockaddr LEN limitation.
1811         * sysdeps/mach/hurd/connect.c: Include <string.h>
1812         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1813         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1814         * sysdeps/mach/hurd/sendto.c: Likewise.
1815         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1816         implementing it by hand.
1818 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1820         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1821         Use sfi_breg on ldr.
1822         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1823         Likewise.
1825         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1826         it's defined.
1827         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1828         Test SIGSETXID only if it's defined.
1830         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1832         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1833         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1835         * nptl/tst-align2.c: Moved ...
1836         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1837         * nptl/Makefile (tests): Remove tst-align2.
1838         * sysdeps/unix/sysv/linux/Makefile
1839         [$(subdir) = nptl] (tests): Add tst-align-clone.
1840         * nptl/tst-getpid1.c: Moved ...
1841         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1842         * nptl/tst-getpid2.c: Moved ...
1843         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1844         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1845         * sysdeps/unix/sysv/linux/Makefile
1846         [$(subdir) = nptl] (tests): ... here.
1847         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1848         * sysdeps/unix/sysv/linux/Makefile
1849         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1851         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1852         Drop trailing \n from perror argument.  Use return rather than exit.
1854         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1855         on [SA_SIGINFO].
1856         * nptl/tst-cancel21.c (do_test): Likewise.
1857         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1858         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1859         [!SA_SIGINFO]: Make it a stub test.
1861         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1862         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1864         * posix/tst-getlogin.c: Move to ...
1865         * login/tst-getlogin.c: ... here.
1866         * posix/Makefile (tests): Move tst-getlogin to ...
1867         * login/Makefile (tests): ... here.
1869         * libio/tst-atime.c (do_test): Move local variables SV and E
1870         inside [ST_NOATIME] conditional.
1872         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1874         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1876         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1877         (wait_code): New function replaces macro.
1878         Call nanosleep rather than syscall.
1880         * nptl/pt-system.c: Rewritten.  Put everything under
1881         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1882         Use IFUNC to redirect when possible.
1884         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1885         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1886         Use IFUNC to redirect when possible.
1888         * nptl/pt-fork.c: Rewritten.  Put everything under
1889         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1890         Use IFUNC to redirect when possible.
1891         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1893         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1894         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1895         unconditionally nowadays.  This included the only reference to
1896         __vdso_clock_gettime that appears outside libc proper.
1897         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1898         Remove version set (containing only __vdso_clock_gettime).
1899         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1900         Add attribute_hidden.
1901         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1902         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1903         libc_hidden_data_def.
1904         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1905         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1907         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1908         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1909         setrpcent, and getrpcport to ...
1910         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1911         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1912         getrpcbynumber_r, and getrpcent_r to ...
1913         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1914         * inet/getrpcbyname.c: Moved ...
1915         * sunrpc/getrpcbyname.c: ... here.
1916         * inet/getrpcbyname_r.c: Moved ...
1917         * sunrpc/getrpcbyname_r.c: ... here.
1918         * inet/getrpcbynumber.c: Moved ...
1919         * sunrpc/getrpcbynumber.c: ... here.
1920         * inet/getrpcbynumber_r.c: Moved ...
1921         * sunrpc/getrpcbynumber_r.c: ... here.
1922         * inet/getrpcent.c: Moved ...
1923         * sunrpc/getrpcent.c: ... here.
1924         * inet/getrpcent_r.c: Moved ...
1925         * sunrpc/getrpcent_r.c: ... here.
1926         * inet/Makefile (routines): Move those to ...
1927         * sunrpc/Makefile (routines): ... here.
1928         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1929         the $(subdirs) list.
1930         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1931         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1932         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1933         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1935         * elf/Makefile (routines): Include $(all-dl-routines), not just
1936         $(dl-routines).
1937         (rtld-routines): Likewise.  Use = rather than :=.
1938         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1939         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1940         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1941         * sysdeps/arm/Makefile: Likewise.
1942         * sysdeps/i386/Makefile: Likewise.
1943         * sysdeps/x86_64/Makefile: Likewise.
1944         * sysdeps/hppa/Makefile [$(subdir) = elf]
1945         (sysdep_routines, sysdep-rtld-routines): Don't add
1946         $(sysdep-dl-routines) to these.
1947         * sysdeps/ia64/Makefile: Likewise.
1948         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1949         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1950         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1951         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1952         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1953         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1954         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1955         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1956         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1957         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1958         these; sysdep-dl-routines alone is enough.
1960 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1962         [BZ #17932]
1963         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1964         where multiplication results in zero and third argument is finite
1965         and nonzero.
1966         * math/auto-libm-test-in: Add more tests of fma.
1967         * math/auto-libm-test-out: Regenerated.
1969         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1970         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1971         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1972         (_FP_CMP_EQ): Likewise.
1973         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1975         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1976         extra argument CHECK_NAN.  Redefine as wrapper around
1977         _FP_EXTEND_CNAN.
1979 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1981         * version.h (RELEASE): Set to "stable".
1982         (VERSION): Set to "2.21"
1983         * include/features.h (__GLIBC_MINOR__): Set to 21.
1985         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1987 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1988             Paul Eggert  <eggert@cs.ucla.edu>
1990         [BZ #16618]
1991         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1992         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1993         size in bytes. Store needed elements in wpmax. Use needed size
1994         in bytes for extend_alloca.
1996 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1998         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1999         binutls 2.25, and texinfo 5.2.
2000         * INSTALL: Regenerate.
2001         * sysdeps/nios2/configure: Regenerate.
2002         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2003         * manual/contrib.texi: Update.
2004         * po/be.po: Update.
2005         * po/bg.po: Update.
2006         * po/ca.po: Update.
2007         * po/cs.po: Update.
2008         * po/da.po: Update.
2009         * po/de.po: Update.
2010         * po/el.po: Update.
2011         * po/eo.po: Update.
2012         * po/es.po: Update.
2013         * po/fi.po: Update.
2014         * po/fr.po: Update.
2015         * po/gl.po: Update.
2016         * po/hr.po: Update.
2017         * po/hu.po: Update.
2018         * po/ia.po: Update.
2019         * po/id.po: Update.
2020         * po/it.po: Update.
2021         * po/ja.po: Update.
2022         * po/ko.po: Update.
2023         * po/lt.po: Update.
2024         * po/nb.po: Update.
2025         * po/nl.po: Update.
2026         * po/pl.po: Update.
2027         * po/pt_BR.po: Update.
2028         * po/ru.po: Update.
2029         * po/rw.po: Update.
2030         * po/sk.po: Update.
2031         * po/sl.po: Update.
2032         * po/sv.po: Update.
2033         * po/tr.po: Update.
2034         * po/uk.po: Update.
2035         * po/vi.po: Update.
2036         * po/zh_CN.po: Update.
2037         * po/zh_TW.po: Update.
2039         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2040         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2041         * sysdeps/hppa/dl-irel.h: Remove #warning.
2042         * sysdeps/hppa/entry.h: Provide prototype for
2043         __canonicalize_funcptr_for_compare and cast argument.
2044         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2045         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2046         * sysdeps/hppa/sotruss-lib.c: New file.
2047         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2048         (atomic_compare_and_exchange_val_acq): Use __typeof__.
2049         (atomic_compare_and_exchange_bool_acq): Likewise.
2050         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2051         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2053         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2054         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2055         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2057 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2059         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2060         called function in non-PIC case.
2062 2015-01-31  David S. Miller  <davem@davemloft.net>
2064         * sysdeps/sparc/sparc32/bits/atomic.h
2065         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2066         unlock not after it.
2067         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2068         volatile register usage warnings from the compiler.
2070         * sysdeps/sparc/nptl/sem_init.c: Delete.
2071         * sysdeps/sparc/nptl/sem_post.c: Delete.
2072         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2073         * sysdeps/sparc/nptl/sem_wait.c: Delete.
2074         * sysdeps/sparc/sparc32/sem_init.c: New file.
2075         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2076         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2077         padding explicitly initialized.
2078         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2079         padding for in-semaphore spinlock.
2080         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2081         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2082         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2083         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2084         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2085         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2086         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2087         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2088         version.
2089         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2090         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2092 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2094         [BZ #17801]
2095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2096         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2097         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2098         New.
2099         (index_AVX_Fast_Unaligned_Load): Likewise.
2100         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2101         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2102         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2103         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2104         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2105         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2106         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2107         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2108         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2110 2015-01-29  Andreas Schwab  <schwab@suse.de>
2112         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2114 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
2116         [BZ #17892]
2117         * nscd/nscd_stat.c (send_stats): Initialize DATA.
2119 2015-01-28  Martin Sebor  <msebor@redhat.com>
2121         * math/README.libm-test: Clarify. Add "How to read the test output."
2123 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
2125         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2126         Define to 0.
2128 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
2130         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2131         (__HAVE_64B_ATOMICS): Define to 0.
2133 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2135         [BZ #17885]
2136         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2137         value to set as new flag.
2139         [BZ #16576]
2140         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2141         and use _ARCH_PPCSQ instead.
2142         (__ieee754_sqrt): Likewise.
2143         (__ieee754_sqrtf): Likewise.
2144         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2145         _ARCH_PPCSQ is defined.
2146         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2147         fsqrt instruction.
2148         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2149         _ARCH_PPCSQ is defined.
2150         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2151         fsqrts instruction.
2152         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2154 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2156         * iconv/loop.c: Suppress array out of bound warning caused by GCC
2157         bug (GCC BZ #64739).
2159 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2161         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2162         Mark _retval as used.
2163         (lll_futex_wake_unlock): Likewise.
2164         (lll_futex_timed_wait_requeue_pi): Likewise.
2166         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2167         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2168         register variables.
2170         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2171         libm_hidden_def.
2173         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2174         (__bswap_64): Mark as __always_inline.
2176 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
2178         [BZ #15378]
2179         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2180         when none of the search directories exist.
2182 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2184         [BZ #17869]
2185         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2186         power8 in .machine directive.
2188         [BZ #17868]
2189         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2190         set dependency from opd value.
2192 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2195         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2196         architecture.
2198 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2200         [BZ #17870]
2201         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2202         with uint64_t.
2203         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2204         (uint64_t) 1.
2205         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2206         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2207         Replace 1UL with (uint64_t) 1.
2208         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2209         int with uint64_t.
2211 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2213         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2214         (if_freenameindex): Likewise.
2216         * resource/getrlimit64.c: Add missing libc_hidden_def.
2218 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2220         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2221         __label__.
2222         (_FP_FMA): Likewise.
2223         (_FP_TO_INT_ROUND): Likewise.
2224         (_FP_FROM_INT): Likewise.
2226 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2228         [BZ #16418]
2229         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2230         Make code racy and cancel safe.
2232 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2234         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2235         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2236         attribution.
2238         * pwd/tst-getpw.c: Rewrite.
2240         [BZ #17702]
2241         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2242         (modules-names): Add moddummy1 and moddummy2.
2243         ($(objpfx)tst-rec-dlopen): Define.
2244         * dlfcn/moddummy1.c: New file.
2245         * dlfcn/moddummy2.c: New file.
2246         * dlfcn/tst-rec-dlopen.c: New file.
2247         * elf/dl-cache.c (_dl_load_cache_lookup):
2248         Return char*. Copy result with alloca/strcpy/strdup.
2249         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2250         returns char*. Free cached. If not saving realname
2251         free cached.
2252         * elf/dl-open.c (dl_open_worker): Do not assert that
2253         _r_debug->r_state is RT_CONSISTENT.
2254         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2255         returns char*.
2257 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2258             Carlos O'Donell  <carlos@redhat.com>
2260         [BZ #12674]
2261         * nptl/sem_waitcommon.c: New file.
2262         * nptl/sem_wait.c: Include sem_waitcommon.c.
2263         (__sem_wait_cleanup, do_futex_wait): Remove.
2264         (__new_sem_wait): Adapt.
2265         (__new_sem_trywait): New function.
2266         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2267         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2268         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2269         (sem_timedwait): Adapt.
2270         * nptl/sem_post.c (__new_sem_post): Adapt.
2271         (futex_wake): New function.
2272         (__old_sem_post): Add release MO fence.
2273         * nptl/sem_open.c (sem_open): Adapt.
2274         * nptl/sem_init.c (__new_sem_init): Adapt.
2275         (futex_private_if_supported): New function.
2276         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2277         (__old_sem_getvalue): Add using previous code.
2278         * sysdeps/nptl/internaltypes.h: Adapt.
2279         * nptl/tst-sem13.c (do_test): Adapt.
2280         * nptl/tst-sem11.c (main): Adapt.
2281         * nptl/sem_trywait.c: Remove.
2282         * nptl/DESIGN-sem.txt: Remove.
2283         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2284         (gen-as-const-headers): Remove structsem.sym.
2285         * nptl/structsem.sym: Remove.
2286         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2287         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2288         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2289         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2290         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2291         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2292         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2293         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2294         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2295         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2296         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2297         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2298         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2299         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2300         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2301         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2302         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2303         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2304         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2305         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2306         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2307         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2309 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2311         * INSTALL: Regenerated.
2313         * po/libc.pot: Regenerated.
2315 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2316             Sandra Loosemore  <sandra@codesourcery.com>
2317             Andrew Jenner  <andrew@codesourcery.com>
2318             Joseph Myers  <joseph@codesourcery.com>
2319             Nathan Sidwell  <nathan@codesourcery.com>
2321         * NEWS: Mention new Nios II port.
2322         * sysdeps/nios2/Implies: New file.
2323         * sysdeps/nios2/Makefile: New file.
2324         * sysdeps/nios2/Subdirs: New file.
2325         * sysdeps/nios2/Versions: New file.
2326         * sysdeps/nios2/__longjmp.S: New file.
2327         * sysdeps/nios2/abort-instr.h: New file.
2328         * sysdeps/nios2/backtrace.c: New file.
2329         * sysdeps/nios2/bits/endian.h: New file.
2330         * sysdeps/nios2/bits/fenv.h: New file.
2331         * sysdeps/nios2/bits/link.h: New file.
2332         * sysdeps/nios2/bits/setjmp.h: New file.
2333         * sysdeps/nios2/bsd-_setjmp.S: New file.
2334         * sysdeps/nios2/bsd-setjmp.S: New file.
2335         * sysdeps/nios2/configure: New generated file.
2336         * sysdeps/nios2/configure.ac: New file.
2337         * sysdeps/nios2/crti.S: New file.
2338         * sysdeps/nios2/crtn.S: New file.
2339         * sysdeps/nios2/dl-init.c: New file.
2340         * sysdeps/nios2/dl-machine.h: New file.
2341         * sysdeps/nios2/dl-sysdep.h: New file.
2342         * sysdeps/nios2/dl-tls.h: New file.
2343         * sysdeps/nios2/dl-trampoline.S: New file.
2344         * sysdeps/nios2/gccframe.h: New file.
2345         * sysdeps/nios2/gmp-mparam.h: New file.
2346         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2347         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2348         * sysdeps/nios2/ldsodefs.h: New file.
2349         * sysdeps/nios2/libc-tls.c: New file.
2350         * sysdeps/nios2/libm-test-ulps: New file.
2351         * sysdeps/nios2/machine-gmon.h: New file.
2352         * sysdeps/nios2/math-tests.h: New file.
2353         * sysdeps/nios2/math_private.h: New file.
2354         * sysdeps/nios2/memusage.h: New file.
2355         * sysdeps/nios2/nptl/Makefile: New file.
2356         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2357         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2358         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2359         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2360         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2361         * sysdeps/nios2/nptl/tls.h: New file.
2362         * sysdeps/nios2/preconfigure: New file.
2363         * sysdeps/nios2/s_fma.c: New file.
2364         * sysdeps/nios2/s_fmaf.c: New file.
2365         * sysdeps/nios2/setjmp.S: New file.
2366         * sysdeps/nios2/sfp-machine.h: New file.
2367         * sysdeps/nios2/sotruss-lib.c: New file.
2368         * sysdeps/nios2/stackguard-macros.h: New file.
2369         * sysdeps/nios2/stackinfo.h: New file.
2370         * sysdeps/nios2/start.S: New file.
2371         * sysdeps/nios2/sysdep.h: New file.
2372         * sysdeps/nios2/tls-macros.h: New file.
2373         * sysdeps/nios2/tst-audit.h: New file.
2374         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2375         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2376         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2377         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2378         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2379         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2380         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2381         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2382         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2383         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2384         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2385         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2386         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2387         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2388         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2389         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2390         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2391         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2392         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2393         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2394         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2395         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2396         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2397         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2398         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2399         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2400         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2401         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2402         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2403         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2404         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2405         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2406         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2407         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2408         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2409         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2410         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2411         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2412         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2413         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2414         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2415         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2416         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2417         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2419 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2421         [BZ #17844]
2422         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2423         (getutent): Use weak_alias in non SHARED case
2424         and default_symbol_version in SHARED case.
2425         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2426         (getutent_r, pututline): Likewise.
2427         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2428         (getutid): Likewise.
2429         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2430         (getutid_r): Likewise.
2431         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2432         (getutline): Likewise.
2433         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2434         (getutline_r): Likewise.
2435         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2436         (updwtmp): Likewise.
2438 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2440         [BZ #17848]
2441         * sysdeps/s390/s390-32/memcmp.S
2442         (memcmp_g5): Rename to __memcmp_g5.
2443         * sysdeps/s390/s390-32/memcpy.S
2444         (memcpy_g5): Rename to __memcpy_g5.
2445         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2446         (memcpy_mvcle) Rename to __memcpy_mvcle.
2447         * sysdeps/s390/s390-32/memset.S
2448         (memset_g5): Rename to __memset_g5.
2449         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2450         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2451         and use prefixed functions.
2452         * sysdeps/s390/s390-32/multiarch/memcmp.S
2453         (memcmp_z196): Rename to __memcmp_z196.
2454         (memcmp_z10): Rename to __memcmp_z10.
2455         (memcmp): Set alias to __memcmp_g5.
2456         (bcmp): Set alias to __memcmp_g5.
2457         * sysdeps/s390/s390-32/multiarch/memcpy.S
2458         (memcpy_z196): Rename to __memcpy_z196.
2459         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2460         (memcpy_z10): Rename to __memcpy_z10.
2461         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2462         (memcpy): Set alias to __memcpy_g5.
2463         * sysdeps/s390/s390-32/multiarch/memset.S
2464         (memset_z196): Rename to __memset_z196.
2465         Jump to __memset_mvcle instead of memset_mvcle.
2466         (memset_z10): Rename to __memset_z10.
2467         Jump to __memset_mvcle instead of memset_mvcle.
2468         (memset_mvcle) Rename to __memset_mvcle.
2469         (memset): Set alias to __memset_g5.
2470         * sysdeps/s390/s390-64/memcmp.S
2471         (memcmp_z900): Rename to __memcmp_z900.
2472         * sysdeps/s390/s390-64/memcpy.S
2473         (memcpy_z900): Rename to __memcpy_z900.
2474         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2475         (memcpy_mvcle) Rename to __memcpy_mvcle.
2476         * sysdeps/s390/s390-64/memset.S
2477         (memset_z900): Rename to __memset_z900.
2478         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2479         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2480         and use prefixed functions.
2481         * sysdeps/s390/s390-64/multiarch/memcmp.S
2482         (memcmp_z196): Rename to __memcmp_z196.
2483         (memcmp_z10): Rename to __memcmp_z10.
2484         (memcmp): Set alias to __memcmp_z900.
2485         (bcmp): Set alias to __memcmp_z900.
2486         * sysdeps/s390/s390-64/multiarch/memcpy.S
2487         (memcpy_z196): Rename to __memcpy_z196.
2488         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2489         (memcpy_z10): Rename to __memcpy_z10.
2490         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2491         (memcpy): Set alias to __memcpy_z900.
2492         * sysdeps/s390/s390-64/multiarch/memset.S
2493         (memset_z196): Rename to __memset_z196.
2494         Jump to __memset_mvcle instead of memset_mvcle.
2495         (memset_z10): Rename to __memset_z10.
2496         Jump to __memset_mvcle instead of memset_mvcle.
2497         (memset_mvcle) Rename to __memset_mvcle.
2498         (memset): Set alias to __memset_z900.
2500 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2502         [BZ #17748]
2503         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2504         __fesetenv instead of fesetenv.
2506 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2508         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2509         macro.
2511 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2513         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2514         regression on LE.
2516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2517         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2519         strncmp-power8 object.
2520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2521         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2522         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2523         * NEWS: Update.
2525 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2526             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2528         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2529         trailing byte check.
2531 2015-01-13  David S. Miller  <davem@davemloft.net>
2533         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2535 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2537         * login/logout.c (logout): Use memset rather than bzero.
2538         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2539         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2540         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2541         (_gethtbyaddr): Likewise.
2542         * locale/programs/simple-hash.c (bcopy): Macro removed.
2544 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2547         Add strcmp-power8 object.
2548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2549         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2550         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2551         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2552         __strcmp_power8 implementation.
2553         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2554         * NEWS: Update.
2556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2557         Add strncpy-power8 and stpncpy-power8 objects.
2558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2559         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2560         implementations.
2561         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2562         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2563         __stpncpy_power8 implementation.
2564         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2565         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2566         __strncpy_power8 implementation.
2567         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2568         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2569         * NEWS: Update.
2571         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2572         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2573         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2576         strncat-power8 object.
2577         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2578         __strcat_power8 implementation.
2579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2580         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2581         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2582         optimized strcat for power8.
2584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2585         strcpy-power8 and stpcpy-power8 objects.
2586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2587         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2588         implementations.
2589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2590         multiarch stpcpy implementation for POWER8.
2591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2592         multiarch strcpy implementation for POWER8.
2593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2594         __strcpy_power8 function.
2595         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2596         stpcpy for POWER8.
2597         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2598         strcpy for POWER8.
2599         * NEWS: Update.
2601 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2603         [BZ #16009]
2604         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2605         weights and rules. Use do_xfrm_cached if data fits in cache,
2606         do_xfrm otherwise.  Moved former main loop to...
2607         * (do_xfrm_cached): New function.
2608         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2609         find_idx, find_position and stack_push.
2610         * (find_idx): New function.
2611         * (find_position): Likewise.
2612         * localedata/sort-test.sh: Added test run for do_xfrm.
2613         * localedata/xfrm-test.c (main): Added command line option
2614         -nocache to run the test with strings that are too large for
2615         the STRXFRM cache.
2617 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2619         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2620         variable to lll_futex_wake call, not the value itself.
2622 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #17803]
2625         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2626         twom64.  Adjust value to 0x1p-64L.
2627         (__scalblnl): Only return standard underflowing result for K <=
2628         -64 not K <= -63; adjust exponent for underflowing result by 64
2629         not 63.
2630         * math/libm-test.inc (scalbn_test_data): Add more tests.
2631         (scalbln_test_data): Likewise.
2633         [BZ #17834]
2634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2635         0x1p63L.
2636         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2637         not HX.
2638         * math/libm-test.inc (scalbn_test_data): Add more tests.
2639         (scalbln_test_data): Likewise.
2641 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2642             Stefani Seibold  <stefani@seibold.net>
2644         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2645         (sysdep_routines): Add dl-vdso here, ...
2646         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2647         (sysdep_routines): ... not here.
2648         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2649         fallback when vDSO is not presented.
2650         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2651         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2652         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2653         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2654         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2655         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2656         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2657         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2658         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2660         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2661         fallback configurable symbol when vDSO is not available.
2662         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2663         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2664         be able to redefine fallback symbol when vDSO is not available.
2665         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2666         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2668 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2670         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2671         (TLS_INIT_TP): Add tm_capable initialization.
2672         (TLS_DEFINE_INIT_TP): Likewise.
2673         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2674         TCB.
2675         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2676         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2677         calculation.
2678         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2679         transactoion is lock elision is built and TCB tm_capable is set.
2680         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2682         (INTERNAL_SYSCALL_NCS): Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2684         (INTERNAL_SYSCALL_NCS): Likewise.
2685         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2687         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2688         for powerpc.
2689         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2690         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2691         and remove it for 32 bits case.
2692         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2694         initialization.
2695         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2696         Disable lock elision with rdlocks if elision is not available.
2698         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2699         (sysdep_routines): Add lock elision objects.
2700         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2701         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2702         [pthread_mutex_t] (__elision): Add field.
2703         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2704         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2705         elision definitions for powerpc.
2706         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2707         implementation of lock elision for powerpc.
2708         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2709         implementation of timed lock elision for powerpc.
2710         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2711         implementation of trylock with lock elision for powerpc.
2712         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2713         implementaion of unlock for lock elision for powerpc.
2714         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2715         automatic enable lock elision for mutexes.
2716         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2717         transaction execution definitions for powerpc.
2718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2719         definitions.
2720         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2721         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2722         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2723         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2724         * NEWS: Update.
2726 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2728         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2729         for #include of <shm-directory.h>.
2731 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2734         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2736 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2738         [BZ #17791]
2739         * NEWS: Mention bug fix.
2740         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2741         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2742         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2744 2015-01-09  Torvald Riegel <triegel@redhat.com>
2746         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2748 2015-01-09  Torvald Riegel <triegel@redhat.com>
2750         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2752 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2754         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2755         pointer and cast to uintptr_t.
2757 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2759         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2760         removed.
2761         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2763 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2765         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2766         of 0.
2768 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2770         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2771         <nptl/pthreadP.h> instead.
2772         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2774         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2775         already defined.
2776         [__SIGRTMIN] (init): Function removed.
2777         [__SIGRTMIN] (initialized): Variable removed.
2778         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2779         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2780         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2781         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2782         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2783         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2784         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2785         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2786         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2787         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2788         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2789         * sysdeps/nptl/allocrtsig.c: New file.
2790         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2791         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2792         * sysdeps/generic/testrtsig.h: File removed.
2794         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2795         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2797         * nptl/nptl-init.c (pthread_functions): Conditionalize
2798         .ptr__nptl_setxid initialization on [SIGSETXID].
2800         * sysdeps/nptl/sys/procfs.h: New file.
2801         * nptl_db/Makefile (headers): Add it.
2802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2804         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2805         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2806         * nptl/pthread_attr_setaffinity.c: Include it.
2807         * nptl/pthread_setattr_default_np.c: Likewise.
2808         * nptl/check-cpuset.h: New file.
2810 2015-01-08  Richard Henderson  <rth@redhat.com>
2812         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2813         (CFLAGS-tst-execstack-prog.c): Likewise.
2814         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2816 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2817             Sandra Loosemore  <sandra@codesourcery.com>
2818             Andrew Jenner  <andrew@codesourcery.com>
2819             Joseph Myers  <joseph@codesourcery.com>
2820             Nathan Sidwell  <nathan@codesourcery.com>
2822         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2823         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2824         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2825         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2826         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2827         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2828         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2829         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2830         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2831         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2832         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2833         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2834         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2835         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2836         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2837         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2838         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2840 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2842         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2843         timespec struct member in syscall macro.
2844         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2845         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2846         first timeval struct member in syscall macro.
2847         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2849 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2851         [BZ #17748]
2852         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2853         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2854         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2855         __feupdateenv and define as weak alias of __feupdateenv.  Use
2856         libm_hidden_weak.
2857         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2858         libm_hidden_def.
2859         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2860         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2861         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2862         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2863         libm_hidden_def.
2864         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2865         __feupdateenv and define as weak alias of __feupdateenv.  Use
2866         libm_hidden_weak.
2867         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2868         libm_hidden_def.
2869         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2870         __feupdateenv and define as weak alias of __feupdateenv.  Use
2871         libm_hidden_weak.
2872         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2873         libm_hidden_def.
2874         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2875         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2876         (__feupdateenv): Likewise.
2877         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2878         __feupdateenv and define as weak alias of __feupdateenv.  Use
2879         libm_hidden_weak.
2880         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2881         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2882         libm_hidden_def.
2883         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2884         function.
2885         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2886         libm_hidden_def.
2887         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2888         __feupdateenv instead of feupdateenv.
2889         (default_libc_feupdateenv_test): Likewise.
2890         (libc_feresetround_ctx): Likewise.
2892 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2894         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2895         prototype.
2897 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2899         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2900         COLL_SYM in a couple of places to avoid uninitialized variable
2901         wanings on tilegx gcc 4.8.2.
2903 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2905         * sysdeps/aarch64/strcpy.S: New file.
2906         * sysdeps/aarch64/stpcpy.S: New file.
2907         * NEWS: Updated.
2909 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2911         * sysdeps/aarch64/strrchr.S: New file.
2912         * NEWS: Updated.
2914 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2916         [BZ #17658]
2917         * stdlib/setenv.c: Fix memory leak when setting large,
2918         duplicate string.
2920 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2922         [BZ #17273]
2923         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2924         and tabs from buffer before parsing fstab entry.
2925         * misc/tst-mntent.c (main): Add test for mount entry with
2926         trailing spaces and tabs.
2928 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2930         [BZ #17748]
2931         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2932         * math/fesetround.c (fesetround): Rename to __fesetround and
2933         define as weak alias of __fesetround.  Use libm_hidden_weak.
2934         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2935         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2936         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2937         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2938         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2939         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2940         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2941         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2942         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2943         __fesetround_inline.
2944         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2945         __fesetround_inline instead of __fesetround.
2946         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2947         __fesetround and define as weak alias of __fesetround.  Use
2948         libm_hidden_weak.  Call __fesetround_inline instead of
2949         __fesetround.
2950         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2951         __fesetround and define as weak alias of __fesetround.  Use
2952         libm_hidden_weak.
2953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2954         Likewise.
2955         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2957         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2958         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2959         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2960         __fesetround and define as weak alias of __fesetround.  Use
2961         libm_hidden_weak.
2962         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2963         __fesetround instead of fesetround.
2964         (default_libc_feholdexcept_setround): Likewise.
2965         (libc_feholdsetround_ctx): Likewise.
2966         (libc_feholdsetround_noex_ctx): Likewise.
2968         [BZ #17748]
2969         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2970         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2971         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2972         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2973         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2974         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2976         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2977         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2978         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2979         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2980         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2981         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2982         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2983         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2984         libm_hidden_def.
2985         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2986         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2987         Likewise.
2988         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2989         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2990         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2991         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2992         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2993         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2994         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2995         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2996         __fesetenv instead of fesetenv.
2997         (libc_feresetround_noex_ctx): Likewise.
2998         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2999         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3000         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3001         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3002         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3003         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3004         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3005         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3006         (__feupdateenv): Likewise.
3007         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3008         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3009         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3010         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3012 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3014         [BZ #17806]
3015         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3016         addresses have been freed.
3018 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3020         * resolv/res_init.c (__res_vinit): Improve comments about nserv
3021         and nservall.
3023 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
3025         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3026         Clean up check_pf allocation pattern. addresses
3028 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3030         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3031         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3032         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3033         * nptl/pthread_exit.c (__pthread_exit): Likewise.
3034         * nptl/pthread_join.c (pthread_join): Likewise.
3035         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3036         * sysdeps/posix/waitid.c (__waitid): Likewise.
3037         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3038         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3039         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3040         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3044         (__libc_pread64): Likewise.
3045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3046         (__libc_pwrite): Likewise.
3047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3048         (__libc_pwrite64): Likewsie.
3049         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3050         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3051         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3052         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3053         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3054         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3055         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3059         (__libc_pread64): Likewise.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3063         (__libc_pwrite64): Likewise.
3064         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3065         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3066         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3067         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3068         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3069         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3070         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3071         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3072         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3073         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3074         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3075         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3076         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3077         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3078         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3079         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3080         Likewise.
3082 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3084         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3085         (CFLAGS-test-double.c): Likewise.
3086         (CFLAGS-test-ldouble.c): Likewise.
3087         (CPPFLAGS-test-ifloat.c): Likewise.
3088         (CPPFLAGS-test-idouble.c): Likewise.
3089         (CPPFLAGS-test-ildoubl.c): Likewise.
3090         (CFLAGS-test-test-fenv.c): Remove variable.
3091         (CFLAGS-test-misc.c): Likewise.
3093 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
3095         [BZ #17797]
3096         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3097         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3098         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3099         CLOCKS_PER_SEC == 1000000.
3100         * time/clocktest.c (main): Replace %ld with %jd and cast to
3101         intmax_t.
3103 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3105         * sysdeps/generic/unwind-resume.h: New file.
3106         * sysdeps/gnu/unwind-resume.c: Include it.
3107         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3108         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3109         argument list.
3110         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3111         global rather than static.
3112         (_Unwind_Resume): Update user.
3113         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3114         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
3115         rather than static.  Add __attribute__ ((cold)).
3116         (_Unwind_Resume, __gcc_personality_v0): Update callers.
3117         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3118         * sysdeps/arm/arm-unwind-resume.S: New file.
3119         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3120         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3121         * sysdeps/arm/Makefile [$(subdir) = csu]
3122         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3123         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3124         Add rt-arm-unwind-resume.
3125         [$(subdir) = nptl]
3126         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3127         Add pt-arm-unwind-resume.
3128         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3129         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3131 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3133         [BZ #17748]
3134         * include/fenv.h (__feholdexcept): Declare.  Use
3135         libm_hidden_proto.
3136         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3137         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
3138         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3139         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3140         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3141         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3142         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3143         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3144         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3145         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3146         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3147         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3148         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3149         (feholdexcept): Likewise.
3150         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3151         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3152         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3153         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3154         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3155         __feholdexcept instead of feholdexcept.
3156         (default_libc_feholdexcept_setround): Likewise.
3158 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3160         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3161         to avoid using stl/str to align destination.
3163 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3165         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3167 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3169         [BZ #17796]
3170         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3171         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3172         Define as weak alias not strong alias.
3174 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3176         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3177         bltzal with addiupc.
3178         (RTLD_START): Ditto.
3180 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
3182         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3183         for __vdso_* functions in declarations.
3184         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3185         definitions.
3186         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3187         INTERNAL_VSYSCALL): Use struct return types to check for error.
3189         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3190         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3191         function with cast from llround().
3192         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3193         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3194         Define.
3196 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3198         [BZ #17793]
3199         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3200         Define as weak alias not strong alias.
3202         [BZ #17635]
3203         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3204         ...
3205         * ctype/ctype-extn.c: ... here.
3206         (__isblank_l): Move to ...
3207         * ctype/ctype-c99_l.c: ... here.  New file.
3208         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3209         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3210         Remove variable.
3211         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3212         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3213         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3214         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3215         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3217         [BZ #17777]
3218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3219         (posix_fadvise64): Define as weak alias not strong alias.
3220         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3221         (posix_fallocate64): Likewise.
3222         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3223         Remove variable.
3224         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3225         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3226         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3227         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3228         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3230 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3232         [BZ #16191]
3233         * NEWS: Mention bug fix.
3234         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3235         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3236         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3237         (HOST_STACK_END_ADDR): Likewise.
3239 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #17748]
3242         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3243         * math/fegetround.c (fegetround): Rename to __fegetround and
3244         define as weak alias of __fegetround.  Use libm_hidden_weak.
3245         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3246         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3247         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3248         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3249         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3250         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3251         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3252         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3253         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3254         Undefine after rather than before function definition; use
3255         parentheses around function name in definition.
3256         (__fegetround): Also undefine macro after function definition.
3257         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3258         __fegetround and define as weak alias of __fegetround.  Use
3259         libm_hidden_weak.  Do not undefine as macro.
3260         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3261         Likewise.
3262         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3263         __fegetround and define as weak alias of __fegetround.  Use
3264         libm_hidden_weak.
3265         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3266         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3267         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3268         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3269         __fegetround and define as weak alias of __fegetround.  Use
3270         libm_hidden_weak.
3271         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3272         __fegetround instead of fegetround.
3274         [BZ #17782]
3275         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3276         Condition macro definition on [__USE_MISC].
3278         [BZ #17781]
3279         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3280         (struct sigaction): Change type of sa_flags field to int.
3282         [BZ #17780]
3283         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3284         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3285         __glibc_reserved0.
3287         * nptl/version.c (banner): Use single year in copyright notice.
3289         * NEWS: Update copyright dates.
3290         * catgets/gencat.c (print_version): Likewise.
3291         * csu/version.c (banner): Likewise.
3292         * debug/catchsegv.sh: Likewise.
3293         * debug/pcprofiledump.c (print_version): Likewise.
3294         * debug/xtrace.sh (do_version): Likewise.
3295         * elf/ldconfig.c (print_version): Likewise.
3296         * elf/ldd.bash.in: Likewise.
3297         * elf/pldd.c (print_version): Likewise.
3298         * elf/sotruss.sh: Likewise.
3299         * elf/sprof.c (print_version): Likewise.
3300         * iconv/iconv_prog.c (print_version): Likewise.
3301         * iconv/iconvconfig.c (print_version): Likewise.
3302         * locale/programs/locale.c (print_version): Likewise.
3303         * locale/programs/localedef.c (print_version): Likewise.
3304         * login/programs/pt_chown.c (print_version): Likewise.
3305         * malloc/memusage.sh (do_version): Likewise.
3306         * malloc/memusagestat.c (print_version): Likewise.
3307         * malloc/mtrace.pl: Likewise.
3308         * manual/libc.texinfo: Likewise.
3309         * nptl/version.c (banner): Likewise.
3310         * nscd/nscd.c (print_version): Likewise.
3311         * nss/getent.c (print_version): Likewise.
3312         * nss/makedb.c (print_version): Likewise.
3313         * posix/getconf.c (main): Likewise.
3314         * scripts/test-installation.pl: Likewise.
3315         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3317 2015-01-02  Will Newton  <will.newton@linaro.org>
3319         * sysdeps/arm/armv7/configure: Removed.
3320         * sysdeps/arm/armv7/configure.ac: Likewise.
3322 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3324         * All files with FSF copyright notices: Update copyright dates
3325         using scripts/update-copyrights.
3326         * intl/plural.c: Regenerated.
3327         * locale/programs/charmap-kw.h: Likewise.
3328         * locale/programs/locfile-kw.h: Likewise.
3330 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3332         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3334 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3336         [BZ #17748]
3337         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3338         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3339         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3340         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3341         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3342         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3344         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3345         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3346         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3347         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3348         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3349         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3350         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3351         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3352         libm_hidden_def.
3353         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3355         Likewise.
3356         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3357         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3358         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3359         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3360         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3361         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3362         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3363         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3364         __fegetenv instead of fegetenv.
3365         (libc_feholdsetround_noex_ctx): Likewise.
3367 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3369         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3370         (Elf_MIPS_ABIFlags_v0): New structure.
3371         (EF_MIPS_FP64): Define.
3372         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3373         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3374         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3375         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3376         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3377         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3378         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3379         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3380         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3381         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3382         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3383         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3384         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3385         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3386         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3387         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3388         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3389         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3390         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3391         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3392         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3393         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3394         field.
3395         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3396         EF_MIPS_FP64.
3397         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3398         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3399         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3400         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3401         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3402         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3403         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3404         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3405         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3406         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3407         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3408         record the current FP ABI extension.
3409         (mips-mode-switch): Define to show if kernel headers support mode
3410         switching.
3411         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3412         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3413         supported SYSV ABI version to 3.
3414         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3415         feature.
3417 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3418             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3420         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3421         path.
3422         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3424 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3426         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3427         __fegetround and redefine to call __fegetround.  Remove condition
3428         on [!__NO_MATH_INLINES].
3429         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3430         function.
3431         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3433         Remove macro.
3434         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3435         instead of <fenv_libc.h>.
3436         (__llrintl): Call fegetround instead of __fegetround.
3437         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3438         instead of <fenv_libc.h>.
3439         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3440         (__lrintl): Call fegetround instead of __fegetround.
3441         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3442         instead of <fenv_libc.h>.
3443         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3444         (__rintl): Call fegetround instead of __fegetround.
3446 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3448         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3449         arrays.
3451 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3453         [BZ #17775]
3454         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3455         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3456         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3458 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3460         * sysdeps/i386/tls-macros.h: Include <features.h>.
3461         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3462         (TLS_IE): Likewise.
3463         (TLS_LD): Likewise.
3464         (TLS_GD): Likewise.
3465         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3466         define for GCC >= 5.0.
3468 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3470         * math/test-fenv.c (test_single_exception, set_single_exc,
3471         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3472         feexcp_mask_test, feenable_test, fe_single_test): Add
3473         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3474         case where they are not used.
3475         * math/libm-test.inc: Likewise.
3476         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3477         unused in the absence of FP rounding/exception support.
3478         * stdio-common/tst-printf-round.c: Likewise.
3479         * stdlib/tst-strtod-round.c: Likewise.
3480         * stdlib/tst-strtod-underflow.c: Likewise.
3482 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3484         [BZ #17723]
3485         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3486         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3487         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3488         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3489         libm_hidden_weak.
3490         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3491         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3492         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3493         libm_hidden_def.
3494         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3495         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3496         libm_hidden_weak.
3497         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3498         Likewise.
3499         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3500         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3501         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3502         libm_hidden_weak.
3503         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3504         libm_hidden_def.
3505         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3506         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3507         (__feraiseexcept): Likewise.
3508         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3509         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3510         libm_hidden_weak.
3511         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3512         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3513         libm_hidden_def.
3514         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3515         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3516         Use libm_hidden_def.
3517         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3518         libm_hidden_def.
3519         (feraiseexcept): Define as weak not strong alias.  Use
3520         libm_hidden_weak.
3521         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3522         New inline function.  Factored out of ...
3523         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3524         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3525         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3526         feraiseexcept.
3527         * math/w_acos.c (__acos): Likewise.
3528         * math/w_asin.c (__asin): Likewise.
3529         * math/w_ilogb.c (__ilogb): Likewise.
3530         * math/w_j0.c (y0): Likewise.
3531         * math/w_j1.c (y1): Likewise.
3532         * math/w_jn.c (yn): Likewise.
3533         * math/w_log.c (__log): Likewise.
3534         * math/w_log10.c (__log10): Likewise.
3535         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3536         * sysdeps/aarch64/fpu/math_private.h
3537         (libc_feupdateenv_test_aarch64): Likewise.
3538         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3539         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3540         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3541         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3542         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3543         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3544         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3545         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3546         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3547         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3549 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3551         [BZ #17732]
3552         * io/test-utime.c (main): Replace %ld with %jd and cast to
3553         intmax_t.
3554         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3555         * nptl/tst-mutex5.c: Include <stdint.h>.
3556         (do_test): Replace %ld with %jd and cast to intmax_t.
3557         * posix/tst-regex.c (run_test): Likewise.
3558         (run_test_backwards): Likewise.
3559         * rt/tst-clock.c: Include <stdint.h>.
3560         (clock_test): Replace %ld with %jd and cast to intmax_t.
3561         * rt/tst-cpuclock1.c: Include <stdint.h>.
3562         (do_test): Replace %lu with %ju and cast to uintmax_t.
3563         * rt/tst-cpuclock2.c: Include <stdint.h>.
3564         (do_test): Replace %lu with %ju and cast to uintmax_t.
3565         * rt/tst-mqueue1.c: Include <stdint.h>.
3566         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3567         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3568         intmax_t.
3569         * rt/tst-mqueue4.c (do_test): Likewise.
3570         * rt/tst-timer4.c: Include <stdint.h>.
3571         (check_ts): Replace %ld with %jd and cast to intmax_t.
3572         (do_test): Likewise.
3573         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3574         and cast to intmax_t.
3575         * sysdeps/pthread/tst-timer.c (main): Likewise.
3576         * time/clocktest.c (main): Likewise.
3577         * time/tst-posixtz.c (do_test): Likewise.
3578         * timezone/tst-timezone.c (main): Likewise.
3580 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3581             H.J. Lu  <hongjiu.lu@intel.com>
3583         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3584         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3585         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3586         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3587         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3588         version if bit_Fast_Unaligned_Load is set.
3589         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3590         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3591         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3592         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3593         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3594         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3596         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3597         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3598         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3599         to 4.
3600         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3601         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3602         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3603         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3605 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3607         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3608         instead of #if to avoid a Wundef warning.
3609         * stdlib/tst-limits.c (do_test): Likewise.
3611         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3612         parallel other exception macros.
3613         (fegetenv): Convert from macro to extern inline so that it applies
3614         retroactively to inline functions already seen by the compiler.
3615         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3617         * posix/Makefile (before-compile): Use $(objpfx) for
3618         posix-conf-vars-def.h.
3620 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3622         * posix/getconf.c (main): Use size_t for type of I.
3623         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3624         NSPEC.
3626         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3627         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3628         * posix/posix-envs.def: Likewise.
3629         * sysdeps/posix/sysconf.c: Likewise.
3630         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3631         (specs): Remove array.
3632         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3633         array.
3635         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3636         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3637         (__sysconf): Use CONF_IS_* macros.
3639         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3640         ($(objpfx)posix-conf-vars-def.h): New target.
3641         * posix/posix-conf-vars.list: New file.
3642         * posix/posix-conf-vars.h: New file.
3643         * posix/confstr.c: Include posix-conf-vars.h.
3644         (confstr): Use CONF_IS_* macros.
3645         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3646         CONF_IS_* macros.
3647         * scripts/gen-posix-conf-vars.awk: New file.
3649 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3651         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3652         fegetround): Add no-op macros to avoid linknamespace issues.
3654         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3655         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3657         * sysdeps/unix/sysv/linux/tile/sysdep.h
3658         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3659         assembly-specific section to avoid a redefinition warning.
3661         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3662         long before casting to pointer to avoid a cast warning.
3664 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3666         * sysdeps/tile/tilegx/Implies: New file.
3668 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3670         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3672 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3674         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3676 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3679         not define.
3680         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3681         <kernel-features.h>.
3682         (__utimes) [__NR_utimes]: Make code unconditional.
3683         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3685         (__ASSUME_UTIMES): Do not undefine.
3686         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3687         (__ASSUME_UTIMES): Likewise.
3688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3689         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3690         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3691         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3693 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3695         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3697 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3699         [BZ #17747]
3700         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3701         alias to weak alias for j0l, y0l.
3702         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3703         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3705         [BZ #17746]
3706         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3707         conversion.
3709 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3711         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3712         to zero if not already defined.
3714 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3716         [BZ #17724]
3717         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3718         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3719         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3720         (char *) casts added.
3721         * sysdeps/ieee754/k_standardf.c: New file.
3722         * sysdeps/ieee754/k_standardl.c: Likewise.
3723         * math/Makefile (libm-support): Remove k_standard.
3724         (libm-calls): Add k_standard.
3726 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3728         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3729         Optimize to avoid an unnecessary FPCR read.
3731 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3733         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3734         Optimize to reduce FPCR/FPSR accesses.
3736 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3738         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3739         Call libc_fetestexcept_aarch64.
3741 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3743         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3744         Call libc_fesetround_aarch64.
3746 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3748         [BZ #17733]
3749         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3750         (__bind): Do not define as weak alias.
3751         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3752         define.
3753         (__getsockname): Do not define as weak alias.
3755 2014-12-22  Will Newton  <will.newton@linaro.org>
3757         * manual/install.texi: Document that we require bison 2.7
3758         or above.
3759         * INSTALL: Regenerate.
3760         * configure.ac: Use AC_CHECK_PROG_VER instead of
3761         AC_PATH_PROG when checking for bison and check for
3762         version 2.7 or above.
3763         * configure: Regenerate.
3765 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3767         [BZ #17745]
3768         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3769         * sysdeps/tile/ffsll.c (ffsll): To here.
3771         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3773 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3775         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3776         if not defined.
3777         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3778         definition.
3779         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3780         hidden ___tls_get_addr.
3781         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3782         hidden __tls_get_addr.
3783         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3784         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3785         Likewise.
3787 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3789         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3790         _dl_init call.
3792 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3794         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3795         from "call _dl_init@PLT".
3796         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3798 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3800         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3801         guarantees.
3803 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3805         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3807 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3809         [BZ #17744]
3810         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3811         strnlen.
3813 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3815         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3816         of multu on MIPSr6.
3817         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3818         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3819         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3820         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3821         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3823 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3825         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3826         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3827         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3828         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3829         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3830         mips32r6/mips64r6.
3831         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3833 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3835         * string/strncat.c (STRNCAT): Simplify implementation.
3837 2014-12-19  David S. Miller  <davem@davemloft.net>
3839         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3840         access the quad as both a long double and as a series of 4 words.
3842         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3843         link_map->l_info array access.
3845 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3847         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3849         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3850         * math/atest-exp2.c (TIMEOUT): Likewise.
3851         * math/atest-sincos.c (TIMEOUT): Likewise.
3853 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3855         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3856         -Wno-error with -fno-builtin-lround.
3858 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3860         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3861         Contains futex constants and functions moved over from ...
3862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3863         <lowlevellock-futex.h>.
3864         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3865         (lll_timedwait_tid): Add comments and parentheses around macro
3866         arguments.
3868 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3870         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3871         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3872         (__lll_private_flag): Remove.
3873         (lll_futex_wait): Likewise.
3874         (lll_futex_timed_wait): Likewise.
3875         (lll_futex_wake): Likewise.
3876         (lll_futex_requeue): Likewise.
3877         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3878         (__lll_timedwait_tid): Spell out argument names.
3879         (lll_timedwait_tid): Add comments and parentheses around macro
3880         arguments.
3881         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3882         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3884 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3886         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3887         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3889         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3890         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3891         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3892         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3893         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3894         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3895         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3896         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3897         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3900         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3901         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3902         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3903         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3904         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3906 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3908         * sysdeps/x86_64/x32/Makefile: New file.
3910 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3912         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3913         1L with (mp_limb_t) 1.
3915 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3917         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3918         * nptl/libc_pthread_init.c: ... here.
3919         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3920         * nptl/register-atfork.c: ... here.
3922         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3923         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3924         Use assert_perror to check its return value.
3925         (__gai_create_helper_thread): Likewise.
3927         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3929         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3931 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3933         [BZ #17725]
3934         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3935         __profil_counter.
3936         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3937         Likewise.
3938         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3939         Likewise.
3940         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3941         Likewise.
3942         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3943         (profil_counter): Likewise.
3944         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3945         (profil_counter): Likewise.
3946         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3947         Likewise.
3948         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3949         Likewise.
3950         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3951         (profil_counter): Likewise.
3952         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3953         Likewise.
3954         [!__profil_counter] (profil_counter): Define as weak alias of
3955         __profil_counter.
3956         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3957         (profil_counter): Rename to __profil_counter.
3958         [!__profil_counter] (profil_counter): Define as weak alias of
3959         __profil_counter.
3960         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3961         (profil_counter): Rename to __profil_counter.
3962         [!__profil_counter] (profil_counter): Define as weak alias of
3963         __profil_counter.
3964         * sysdeps/posix/profil.c: Update comment referring to
3965         profil_counter.
3966         (__profil): Use __profil_counter instead of profil_counter.
3967         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3968         __profil_counter.  Use __profil_counter_ushort and
3969         __profil_counter_uint in definitions.
3970         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3971         instead of profil_counter_uint and profil_counter_ushort.
3973         [BZ #17722]
3974         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3975         define as weak alias of __inet_makeaddr.
3976         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3977         as weak alias of __inet_addr.
3978         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3979         as weak alias of __inet_pton.  Use libc_hidden_weak.
3980         * include/arpa/inet.h (__inet_pton): Declare.  Use
3981         libc_hidden_proto.
3982         (inet_makeaddr): Don't use libc_hidden_proto.
3983         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3984         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3985         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3986         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3987         Remove variable.
3988         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3989         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3991 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3993         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3995 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3997         * stdio-common/bug-vfprintf-nargs.c (do_test):
3998         Cast value to intptr_t to avoid format warning
3999         for usage with PRIdPTR printing macro.
4001 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4003         * libio/tst-widetext.c (do_test):
4004         Use format type %td instead of %Zd for ptrdiff_t
4005         in order to avoid format warning.
4007 2014-12-17  Andreas Schwab  <schwab@suse.de>
4009         * nscd/mem.c (gc): Add size_t cast to match printf format.
4011 2014-12-16  Roland McGrath  <roland@hack.frob.com>
4013         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4014         (init): Apply PTR_MANGLE to pointers before storing them.
4015         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4016         before using them.
4018 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
4020         [BZ #17719]
4021         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4022         define as weak alias of __memrchr.
4023         (__memrchr): Do not define as strong alias of memrchr.
4024         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4025         Remove variable.
4026         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4027         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4028         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4030         [BZ #17717]
4031         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4032         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
4033         (if_indextoname): Rename to __if_indextoname and define as weak
4034         alias of __if_indextoname.  Use libc_hidden_weak.
4035         (if_freenameindex): Rename to __if_freenameindex and define as
4036         weak alias of __if_freenameindex.
4037         (if_nameindex): Rename to __if_nameindex and define as weak alias
4038         of __if_nameindex.
4039         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4040         __if_nametoindex and define as weak alias of __if_nametoindex.
4041         Use libc_hidden_weak.
4042         (if_freenameindex): Rename to __if_freenameindex and define as
4043         weak alias of __if_freenameindex.
4044         (if_nameindex): Rename to __if_nameindex and define as weak alias
4045         of __if_nameindex.
4046         (if_indextoname): Rename to __if_indextoname and define as weak
4047         alias of __if_indextoname.  Use libc_hidden_weak.
4048         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4049         __if_nametoindex and define as weak alias of __if_nametoindex.
4050         Use libc_hidden_weak.
4051         (if_freenameindex): Rename to __if_freenameindex and define as
4052         weak alias of __if_freenameindex.  Use libc_hidden_weak.
4053         (if_nameindex_netlink): Use __if_freenameindex instead of
4054         if_freenameindex.
4055         (if_nameindex): Rename to __if_nameindex and define as weak alias
4056         of __if_nameindex.  Use libc_hidden_weak.
4057         (if_indextoname): Rename to __if_indextoname and define as weak
4058         alias of __if_indextoname.  Use libc_hidden_weak.
4059         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4060         libc_hidden_proto.
4061         [!_ISOMAC] (__if_freenameindex): Likewise.
4062         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4063         if_nametoindex.
4064         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4065         variable.
4066         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4067         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4068         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4069         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4070         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4071         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4072         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4074         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4075         Remove variable.
4076         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4077         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4079 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4081         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4082         subscript above bounds'
4084         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4085         bounds.
4087 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
4089         * libio/tst-fopenloc.c: Use test-skeleton.c.
4091         * stdlib/tst-bsearch.c: Use test-skeleton.c.
4092         (entry): Rename to ITEM.
4093         (do_test, comp): Adjust.
4095         * stdio-common/tst-fseek.c: Use test-skeleton.c.
4097 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4099         * string/tester.c: Include <libc-internal.h>.
4100         (test_memset): Ignore -Wmemset-transposed-args.
4102 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4104         * misc/tst-mntent2.c (do_test): Fix warning.
4106 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4108         * elf/tst-unique4lib.cc(a): Mark as used.
4110 2014-12-16  Florian Weimer  <fweimer@redhat.com>
4112         [BZ #17630]
4113         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4114         names.
4116 2014-12-16  Allan McRae  <allan@archlinux.org>
4118         * stdio-common/Makefile (tests): Re-add bug26.
4120 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
4122         [BZ #17657]
4123         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4124         static array.
4126 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
4128         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4129         (__lll_lock_wait): Likewise.
4130         (__lll_timedlock_wait): Likewise.
4131         (__lll_timedwait_tid): Likewise.
4132         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4133         (__lll_robust_timedlock_wait): Likewise.
4134         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4135         (lll_cond_trylock): Likewise.
4136         (__lll_lock): Likewise.
4137         (__lll_robust_lock): Likewise.
4138         (__lll_cond_lock): Likewise.
4139         (lll_robust_cond_lock): Likewise.
4140         (__lll_timedlock): Likewise.
4141         (__lll_robust_timedlock): Likewise.
4142         (__lll_unlock): Likewise.
4143         (__lll_robust_unlock): Likewise.
4144         (lll_wait_tid): Likewise.
4145         (lll_timedwait_tid): Likewise.
4147 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4149         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4151 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4153         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4155 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4157         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4158         * stdio-common/tst-sprintf.c: Likewise.
4160 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4162         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4164 2014-12-15  Jeff Law  <law@redhat.com>
4166         [BZ #16617]
4167         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4168         on the heap.  (CVE-2012-3406)
4169         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4170         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
4171         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4173 2014-12-15  Will Newton  <will.newton@linaro.org>
4175         * manual/install.texi: Bump required version of texinfo
4176         to 4.7 from 4.5.
4177         * INSTALL: Regenerated.
4178         * configure.ac: Check for makeinfo version 4.7 and above.
4179         * configure: Regenerated.
4181 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4183         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4184         PREFIX, string constant to insert between directory and name.
4185         * sysdeps/posix/shm_open.c: Update caller.
4186         * sysdeps/posix/shm_unlink.c: Likewise.
4187         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4188         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4189         (SEM_SHM_PREFIX): New macro.
4190         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4191         [$(have-thread-library) = no].
4192         * nptl/Makefile (libpthread-routines): Add shm-directory.
4193         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4194         * sysdeps/nptl/shm-directory.h: New file.
4195         * sysdeps/posix/shm-directory.c
4196         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4197         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4198         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4199         INTERNAL_SYSCALL.
4200         (__where_is_shmfs): Function removed.
4201         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4202         Variables removed.
4203         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4204         Use SHM_GET_NAME.
4205         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4207         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4208         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4209         unconditional for use inside libpthread.
4210         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4212 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4214         * nptl/pthread_getaffinity.c: New file.
4215         * nptl/pthread_setaffinity.c: New file.
4216         * nptl/pthread_getname.c: New file.
4217         * nptl/pthread_setname.c: New file.
4219         * nptl/pthread_create.c (START_THREAD_DEFN)
4220         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4222 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4223             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4225         * resolv/res_send.c (send_vc): Disable warning resplen may
4226         be used uninitialized.
4228 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4230         * nptl/tst-mutex6.c
4231         (ATTR_NULL): New define checks ATTR against NULL.
4232         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4233         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4235 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4237         [BZ #17581]
4238         * malloc/hooks.c
4239         (mem2mem_check): Revert my previous change.
4240         (malloc_check_get_size): Revert my previous change.
4241         (mem2chunk_check): Revert my previous change.
4243 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4245         * sysdeps/posix/shm-directory.c: New file.
4246         * sysdeps/posix/shm-directory.h: New file.
4247         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4248         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4249         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4250         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4251         Transmute EPERM to EACCES.
4252         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4253         from ...
4254         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4255         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4257 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4259         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4260         pointer and cast to uintptr_t.
4261         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4263         Add cast to avoid warning.
4264         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4266 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4268         * nptl/semaphore.h: Move to ...
4269         * sysdeps/pthread/semaphore.h: ... here.
4270         * Makefile (installed-headers): Change nptl/semaphore.h to
4271         sysdeps/pthread/semaphore.h.
4273 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4275         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4276         generated error format strings.
4278         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4279         -Wformat-extra-args warnings for scanf formats.
4280         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4281         test of zero-length format (duh).
4282         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4283         corner-case scanf format test.
4284         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4285         generated fprintf format string.
4286         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4287         corner-case sprintf format tests.
4288         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4289         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4290         -Wformat-extra-args warnings throughout.
4291         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4292         (CFLAGS-scanf4.c): Likewise.
4293         (CFLAGS-scanf7.c): Likewise.
4294         (CFLAGS-tst-sprintf.c): Likewise.
4295         (CFLAGS-tst-printf.c): Likewise.
4296         (CFLAGS-tst-printfsz.c): Likewise.
4298 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4300         * include/cpio.h: New file.
4301         * include/fmtmsg.h: Likewise.
4303         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4304         corresponding format argument to size_t.
4305         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4306         arguments.
4307         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4308         corresponding format argument to size_t.
4309         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4310         arguments.
4311         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4312         corresponding format argument to size_t.
4313         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4314         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4315         (CFLAGS-tst-mbswcs2.c): Likewise.
4316         (CFLAGS-tst-mbswcs3.c): Likewise.
4317         (CFLAGS-tst-mbswcs4.c): Likewise.
4318         (CFLAGS-tst-mbswcs5.c): Likewise.
4319         (CFLAGS-tst-trans.c): Likewise
4321 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4323         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4324         rather than assuming they won't contain any '%'s.
4326 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4328         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4329         inhibit_loop_to_libcall to avoid recursive calls.
4330         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4331         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4333 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4335         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4336         prototype.
4338 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4340         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4341         integer value instead of boolean.
4343 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4345         * malloc/malloc.c: Fix powerof2 check.
4347 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4349         * locale/programs/locfile.h (maybe_swap_uint32):
4350         Remove inline and add unused attribute.
4352 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4354         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4355         Truncating assembler expression to a .long expression.
4357 2014-12-11  Andreas Schwab  <schwab@suse.de>
4359         * elf/rtld.c (struct map_args): Constify str member.
4360         (do_preload): Constify fname argument.
4362 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4365         constants definition.
4367 2014-12-11  Andreas Schwab  <schwab@suse.de>
4369         [BZ #16657]
4370         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4371         FORCE_ELISION instead of DO_ELISION.
4372         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4373         Remove.
4374         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4375         Likewise.
4377         * iconvdata/gconv-modules: Remove duplicate entry.
4379 2014-12-11  Will Newton  <will.newton@linaro.org>
4381         Merge gettext 0.19.3 into intl/.
4383         This involves a number of cosmetic changes to comments
4384         and ANSI function definitions and prototypes throughout
4385         all the files. The gettext copyright header is used but
4386         with the date ranges taken from the glibc copy.
4388         * NEWS: Add gettext merge to 2.21.
4389         * intl/bindtextdom.c: Switch to gettext copyright.
4390         Use ANSI definitions and prototypes.
4391         Use gl_* locking primitives rather than __libc_* ones.
4392         Use __builtin_expect rather than __glibc_likely/unlikely.
4393         * intl/dcgettext.c: Switch to gettext copyright.
4394         Use ANSI definitions and prototypes.
4395         * intl/dcigettext.c: Switch to gettext copyright.
4396         Use ANSI definitions and prototypes.
4397         (INTDIV0_RAISES_SIGFPE): New define.
4398         Use gl_* locking primitives rather than __libc_* ones.
4399         Include eval-plural.h instead of plural-eval.c.
4400         Use __builtin_expect rather than __glibc_likely/unlikely.
4401         * intl/dcngettext.c: Switch to gettext copyright.
4402         Use ANSI definitions and prototypes.
4403         * intl/dgettext.c: Likewise.
4404         * intl/dngettext.c: Likewise.
4405         * intl/plural-eval.c: Renamed to...
4406         * intl/eval-plural.h: ...this.
4407         * intl/explodename.c: Switch to gettext copyright.
4408         Use ANSI definitions and prototypes.
4409         (_nl_explode_name): Use strchr instead of __rawmemchr.
4410         * intl/finddomain.c: Switch to gettext copyright.
4411         Use ANSI definitions and prototypes.
4412         Use gl_* locking primitives rather than __libc_* ones.
4413         (_nl_find_domain): Use malloc rather than alloca for
4414         allocation of temporary locale name.
4415         * intl/gettext.c: Switch to gettext copyright.
4416         Use ANSI definitions and prototypes.
4417         * intl/gettextP.h: Switch to gettext copyright.
4418         Use ANSI definitions and prototypes.
4419         Use gl_* locking primitives rather than __libc_* ones.
4420         * intl/gmo.h: Switch to gettext copyright.
4421         (struct sysdep_string): Move struct segment_pair outside of
4422         struct definition.
4423         * intl/hash-string.c: Use ANSI definitions and prototypes.
4424         * intl/hash-string.h: Switch to gettext copyright.
4425         Use ANSI definitions and prototypes.
4426         * intl/l10nflist.c: Switch to gettext copyright.
4427         Use ANSI definitions and prototypes.
4428         (_nl_normalize_codeset): Avoid integer overflow.
4429         * intl/loadinfo.h: Switch to gettext copyright.
4430         Use ANSI definitions and prototypes.
4431         (LIBINTL_DLL_EXPORTED): New define.
4432         (PATH_SEPARATOR): New define.
4433         * intl/loadmsgcat.c: Switch to gettext copyright.
4434         * intl/localealias.c: Switch to gettext copyright.
4435         Use ANSI definitions and prototypes.
4436         (_nl_expand_alias): Use PATH_SEPARATOR.
4437         * intl/ngettext.c: Switch to gettext copyright.
4438         Use ANSI definitions and prototypes.
4439         * intl/plural-exp.c: Likewise.
4440         * intl/plural-exp.h: Switch to gettext copyright.
4441         Use ANSI definitions and prototypes.
4442         (struct expression): Move definition of enum operator outside
4443         of struct definition.
4444         * intl/plural.c: Regenerate.
4445         * intl/plural.y: Switch to gettext copyright.
4446         Use ANSI definitions and prototypes.
4447         Port to bison 3.0.
4448         * intl/textdomain.c: Switch to gettext copyright.
4449         Use ANSI definitions and prototypes.
4450         Use gl_* locking primitives rather than __libc_* ones.
4452 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4454         * debug/warning-nop.c: Add used atrribute.
4456 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4458         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4460         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4461         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4462         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4464 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4465             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4467         [BZ #17634]
4468         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4469         Undefine after defining function.  Define as weak alias of
4470         __wcschr.  Use libc_hidden_weak.
4471         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4472         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4473         (libc_hidden_def): Also define __GI___wcschr alias.
4474         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4475         __wcschr and define as weak alias of __wcschr.
4476         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4477         __wcschr.
4478         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4479         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4480         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4481         libc_hidden_weak.  Do not use libc_hidden_def.
4482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4483         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4484         __GI___wcschr alias.
4485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4486         [IS_IN (libc)] (wcschr): Define as macro expanding to
4487         __redirect_wcschr.
4488         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4489         [IS_IN (libc)] (__wcschr_power6): Likewise.
4490         [IS_IN (libc)] (__wcschr_power7): Likewise.
4491         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4492         instead of wcschr.
4493         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4494         __libc_wcschr.
4495         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4496         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4497         __wcschr and define as weak alias of __wcschr.  Use
4498         libc_hidden_builtin_def.
4499         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4500         as weak alias of __wcschr.  Use libc_hidden_weak.
4501         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4502         wcschr.
4503         * time/era.c (_nl_init_era_entries): Likewise.
4504         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4505         variable.
4506         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4507         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4509 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4511         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4512         format for long int variable.
4514 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4516         [BZ #10672]
4517         * manual/search.texi: (Array Sort Function): Remove claim how to make
4518         qsort stable.
4520 2014-12-10  Andreas Schwab  <schwab@suse.de>
4522         [BZ #12847]
4523         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4524         user-controlled locks.
4526 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4528         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4529         register.
4531 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4533         * configure.ac (--disable-werror): New configure option.
4534         (enable_werror): New AC_SUBST.
4535         * configure: Regenerated.
4536         * config.make.in (enable-werror): New variable.
4537         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4538         -Wno-error=undef.
4539         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4540         * manual/install.texi (Configuring and compiling): Document
4541         --disable-werror.
4542         * INSTALL: Regenerated.
4543         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4544         (CFLAGS-tst-chk2.c): Likewise.
4545         (CFLAGS-tst-chk3.c): Likewise.
4546         (CFLAGS-tst-chk4.cc): Likewise.
4547         (CFLAGS-tst-chk5.cc): Likewise.
4548         (CFLAGS-tst-chk6.cc): Likewise.
4549         (CFLAGS-tst-lfschk1.c): Likewise.
4550         (CFLAGS-tst-lfschk2.c): Likewise.
4551         (CFLAGS-tst-lfschk3.c): Likewise.
4552         (CFLAGS-tst-lfschk4.cc): Likewise.
4553         (CFLAGS-tst-lfschk5.cc): Likewise.
4554         (CFLAGS-tst-lfschk6.cc): Likewise.
4556         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4557         (main): Disable -Wdeprecated-declarations around calls to
4558         register_printf_function.
4560         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4561         (do_test): Disable -Wdiv-by-zero around some calls to
4562         fwrite_unlocked and fread_unlocked.
4564         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4565         (DIAG_POP_NEEDS_COMMENT): Likewise.
4566         (_DIAG_STR1): Likewise.
4567         (_DIAG_STR): Likewise.
4568         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4569         * stdio-common/bug21.c: Include <libc-internal.h>.
4570         (do_test): Disable -Wformat around call to sscanf.
4571         * stdio-common/scanf14.c: Include <libc-internal.h>.
4572         (main): Disable -Wformat around some calls to scanf functions.
4574 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4576         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4578 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4580         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4581         stack variable alignment.
4583 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4585         [BZ #17682]
4586         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4587         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4588         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4589         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4590         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4591         __getrlimit instead of getrlimit.
4592         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4593         __gettimeofday instead of gettimeofday.
4594         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4595         Likewise.
4596         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4597         Likewise.
4598         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4599         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4600         Remove variable.
4601         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4602         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4604 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4606         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4607         for wide-character tests.
4609 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4611         * io/openat64.c: #include <libc-internal.h>
4612         (__openat64): Prototypify.  Use ignore_value on MODE.
4613         * io/openat.c: Likewise.
4614         * misc/reboot.c: #include <libc-internal.h>
4615         (reboot): Prototypify.  Use ignore_value on HOWTO.
4616         * misc/ptrace.c: #include <libc-internal.h>
4617         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4619 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4621         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4622         XPG4, UNIX98 and XOPEN2K.
4623         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4624         Remove variable.
4625         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4627 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4629         * libio/fileops.c: Use ISO C style for function definitions.
4630         * libio/iofopen.c: Likewise.
4631         * libio/wfileops.c: Likewise.
4633         [BZ #17653]
4634         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4635         offset on EOF.
4636         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4637         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4638         (fgets_func): Function pointer to fgets and fgetws.
4639         (do_ftell_test): Add test to verify ftell value after read
4640         EOF.
4641         (do_test): Set fgets_func.
4643         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4644         O_TRUNC flag for w and w+ modes.
4645         (do_rewind_test): Likewise.
4646         (do_ftell_test): Likewise.
4647         (do_write_test): Likewise.
4649         [BZ #17647]
4650         * libio/fileops.c (do_ftell): Seek only when there are
4651         unflushed writes.
4652         * libio/wfileops.c (do_ftell_wide): Likewise.
4653         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4654         test case.
4655         (do_one_test): Call it.
4657 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4659         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4660         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4661         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4662         Remove variable.
4663         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4664         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4665         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4667 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4669         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4670         Remove variable.
4671         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4673         [BZ #17668]
4674         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4675         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4676         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4677         __freeifaddrs.  Use libc_hidden_weak.
4678         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4679         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4680         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4681         __freeifaddrs.  Use libc_hidden_weak.
4682         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4683         __getifaddrs and define as weak alias of __getifaddrs.  Use
4684         libc_hidden_weak.
4685         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4686         __freeifaddrs.  Use libc_hidden_weak.
4687         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4688         Remove variable.
4689         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4690         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4692 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4694         [BZ #17601]
4695         * sysdeps/mips/start.S (__start): Use indirect jump to call
4696         __libc_start_main.
4698 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4700         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4702         * nptl/tst-mutex1.c: Include <stdbool.h>.
4703         [!ATTR] (ATTR_NULL): New macro.
4704         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4705         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4706         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4708         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4709         to char *.
4711         [BZ #17665]
4712         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4713         Change conditional to [__USE_MISC].
4715         [BZ #17664]
4716         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4717         fgets_unlocked.
4718         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4719         __fgets_unlocked.
4720         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4721         fgets_unlocked.
4722         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4723         Remove variable.
4724         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4725         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4726         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4727         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4728         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4729         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4730         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4731         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4732         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4734         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4736 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4738         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4739         Remove strpbrk objects.
4740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4741         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4742         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4743         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4744         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4745         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4748         Remove strcspn objects.
4749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4750         (__libc_ifunc_impl_list): Remove strcspn implementation.
4751         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4752         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4753         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4754         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4756         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4757         Remove strspn objetcs.
4758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4759         (__libc_ifunc_impl_list): Remove strspn implementation.
4760         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4761         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4762         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4763         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4765 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4767         [BZ #17581]
4768         * malloc/hooks.c
4769         (mem2mem_check): Add a terminator to the chain of checking blocks.
4770         (malloc_check_get_size): Use it here.
4771         (mem2chunk_check): Ditto.
4773 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4775         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4776         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4778 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4780         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4782         * nptl/nptl-init.c: Include libc-internal.h.
4783         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4785         * elf/ldconfig.c (search_dir): Expand comment.
4787 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4789         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4790         variable.
4791         (linknamespace-symlist-stdlibs-tests): Likewise.
4792         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4793         instead of $(objpfx)symlist-stdlibs.
4794         (linknamespace-libs-isoc): New variable.
4795         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4796         (linknamespace-libs-ISO): New variable.
4797         (linknamespace-libs-ISO99): Likewise.
4798         (linknamespace-libs-ISO11): Likewise.
4799         (linknamespace-libs-XPG3): Likewise.
4800         (linknamespace-libs-XPG4): Likewise.
4801         (linknamespace-libs-POSIX): Likewise.
4802         (linknamespace-libs-UNIX98): Likewise.
4803         (linknamespace-libs-XOPEN2K): Likewise.
4804         (linknamespace-libs-POSIX2008): Likewise.
4805         (linknamespace-libs-XOPEN2K8): Likewise.
4806         ($(objpfx)symlist-stdlibs): Replace by
4807         $(linknamespace-symlist-stdlibs-tests).  Use
4808         $(linknamespace-libs-$*) as set of libraries.
4809         ($(linknamespace-header-tests)): Update dependencies.  Use
4810         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4811         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4812         * conform/linknamespace.pl: Remove comment about considering
4813         definitions of symbols from irrelevant libraries.
4815 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4817         [BZ #13862]
4818         * elf/dl-tls.c: Include <atomic.h>.
4819         (oom): Remove #ifdef SHARED/#endif.
4820         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4821         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4822         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4823         big enough.
4824         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4825         * nptl/Makefile (tests): Add tst-stack4.
4826         (modules-names): Add tst-stack4mod.
4827         ($(objpfx)tst-stack4): New.
4828         (tst-stack4mod.sos): Likewise.
4829         ($(objpfx)tst-stack4.out): Likewise.
4830         ($(tst-stack4mod.sos)): Likewise.
4831         (clean): Likewise.
4832         * nptl/tst-stack4.c: New file.
4833         * nptl/tst-stack4mod.c: Likewise.
4835 2014-11-27  J. Brown  <jb999@gmx.de>
4837         * sysdeps/x86/bits/string.h: Add recent CPUs.
4839 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4841         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4842         sigblock.
4844         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4845         feof.
4847         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4848         variable.
4850 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4852         * nscd/connections.c: Include libc-internal.h because of macro
4853         usage ignore_value.
4855 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4857         * string/bits/string3.h (__warn_memset_zero_len): Don't
4858         declare for gcc newer than 5.0.
4859         (memset): Don't test for zero-length __LEN for gcc newer than
4860         5.0.
4862 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4864         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4865         size_t for %zu format.
4867         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4868         difference, not %ju.
4870 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4872         * include/libc-internal.h (ignore_value): New macro.
4873         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4874         with ignore_value.
4876         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4877         definition.
4879         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4880         pthread_cleanup_push to void *.
4882         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4883         Undefine.
4885         [BZ #16619]
4886         [BZ #16740]
4887         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4888         instead of 1L << 52.
4890         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4891         * libio/bug-rewind2.c (do_test): Likewise.
4893         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4894         * debug/test-strcpy_chk-ifunc.c: Likewise.
4895         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4896         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4897         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4898         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4899         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4900         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4901         * Rules [$(multi-arch) = no] (tests): Do not filter out
4902         $(tests-ifunc).
4903         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4904         * debug/Makefile (tests-ifunc): Remove variable.
4905         (tests): Do not add $(tests-ifunc).
4906         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4907         (tests): Do not add $(tests-ifunc).
4908         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4909         [TEST_IFUNC]: Remove conditionals.
4910         * string/test-string.h (TEST_IFUNC): Remove macro.
4911         [TEST_IFUNC]: Remove conditionals.
4913         * string/test-strchr.c [!WIDE] (L): New macro.
4914         [WIDE] (L): Likewise.
4915         (check1): Use CHAR instead of char.  Use L on string and character
4916         constants.
4918 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4920         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4921         tests.
4922         * sysdeps/powerpc/bits/atomic.h
4923         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4924         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4925         (atomic_exchange_and_add_acq): Likewise.
4926         (atomic_exchange_and_add_rel): Likewise.
4927         * sysdeps/powerpc/powerpc32/bits/atomic.h
4928         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4929         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4930         * sysdeps/powerpc/powerpc64/bits/atomic.h
4931         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4932         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4934 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4936         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4937         Change synchronization of __sched_fifo_min_prio and
4938         __sched_fifo_max_prio.
4939         * nptl/pthread_mutexattr_getprioceiling.c
4940         (pthread_mutexattr_getprioceiling): Likewise.
4941         * nptl/pthread_mutexattr_setprioceiling.c
4942         (pthread_mutexattr_setprioceiling): Likewise.
4943         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4944         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4945         Likewise.
4947 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4949         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4950         void.
4952 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4954         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4955         third argument const.
4957 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4959         fnmatch: work around GCC compiler warning bug with uninit var
4960         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4961         This works around a bug with x86-64 GCC 4.9.2 and earlier
4962         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4963         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4964         used uninitialized in this function [-Wmaybe-uninitialized]".
4966 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4968         * posix/bug-regex31.c (main): Return RES not 0.
4970 2014-11-25  Anton Blanchard <anton@samba.org>
4972         * sysdeps/powerpc/bits/atomic.h
4973         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4975 2014-11-24  Sterling Augustine  <saugustine@google.com>
4977         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4979 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4981         [BZ #17608]
4982         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4984 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4986         [BZ #17633]
4987         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4988         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4989         variable.
4990         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4991         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4993 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4995         * string/strncpy.c (strncpy): Improve performance by using memset.
4997 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4999         * string/strcpy.c (strcpy):
5000         Improve performance by using strlen and memcpy.
5002 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
5004         * string/strcoll_l.c (get_next_seq): __always_inline.
5005         * string/strcoll_l.c (do_compare): __always_inline.
5007 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5009         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5010         defined.
5011         * include/mqueue.h: Likewise.
5012         * include/stdlib.h: Likewise.
5014         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5015         (get_null_defines): Adjust.
5016         * sunrpc/Makefile: Adjust comment.
5017         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5018         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5019         (CFLAGS-interp.c): Likewise.
5020         (CFLAGS-ldconfig.c): Likewise.
5021         (CPPFLAGS-.os): Likewise.
5022         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5023         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5024         * extra-modules.mk (extra-modules.mk): Likewise.
5025         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5026         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5027         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5028         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5029         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5030         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5031         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5032         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5033         * iconvdata/Makefile (CPPFLAGS): Likewise.
5034         (cpp-srcs-left): Add libof for all iconvdata routines.
5035         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5036         * include/assert.h: Likewise.
5037         * include/ctype.h: Likewise.
5038         * include/errno.h: Likewise.
5039         * include/libc-symbols.h: Likewise.
5040         * include/math.h: Likewise.
5041         * include/netdb.h: Likewise.
5042         * include/resolv.h: Likewise.
5043         * include/stdio.h: Likewise.
5044         * include/stdlib.h: Likewise.
5045         * include/string.h: Likewise.
5046         * include/sys/stat.h: Likewise.
5047         * include/wctype.h: Likewise.
5048         * intl/l10nflist.c: Likewise.
5049         * libidn/idn-stub.c: Likewise.
5050         * libio/libioP.h: Likewise.
5051         * nptl/libc_multiple_threads.c: Likewise.
5052         * nptl/pthreadP.h: Likewise.
5053         * posix/regex_internal.h: Likewise.
5054         * resolv/res_hconf.c: Likewise.
5055         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5056         * sysdeps/arm/memmove.S: Likewise.
5057         * sysdeps/arm/sysdep.h: Likewise.
5058         * sysdeps/generic/_itoa.h: Likewise.
5059         * sysdeps/generic/symbol-hacks.h: Likewise.
5060         * sysdeps/gnu/errlist.awk: Likewise.
5061         * sysdeps/gnu/errlist.c: Likewise.
5062         * sysdeps/i386/i586/memcpy.S: Likewise.
5063         * sysdeps/i386/i586/memset.S: Likewise.
5064         * sysdeps/i386/i686/memcpy.S: Likewise.
5065         * sysdeps/i386/i686/memmove.S: Likewise.
5066         * sysdeps/i386/i686/mempcpy.S: Likewise.
5067         * sysdeps/i386/i686/memset.S: Likewise.
5068         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5069         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5070         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5071         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5072         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5073         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5074         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5075         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5076         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5078         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5079         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5080         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5081         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5082         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5083         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5084         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5085         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5086         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5087         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5094         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5096         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5097         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5098         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5100         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5101         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5104         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5105         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5108         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5109         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5110         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5111         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5112         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5113         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5114         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5115         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5116         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5117         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5118         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5119         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5120         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5121         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5122         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5123         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5124         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5125         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5126         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5127         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5128         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5129         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5130         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5131         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5132         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5133         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5134         * sysdeps/posix/closedir.c: Likewise.
5135         * sysdeps/posix/opendir.c: Likewise.
5136         * sysdeps/posix/readdir.c: Likewise.
5137         * sysdeps/posix/rewinddir.c: Likewise.
5138         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5139         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5140         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5141         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5142         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5147         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5149         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5150         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5151         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5152         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5153         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5154         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5155         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5156         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5158         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5159         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5160         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5166         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5173         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5174         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5175         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5176         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5177         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5178         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5180         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5182         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5183         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5184         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5185         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5186         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5187         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5188         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5189         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5193         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5195         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5196         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5197         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5198         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5199         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5201         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5202         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5203         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5204         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5205         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5206         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5207         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5208         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5209         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5210         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5211         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5212         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5214         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5215         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5216         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5217         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5218         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5220         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5221         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5222         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5223         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5224         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5225         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5226         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5227         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5228         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5229         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5230         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5234         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5236         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5237         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5238         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5239         * sysdeps/unix/alpha/sysdep.S: Likewise.
5240         * sysdeps/unix/alpha/sysdep.h: Likewise.
5241         * sysdeps/unix/make-syscalls.sh: Likewise.
5242         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5244         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5245         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5246         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5247         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5248         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5249         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5250         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5251         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5252         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5253         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5255         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5256         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5257         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5258         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5259         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5260         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5261         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5262         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5263         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5264         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5265         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5266         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5267         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5268         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5271         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5272         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5276         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5280         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5281         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5282         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5283         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5284         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5285         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5286         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5289         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5292         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5293         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5294         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5295         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5300         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5301         * sysdeps/x86_64/memcpy.S: Likewise.
5302         * sysdeps/x86_64/memmove.c: Likewise.
5303         * sysdeps/x86_64/memset.S: Likewise.
5304         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5305         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5306         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5307         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5308         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5309         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5311         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5312         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5313         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5314         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5315         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5316         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5317         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5318         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5319         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5321         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5322         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5323         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5324         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5325         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5326         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5327         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5328         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5329         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5330         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5331         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5333         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5334         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5335         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5336         * sysdeps/x86_64/strcmp.S: Likewise.
5338         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5340         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5341         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5342         * elf/rtld-Rules: Likewise.
5343         * elf/setup-vdso.h: Likewise.
5344         * include/assert.h: Likewise.
5345         * include/bits/stdlib-float.h: Likewise.
5346         * include/errno.h: Likewise.
5347         * include/sys/stat.h: Likewise.
5348         * include/unistd.h: Likewise.
5349         * sysdeps/aarch64/setjmp.S: Likewise.
5350         * sysdeps/alpha/setjmp.S: Likewise.
5351         * sysdeps/arm/__longjmp.S: Likewise.
5352         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5353         * sysdeps/arm/setjmp.S: Likewise.
5354         * sysdeps/arm/sysdep.h: Likewise.
5355         * sysdeps/generic/_itoa.h: Likewise.
5356         * sysdeps/generic/dl-sysdep.h: Likewise.
5357         * sysdeps/generic/ldsodefs.h: Likewise.
5358         * sysdeps/i386/dl-tls.h: Likewise.
5359         * sysdeps/i386/setjmp.S: Likewise.
5360         * sysdeps/m68k/setjmp.c: Likewise.
5361         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5362         * sysdeps/mach/hurd/opendir.c: Likewise.
5363         * sysdeps/posix/getcwd.c: Likewise.
5364         * sysdeps/posix/opendir.c: Likewise.
5365         * sysdeps/posix/profil.c: Likewise.
5366         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5367         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5368         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5369         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5370         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5371         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5373         * sysdeps/s390/dl-tls.h: Likewise.
5374         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5375         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5376         * sysdeps/sh/sh3/setjmp.S: Likewise.
5377         * sysdeps/sh/sh4/setjmp.S: Likewise.
5378         * sysdeps/unix/alpha/sysdep.h: Likewise.
5379         * sysdeps/unix/arm/sysdep.S: Likewise.
5380         * sysdeps/unix/i386/sysdep.S: Likewise.
5381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5382         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5383         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5386         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5387         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5388         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5389         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5390         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5391         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5392         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5396         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5399         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5400         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5401         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5404         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5405         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5408         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5409         * sysdeps/x86_64/setjmp.S: Likewise.
5411         * include/math.h: Use IS_IN instead of IS_IN_libm.
5412         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5413         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5414         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5415         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5417         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5418         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5419         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5420         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5421         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5422         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5423         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5424         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5425         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5426         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5427         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5428         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5429         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5430         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5431         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5432         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5433         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5434         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5435         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5436         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5437         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5438         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5439         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5440         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5441         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5442         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5443         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5444         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5446         Likewise.
5447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5448         Likewise.
5449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5450         Likewise.
5451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5452         Likewise.
5453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5454         Likewise.
5455         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5456         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5457         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5458         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5459         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5460         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5466         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5467         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5468         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5469         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5470         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5471         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5472         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5473         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5474         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5475         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5479         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5481         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5483         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5484         * nptl/pthreadP.h: Likewise.
5485         * nptl_db/structs.def: Likewise.
5486         * sysdeps/arm/sysdep.h: Likewise.
5487         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5488         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5489         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5490         * sysdeps/unix/alpha/sysdep.h: Likewise.
5491         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5493         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5495         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5498         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5500         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5501         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5502         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5503         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5504         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5509         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5512         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5513         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5514         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5515         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5516         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5518         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5519         * nptl/pthreadP.h: Likewise.
5520         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5521         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5522         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5523         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5524         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5525         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5526         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5527         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5528         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5529         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5530         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5531         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5533         Likewise.
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5535         Likewise.
5536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5538         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5541         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5542         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5543         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5545         * dlfcn/dladdr.c: Use IS_IN.
5546         * dlfcn/dladdr1.c: Likewise.
5547         * dlfcn/dlclose.c: Likewise.
5548         * dlfcn/dlerror.c: Likewise.
5549         * dlfcn/dlinfo.c: Likewise.
5550         * dlfcn/dlmopen.c: Likewise.
5551         * dlfcn/dlopen.c: Likewise.
5552         * dlfcn/dlsym.c: Likewise.
5553         * dlfcn/dlvsym.c: Likewise.
5555         * include/ifaddrs.h: Use IS_IN.
5556         * inet/check_pf.c: Likewise.
5557         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5558         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5560         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5561         IS_IN_ldconfig.
5562         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5563         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5565         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5566         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5567         IS_IN (libc).
5569         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5571         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5572         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5573         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5574         * include/libc-symbols.h (IS_IN_LIB): New macro.
5575         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5576         * include/netdb.h: Likewise.
5577         * include/stap-probe.h: Remove all uses of IN_LIB.
5579         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5580         instead of IN_MODULE.
5581         * include/libc-symbols.h (IN_MODULE): Define using
5582         MODULE_NAME.
5583         (PASTE_NAME, PASTE_NAME1): New macros.
5584         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5585         of IN_LIB.
5586         (STAP_PROBE_ASM): Likewise.
5588 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5590         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5591         __mach_init in dlopened libc.
5593 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5595         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5596         * sysdeps/arm/preconfigure: Regenerate.
5598 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5600         * nptl/pthread_create.c (__pthread_create_2_1): Set
5601         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5602         when copying values from IATTR into PD.
5604 2014-11-21  Will Newton  <will.newton@linaro.org>
5605             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5607         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5608         Refactor inline-asm.  Also add comment.
5610         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5611         ElfW macro instead of hardcoded Elf64 types.
5612         (la_aarch64_gnu_pltenter): Likewise.
5613         * sysdeps/aarch64/dl-machine.h
5614         (elf_machine_runtime_setup): Use ElfW(Addr).
5616         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5617         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5618         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5619         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5620         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5621         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5622         (R_AARCH64_TLS_DTPMOD): This.
5623         (R_AARCH64_TLS_DTPREL64): Rename to ...
5624         (R_AARCH64_TLS_DTPREL): This.
5625         (R_AARCH64_TLS_TPREL64): Rename to ...
5626         (R_AARCH64_TLS_TPREL): This.
5627         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5628         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5629         R_AARCH64_TLS_TPREL64.
5630         (elf_machine_rela): Likewise.
5632 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5634         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5635         by setting it to 0.  64b atomics are not supported currently.
5637 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5639         [BZ #16469]
5640         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5641         search domain names.
5643 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5645         [BZ #16469]
5646         * NEWS: Update.
5647         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5648         trailing dot.
5649         * posix/tst-getaddrinfo5.c: New.
5650         * posix/Makefile (tests): Add it.
5652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5654         [BZ #14498]
5655         * NEWS: Fixed.
5656         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5657         after parsing line but before break_if_match.
5658         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5659         if there is a protocol mismatch.
5661 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5663         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5664         because the potential race is on the user-supplied stream.
5666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5668         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5669         string literal if not passed a buffer.
5670         * manual/job.texi (ctermid): Update reasoning, note deviation
5671         from posix, suggest mtasurace when not passed a buffer, for
5672         future non-preliminary safety notes.
5674 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5676         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5677         of not passing it a buffer.
5678         Reported by Peng Haitao.
5680 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5682         * manual/Makefile ($(objpfx)stamp-summary): Require
5683         check-safety.sh to pass.
5684         * manual/check-safety.sh: Wish for verification that every
5685         @deftypefn and @deftypefun is followed by a @safety remark.
5687 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5689         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5691         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5692         PTHREAD_CANCEL_ASYNCHRONOUS.
5693         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5694         send SIGCANCEL.
5696         * nptl/default-sched.h: New file.
5697         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5698         * nptl/pthread_create.c: Include it.
5699         (__pthread_create_2_1): Use collect_default_sched instead of making
5700         Linux syscalls here directly.
5702 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5704         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5705         __pthread_once): Use C11 atomics.
5707 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5709         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5711 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5713         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5714         atomic_thread_fence_acquire, atomic_thread_fence_release,
5715         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5716         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5717         atomic_compare_exchange_weak_relaxed,
5718         atomic_compare_exchange_weak_acquire,
5719         atomic_compare_exchange_weak_release,
5720         atomic_exchange_acquire, atomic_exchange_release,
5721         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5722         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5723         atomic_fetch_and_acquire,
5724         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5726 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5728         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5729         USE_ATOMIC_COMPILER_BUILTINS): Define.
5730         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5732         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5734         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5736         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5738         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5740         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5742         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5744         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5746         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5748         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5750         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5752         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5754         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5756         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5758         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5760         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5762         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5764         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5765         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5766         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5768         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5771 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5773         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5774         the sched_priority value here.  It was already checked when the user
5775         called pthread_attr_setschedparam.
5777         * nptl/tst-bad-schedattr.c: New file.
5778         * nptl/Makefile (tests): Add it.
5780 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5781             Florian Weimer  <fweimer@redhat.com>
5782             Joseph Myers  <joseph@codesourcery.com>
5783             Adam Conrad  <adconrad@0c3.net>
5784             Andreas Schwab  <schwab@suse.de>
5785             Brooks  <bmoses@google.com>
5787         [BZ #17625]
5788         * wordexp-test.c (__dso_handle): Add prototype.
5789         (__register_atfork): Likewise.
5790         (__app_register_atfork): New function.
5791         (registered_forks): New global.
5792         (register_fork): New function.
5793         (test_case): Add 3 new tests for WRDE_CMDSUB.
5794         (main): Call __app_register_atfork.
5795         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5796         fork count is non-zero fail the test.
5797         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5798         is set.
5799         (parse_dollars): Remove check for WRDE_NOCMD.
5800         (parse_dquote): Likewise.
5802 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5804         * Makeconfig (built-modules): List non-library modules to be
5805         built.
5806         (module-cppflags): Include libc-modules.h for
5807         everything except shlib-versions.v.i.
5808         (CPPFLAGS): Use it.
5809         (before-compile): Add libc-modules.h.
5810         ($(common-objpfx)libc-modules.h,
5811         $(common-objpfx)libc-modules.stmp): New targets.
5812         (common-generated): Add libc-modules.h and libc-modules.stmp.
5813         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5814         * include/libc-symbols.h: Don't include libc-modules.h.
5815         * include/libc-modules.h: Remove file.
5816         * scripts/gen-libc-modules.awk: New script to generate
5817         libc-modules.h.
5818         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5819         Depend on libc-modules.stmp.
5821         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5823         * Makeconfig (in-module): Get value of libof set for the
5824         translation unit.
5825         (CPPFLAGS): Use $(in-module).
5826         * Makerules: Don't suffix routine names for nonlib.
5827         * include/libc-modules.h: New file.
5828         * include/libc-symbols.h: Include libc-modules.h
5829         (IS_IN): New macro to replace IS_IN_* macros.
5830         * elf/Makefile: Set libof-* for each routine.
5831         * elf/rtld-Rules: Likewise.
5832         * extra-modules.mk: Likewise.
5833         * iconv/Makefile: Likewise.
5834         * iconvdata/Makefile: Likewise.
5835         * locale/Makefile: Likewise.
5836         * malloc/Makefile: Likewise.
5837         * nss/Makefile: Likewise.
5838         * sysdeps/gnu/Makefile: Likewise.
5839         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5840         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5841         * sysdeps/s390/s390-64/Makefile: Likewise.
5842         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5843         CPPFLAGS for nscd instead of nonlib.
5845 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5847         * nptl/createthread.c: New file.
5849         * nptl/createthread.c: Moved ...
5850         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5852         * nptl/createthread.c: Add proper top-line comment.
5853         (do_clone): Folded into ...
5854         (create_thread): ... here.  Take new arguments STOPPED_START and
5855         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5856         increment __nptl_threads, do event-reporting logic, do
5857         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5858         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5859         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5860         just send SIGCANCEL.
5861         * nptl/pthread_create.c: Forward-declare create_thread before
5862         including createthread.c.
5863         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5864         declaration, and new macro START_THREAD_SELF to replace argument.
5865         Remove return statement.
5866         (report_thread_creation): New function.
5867         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5868         synchronization logic, and __nptl_nthreads increment here, around
5869         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5870         PD->parent_cancelhandling here, before create_thread.  When
5871         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5872         __deallocate_stack, and ENOMEM translation here.
5874 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5876         [BZ #17616]
5877         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5878         (mptwo): Rename to __mptwo.
5879         (__inv): Use __mptwo instead of mptwo.
5880         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5881         (mptwo): Rename to __mptwo.
5882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5883         of mpone and __mptwo instead of mptwo.
5884         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5885         instead of mpone.
5886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5887         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5888         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5889         of mpone and __mptwo instead of mptwo.
5890         (__mpranred): Use __mpone instead of mpone.
5891         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5892         variable.
5893         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5894         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5895         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5896         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5897         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5898         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5899         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5900         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5901         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5902         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5903         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5904         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5905         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5906         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5907         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5908         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5909         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5910         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5911         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5913 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5915         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5916         replace BSD Handler xref with BSD Signal Handling.
5918 2014-11-17  Richard Henderson  <rth@redhat.com>
5920         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5921         (_FP_PACK_RAW_2): Remove.
5922         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5923         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5924         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5925         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5926         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5927         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5928         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5929         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5930         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5931         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5932         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5933         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5934         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5935         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5936         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5937         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5939 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5941         * signal/signal.h [__USE_MISC]
5942         (struct sigvec): Remove type.
5943         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5944         (sigvec): Remove declaration.
5945         * sysdeps/posix/sigvec.c: Moved ...
5946         * signal/sigvec.c: ... here, replacing old file.
5947         (struct sigvec): New type, copied from old signal.h definition.
5948         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5949         (__sigvec): Convert definition to prototype.
5950         (sigvec): Replace weak_alias with compat_symbol.
5951         * signal/Versions (libc: GLIBC_2.21): New version set.
5952         * include/signal.h: Remove __sigvec declaration.
5953         * sysdeps/unix/bsd/sigvec.c: Remove file.
5954         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5955         * manual/signal.texi (BSD Handler): Remove subsection.
5956         Move siginterrupt up to ...
5957         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5958         (Blocking in BSD): Fold subsection into its parent.
5959         * NEWS: Mention sigvec removal.
5961 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5963         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5964         (DLA_FMS): Make definition conditional only on [__FMA4__].
5965         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5966         definition.
5968         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5969         Make definition conditional only on [PROF].
5970         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5971         definition.
5972         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5973         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5975         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5976         !__GNUC__].
5977         * include/signal.h (__sigpause): Move declaration above call to
5978         libc_hidden_proto.
5979         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5980         variable.
5981         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5982         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5984 2014-11-14  David S. Miller  <davem@davemloft.net>
5986         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5987         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5989 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5991         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5992         * configure: Regenerated.
5993         * manual/install.texi (Tools for Compilation): Document a
5994         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5995         compiler verified to work.
5996         * INSTALL: Regenerated.
5998         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5999         redeclare with asm name.
6000         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6001         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6002         including <string.h>.
6003         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6004         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6005         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6006         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6007         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6009         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6011 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
6013         * stdlib/strtol.c (__strtol): Use prototype definition.
6015         [BZ #17594]
6016         * stdlib/strtol.c (SYM__): New macro.
6017         (SYM__1): Likewise.
6018         (__strtol): Likewise.
6019         (strtol): Rename to __strtol and define as weak alias of
6020         __strtol.  Use libc_hidden_weak.
6022 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6024         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6025         Use numbered labels in inline assembly.
6027 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6029         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6030         Add setjmp LIBC_PROBE.
6031         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6032         Likewise.
6033         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6034         Add longjmp, longjmp_target LIBC_PROBE.
6035         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6036         Likewise.
6038 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6040         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6041         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6042         to get rid of unused variable warning.
6044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6046         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6047         Check for unwind_backtrace ==  NULL only in SHARED case.
6048         (__backchain_backtrace): Compile only in SHARED case.
6049         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6050         Likewise.
6051         (__backchain_backtrace): Declare as static.
6053 2014-11-12  Roland McGrath  <roland@hack.frob.com>
6055         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6056         (__libc_multiple_threads_ptr): Variable moved ...
6057         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6059 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
6061         * conform/GlibcConform.pm: New file.
6062         * conform/conformtest.pl: Use GlibcConform module.
6063         * conform/linknamespace.pl: New file.
6064         * conform/list-header-symbols.pl: Likewise.
6065         * conform/Makefile (linknamespace-symlists-base): New variable.
6066         (linknamespace-symlists-tests): Likewise.
6067         (linknamespace-header-base): Likewise.
6068         (linknamespace-header-tests): Likewise.
6069         (tests-special): Add new tests.
6070         ($(linknamespace-symlists-tests)): New rule.
6071         (linknamespace-libs): New variable.
6072         ($(objpfx)symlist-stdlibs): New rule.
6073         ($(linknamespace-header-tests)): Likewise.
6074         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6075         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6076         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6077         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6078         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6079         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6080         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6081         (test-xfail-ISO/math.h/linknamespace): Likewise.
6082         (test-xfail-ISO/signal.h/linknamespace): Likewise.
6083         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6084         (test-xfail-ISO/time.h/linknamespace): Likewise.
6085         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6086         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6087         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6088         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6089         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6090         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6091         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6092         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6093         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6094         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6095         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6096         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6097         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6098         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6099         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6100         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6101         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6102         (test-xfail-XPG3/search.h/linknamespace): Likewise.
6103         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6104         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6105         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6106         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6107         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6108         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6109         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6110         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6111         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6112         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6113         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6114         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6115         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6116         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6117         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6118         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6119         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6120         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6121         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6122         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6123         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6124         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6125         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6126         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6127         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6128         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6129         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6130         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6131         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6132         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6133         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6134         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6135         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6136         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6137         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6138         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6139         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6140         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6141         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6142         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6143         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6144         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6145         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6146         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6147         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6148         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6149         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6150         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6151         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6152         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6153         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6154         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6155         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6156         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6157         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6158         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6159         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6160         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6161         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6162         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6163         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6164         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6165         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6166         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6167         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6168         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6169         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6170         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6171         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6172         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6173         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6174         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6175         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6176         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6177         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6178         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6179         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6180         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6181         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6182         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6183         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6184         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6185         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6186         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6187         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6188         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6189         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6190         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6191         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6192         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6193         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6194         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6195         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6196         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6197         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6198         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6199         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6200         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6201         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6202         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6203         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6204         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6205         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6206         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6207         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6208         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6209         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6210         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6211         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6212         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6213         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6214         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6215         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6216         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6217         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6218         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6219         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6220         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6221         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6222         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6223         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6224         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6225         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6226         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6227         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6228         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6229         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6230         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6231         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6232         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6233         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6234         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6236         [BZ #17589]
6237         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6238         of fgets_unlocked.
6240         [BZ #17585]
6241         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6242         (memmem): Rename to __memmem and define as weak alias of
6243         __memmem.  Use libc_hidden_weak.
6244         (__memmem): Use libc_hidden_def.
6245         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6246         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6247         memmem.
6249         [BZ #17582]
6250         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6251         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6252         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6253         and define as weak alias of __fgets_unlocked.  Use
6254         libc_hidden_weak.
6255         (__fgets_unlocked): Use libc_hidden_def.
6256         * include/stdio.h (__fgets_unlocked): Declare.  Use
6257         libc_hidden_proto.
6258         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6259         __fgets_unlocked instead of fgets_unlocked.
6260         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6261         (GET_NPROCS_CONF_PARSER): Likewise.
6262         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6263         (GET_NPROCS_CONF_PARSER): Likewise.
6265         [BZ #17574]
6266         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6267         weak alias of __wmemset.  Use libc_hidden_weak.
6268         (__wmemset): Use libc_hidden_def.
6269         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6270         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6271         of wmemset.
6273         [BZ #17573]
6274         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6275         with asm name __mempcpy.
6276         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6278         [BZ #17572]
6279         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6280         and define as weak alias of __rawmemchr.
6281         (__rawmemchr): Do not define as strong alias of rawmemchr.
6283         [BZ #17571]
6284         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6285         alias of __qsort_r.
6286         (qsort): Call __qsort_r instead of qsort_r.
6287         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6288         (__qsort_r): Declare.  Call libc_hidden_proto.
6289         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6290         instead of qsort_r.
6291         * nscd/gai.c (__qsort_r): Define to qsort_r.
6292         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6293         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6294         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6296         [BZ #17570]
6297         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6298         define as weak alias of __malloc_info.
6300         [BZ #17584]
6301         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6302         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6303         (__rewinddir): Use libc_hidden_def.
6304         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6305         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6306         (__rewinddir): Use libc_hidden_def.
6307         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6308         weak alias of __rewinddir.  Don't use libc_hidden_def.
6309         (__rewinddir): Use libc_hidden_def.
6310         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6311         (__rewinddir): Use libc_hidden_proto.
6312         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6313         rewinddir.
6314         (__getcwd): Use __rewinddir instead of rewinddir.
6316         [BZ #17583]
6317         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6318         alias of __fileno.  Use libc_hidden_weak.
6319         (__fileno): Use libc_hidden_def.
6320         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6321         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6322         alias of __ftello.
6323         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6324         __ftello.
6325         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6326         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6327         libc_hidden_def.
6328         (fread_unlocked): Don't use libc_hidden_ver.
6329         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6330         and define as weak alias of __fread_unlocked.  Don't use
6331         libc_hidden_def.
6332         (__fread_unlocked): Use libc_hidden_def.
6333         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6334         (ftello): Don't use libc_hidden_proto.
6335         (__ftello): Declare.  Use libc_hidden_proto.
6336         (fread_unlocked): Don't use libc_hidden_proto.
6337         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6338         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6339         and __ftello instead of fileno, fread_unlocked and ftello.
6341 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6343         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6344         GOT12.
6345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6346         Likewise.
6347         (_dl_start_user): Likewise.
6348         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6350 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6351             Siddhesh Poyarekar  <siddhesh@redhat.com>
6353         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6354         Move argv and envp down instead of moving argc up.
6355         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6357 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6359         [BZ #17506]
6360         * test-skeleton.c (main): Return successful if one of
6361         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6362         * string/tst-strcoll-overflow.c: Define expected status.
6364 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6366         [BZ #17475]
6367         * locale/iso-639.def: Define Bhili and Tulu language codes.
6369 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6371         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6373 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6375         [BZ #17555]
6376         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6378 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6380         * configure.ac: Updated check of minimal required version to
6381         2.22.
6382         * manual/install.texi (Tools for Compilation): Updated version
6383         number.
6384         * configure: Regenerated.
6385         * INSTALL: Likewise.
6387 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6389         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6390         __tls_get_addr.
6392 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6394         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6395         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6396         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6397         libc_hidden_weak.
6398         (waitpid): Define as alias of __waitpid.
6399         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6400         __waitpid.
6401         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6402         libc_hidden_weak.
6403         (waitpid): Define as alias of __waitpid.
6404         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6405         __libc_waitpid alias.
6406         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6407         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6408         Likewise.
6409         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6410         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6411         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6412         alias.
6413         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6414         __waitpid.
6415         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6416         libc_hidden_weak.
6417         (waitpid): Define as alias of __waitpid.
6419 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6421         * manual/llio.texi: Add comment that write safety has been
6422         fixed in Linux.
6424         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6425         (localplt-build-dso): Add elf/ld.so.
6426         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6427         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6428         and free for ld.so.
6429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6430         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6432         Likewise.
6433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6434         Likewise.
6435         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6436         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6437         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6438         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6439         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6440         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6441         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6442         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6443         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6444         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6445         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6447 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6449         [BZ #14132]
6450         * include/libc-symbols.h (INTUSE): Remove macro.
6451         (INTDEF): Likewise.
6452         (INTVARDEF): Likewise.
6453         (_INTVARDEF): Likewise.
6454         (INTDEF2): Likewise.
6455         (INTVARDEF2): Likewise.
6456         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6457         rtld_hidden_def instead of INTVARDEF.
6458         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6459         (_dl_starting_up_internal): Remove declaration.
6460         (_dl_starting_up): Use rtld_hidden_proto.
6461         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6462         declaration.
6463         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6464         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6465         _dl_starting_up.
6466         * elf/dl-writev.h (_dl_writev): Likewise.
6467         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6468         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6469         _dl_starting_up_internal.
6471 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6473         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6474         test-skeleton.c.
6476 2014-11-05  Will Newton  <will.newton@linaro.org>
6478         * benchtests/Makefile: (bench-malloc): Add malloc thread
6479         scalability benchmark.
6480         * benchtests/bench-malloc-threads.c: New file.
6482 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6484         * sysdeps/aarch64/strchrnul.S: New file.
6486 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6488         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6489         definition.
6490         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6491         Likwise.
6492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6493         Likewise.
6494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6495         Likewise.
6496         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6497         Likewise.
6498         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6499         Likewise.
6501 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6503         * catgets/test-gencat.c: Use test-skeleton.c.
6504         * catgets/tst-catgets.c: Likewise.
6505         * csu/tst-empty.c: Likewise.
6506         * elf/tst-audit2.c: Likewise.
6507         * elf/tst-global1.c: Likewise.
6508         * elf/tst-pathopt.c: Likewise.
6509         * elf/tst-piemod1.c: Likewise.
6510         * elf/tst-tls10.c: Likewise.
6511         * elf/tst-tls11.c: Likewise.
6512         * elf/tst-tls12.c: Likewise.
6513         * gnulib/tst-gcc.c: Likewise.
6514         * iconvdata/tst-e2big.c: Likewise.
6515         * iconvdata/tst-loading.c: Likewise.
6516         * iconv/tst-iconv1.c: Likewise.
6517         * iconv/tst-iconv2.c: Likewise.
6518         * inet/test-inet6_opt.c: Likewise.
6519         * inet/tst-gethnm.c: Likewise.
6520         * inet/tst-network.c: Likewise.
6521         * inet/tst-ntoa.c: Likewise.
6522         * intl/tst-codeset.c: Likewise.
6523         * intl/tst-gettext2.c: Likewise.
6524         * intl/tst-gettext3.c: Likewise.
6525         * intl/tst-ngettext.c: Likewise.
6526         * intl/tst-translit.c: Likewise.
6527         * io/test-stat.c: Likewise.
6528         * libio/test-fmemopen.c: Likewise.
6529         * libio/tst-freopen.c: Likewise.
6530         * libio/tst-sscanf.c: Likewise.
6531         * libio/tst-ungetwc1.c: Likewise.
6532         * libio/tst-ungetwc2.c: Likewise.
6533         * libio/tst-widetext.c: Likewise.
6534         * localedata/tst-ctype.c: Likewise.
6535         * localedata/tst-digits.c: Likewise.
6536         * localedata/tst-leaks.c: Likewise.
6537         * localedata/tst-mbswcs1.c: Likewise.
6538         * localedata/tst-mbswcs2.c: Likewise.
6539         * localedata/tst-mbswcs3.c: Likewise.
6540         * localedata/tst-mbswcs4.c: Likewise.
6541         * localedata/tst-mbswcs5.c: Likewise.
6542         * localedata/tst-setlocale.c: Likewise.
6543         * localedata/tst-trans.c: Likewise.
6544         * localedata/tst-wctype.c: Likewise.
6545         * localedata/tst-xlocale1.c: Likewise.
6546         * login/tst-grantpt.c: Likewise.
6547         * malloc/tst-calloc.c: Likewise.
6548         * malloc/tst-malloc.c: Likewise.
6549         * malloc/tst-mallocstate.c: Likewise.
6550         * malloc/tst-mcheck.c: Likewise.
6551         * malloc/tst-mtrace.c: Likewise.
6552         * malloc/tst-obstack.c: Likewise.
6553         * math/atest-exp2.c: Likewise.
6554         * math/atest-exp.c: Likewise.
6555         * math/atest-sincos.c: Likewise.
6556         * math/test-matherr.c: Likewise.
6557         * math/test-misc.c: Likewise.
6558         * math/test-powl.c: Likewise.
6559         * math/tst-definitions.c: Likewise.
6560         * misc/tst-dirname.c: Likewise.
6561         * misc/tst-efgcvt.c: Likewise.
6562         * misc/tst-fdset.c: Likewise.
6563         * misc/tst-hsearch.c: Likewise.
6564         * misc/tst-mntent2.c: Likewise.
6565         * nptl/tst-sem7.c: Likewise.
6566         * nptl/tst-sem8.c: Likewise.
6567         * nptl/tst-sem9.c: Likewise.
6568         * nss/test-netdb.c: Likewise.
6569         * posix/tst-fnmatch.c: Likewise.
6570         * posix/tst-getlogin.c: Likewise.
6571         * posix/tst-gnuglob.c: Likewise.
6572         * posix/tst-mmap.c: Likewise.
6573         * pwd/tst-getpw.c: Likewise.
6574         * resolv/tst-inet_ntop.c: Likewise.
6575         * rt/tst-timer.c: Likewise.
6576         * stdio-common/test-fseek.c: Likewise.
6577         * stdio-common/test-popen.c: Likewise.
6578         * stdio-common/test-vfprintf.c: Likewise.
6579         * stdio-common/tst-cookie.c: Likewise.
6580         * stdio-common/tst-fileno.c: Likewise.
6581         * stdio-common/tst-gets.c: Likewise.
6582         * stdio-common/tst-obprintf.c: Likewise.
6583         * stdio-common/tst-perror.c: Likewise.
6584         * stdio-common/tst-sprintf2.c: Likewise.
6585         * stdio-common/tst-sprintf3.c: Likewise.
6586         * stdio-common/tst-sprintf.c: Likewise.
6587         * stdio-common/tst-swprintf.c: Likewise.
6588         * stdio-common/tst-tmpnam.c: Likewise.
6589         * stdio-common/tst-unbputc.c: Likewise.
6590         * stdio-common/tst-wc-printf.c: Likewise.
6591         * stdlib/tst-environ.c: Likewise.
6592         * stdlib/tst-fmtmsg.c: Likewise.
6593         * stdlib/tst-limits.c: Likewise.
6594         * stdlib/tst-rand48-2.c: Likewise.
6595         * stdlib/tst-rand48.c: Likewise.
6596         * stdlib/tst-random2.c: Likewise.
6597         * stdlib/tst-random.c: Likewise.
6598         * stdlib/tst-strtol.c: Likewise.
6599         * stdlib/tst-strtoll.c: Likewise.
6600         * stdlib/tst-tls-atexit.c: Likewise.
6601         * stdlib/tst-xpg-basename.c: Likewise.
6602         * string/test-ffs.c: Likewise.
6603         * string/tst-bswap.c: Likewise.
6604         * string/tst-inlcall.c: Likewise.
6605         * string/tst-strtok.c: Likewise.
6606         * string/tst-strxfrm.c: Likewise.
6607         * sysdeps/x86_64/tst-audit10.c: Likewise.
6608         * sysdeps/x86_64/tst-audit3.c: Likewise.
6609         * sysdeps/x86_64/tst-audit4.c: Likewise.
6610         * sysdeps/x86_64/tst-audit5.c: Likewise.
6611         * time/tst-ftime_l.c: Likewise.
6612         * time/tst-getdate.c: Likewise.
6613         * time/tst-mktime3.c: Likewise.
6614         * time/tst-mktime.c: Likewise.
6615         * time/tst-posixtz.c: Likewise.
6616         * time/tst-strptime2.c: Likewise.
6617         * time/tst-strptime3.c: Likewise.
6618         * wcsmbs/tst-btowc.c: Likewise.
6619         * wcsmbs/tst-mbrtowc.c: Likewise.
6620         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6621         * wcsmbs/tst-wchar-h.c: Likewise.
6622         * wcsmbs/tst-wcpncpy.c: Likewise.
6623         * wcsmbs/tst-wcrtomb.c: Likewise.
6624         * wcsmbs/tst-wcsnlen.c: Likewise.
6625         * wcsmbs/tst-wcstof.c: Likewise.
6627 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6629         [BZ #14132]
6630         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6631         INTDEF.
6632         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6633         declaration.
6634         (_dl_mcount): Use rtld_hidden_proto.
6635         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6636         _dl_mcount.
6637         * elf/rtld.c (_rtld_global_ro): Likewise.
6639         [BZ #14132]
6640         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6641         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6642         of _dl_init_internal.
6643         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6644         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6645         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6646         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6647         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6648         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6649         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6650         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6651         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6652         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6653         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6654         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6655         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6656         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6657         * sysdeps/tile/dl-start.S (_start): Likewise.
6658         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6659         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6661         [BZ #14132]
6662         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6663         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6664         (rtld_progname): Make macro definition unconditional.
6665         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6666         INTDEF.
6667         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6668         (dl_main): Likewise.
6669         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6670         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6671         instead of _dl_argv_internal.
6672         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6673         __GI__dl_argv instead of INTUSE(_dl_argv).
6674         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6675         __GI__dl_argv instead of _dl_argv_internal.
6677         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6678         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6679         macro.
6680         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6681         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6682         New macro.
6683         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6684         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6685         macro.
6686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6687         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6689 2014-11-04  Andreas Schwab  <schwab@suse.de>
6691         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6693 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6695         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6696         mtvsrd instruction in binary form.
6698 2014-11-03  Andreas Schwab  <schwab@suse.de>
6700         [BZ #17522]
6701         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6702         for less than MB_LEN_MAX use a local buffer of that size.
6703         * libio/tst-fputws.c: New file.
6704         * libio/Makefile (tests): Add tst-fputws.
6706 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6708         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6709         the size of the fpu_fr.fpu_dregs[] array.
6711 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6713         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6714         (__nanosleep): Do not define as alias.
6715         (nanosleep): Define as alias of __nanosleep.
6716         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6717         __libc_nanosleep name.
6719 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6721         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6722         install.texi in comment.
6724 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6726         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6727         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6728         ... add here and use lwsync or sync ...
6729         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6730         ... and add here using lwsync.
6732 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6734         * elf/dl-machine-reject-phdr.h: New file.
6735         * elf/dl-load.c: #include that.
6736         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6737         if that returned true.
6739 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6741         [BZ #17496]
6742         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6743         gen-as-const-headers chunk.  Add a big scare comment after the last
6744         safe place to touch before-compile.
6746 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6748         * manual/install.texi (Tools for Compilation): Update autoconf
6749         version requirements.
6750         * INSTALL: Regenerated.
6752         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6753         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6754         (__libc_pselect): Likewise.
6756         [BZ #14138]
6757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6762 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6764         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6765         correct barrier instruction.
6766         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6767         Likewise.
6768         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6769         Likewise.
6771 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6773         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6774         after defining inlines.  Instead, just use parens to defeat macro
6775         expansion of __isctype in its declaration.
6777 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6779         * include/sys/uio.h (__libc_readv): Remove declaration.
6780         (__libc_writev): Likewise.
6781         * misc/readv.c (__libc_readv): Rename to __readv.
6782         (__readv): Do not define as alias.
6783         (readv): Define as alias of __readv.
6784         * misc/writev.c (__libc_writev): Rename to __writev.
6785         (__writev): Do not define as alias.
6786         (writev): Define as alias of __writev.
6787         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6788         (__readv): Do not define as alias.
6789         (readv): Define unconditionally as alias of __readv.
6790         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6791         (__writev): Do not define as alias.
6792         (writev): Define unconditionally as alias of __writev.
6793         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6794         name.
6795         (writev): Do not define __libc_writev name.
6797 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6799         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6800         (convert_charseq): New function, broken out of ...
6801         (use_from_charmap): ... here.  Call it.
6802         (use_to_charmap): Use convert_charseq and free instead of duplicating
6803         its code with a variable-length stack struct.
6805 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6807         * include/fcntl.h (__libc_creat): Remove declaration.
6808         * io/creat.c (__libc_creat): Rename to creat.
6809         (creat): Do not define as alias.
6810         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6811         of creat instead of __libc_creat.
6812         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6813         to creat.
6814         (creat): Do not define as alias.
6815         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6816         __libc_creat.
6817         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6818         __libc_creat name.
6819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6820         Likewise.
6822 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6824         * manual/llio.texi: Add comments discussing why write() may be
6825         considered MT-unsafe on Linux.
6827 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6829         * dl-load.c (local_strdup): Remove.
6830         (expand_dynamic_string_token): Use __strdup.
6831         (decompose_rpath): Likewise.
6832         (_dl_map_object): Likewise.
6834 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6836         [BZ #14132]
6837         * sysdeps/generic/unwind-dw2-fde.c
6838         (__register_frame_info_bases_internal): Do not declare.
6839         (__register_frame_info_table_bases_internal): Likewise.
6840         (__deregister_frame_info_bases_internal): Likewise.
6841         (__register_frame_info_bases): Declare and use hidden_proto before
6842         definition.  Use hidden_def instead of INTDEF.
6843         (__register_frame_info_table_bases): Likewise.
6844         (__deregister_frame_info_bases): Likewise.
6845         (__register_frame_info): Do not use INTUSE.
6846         (__register_frame): Likewise.
6847         (__register_frame_info_table): Likewise.
6848         (__register_frame_table): Likewise.
6849         (__deregister_frame_info): Likewise.
6850         (__deregister_frame): Likewise.
6852 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6855         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6856         not undefine.
6857         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6858         Likewise.
6859         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6860         Likewise.
6862 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6864         [BZ #14138]
6865         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6866         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6867         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6868         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6869         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6870         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6871         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6872         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6873         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6874         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6875         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6876         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6877         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6878         syscall.
6879         (setfsuid): Likewise.
6880         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6881         (setfsuid): Likewise.
6882         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6883         (setfsuid): Likewise.
6884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6885         Likewise.
6886         (setfsuid): Likewise.
6887         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6888         (setfsuid): Likewise.
6889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6890         Likewise.
6891         (setfsuid): Likewise.
6893 2014-10-27  Andreas Schwab  <schwab@suse.de>
6895         [BZ #17501]
6896         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6897         check for Slow_SSE4_2 feature bit.
6898         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6899         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6900         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6901         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6903 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6905         * configure.ac: Validate compiler version with a empirical test of
6906         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6907         $CC -v output.
6908         * configure: Regenerated.
6910         * inet/htons.c (htons): Prototypify.
6911         * inet/htonl.c (htonl): Likewise.
6913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6915         * string/strncat.c (strncat): Improve performance by using strlen.
6917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6919         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6923         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6924         Call libc_fetestexcept_aarch64.
6926 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6928         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6929         Call libc_feholdexcept_aarch64.
6931 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6933         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6934         Call get_rounding_mode.
6936 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6938         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6939         Simplify logic.
6941 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6943         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6944         Simplify logic.
6946 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6948         [BZ #14138]
6949         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6950         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6951         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6952         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6953         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6954         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6955         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6956         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6957         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6958         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6959         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6960         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6961         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6962         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6963         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6964         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6965         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6966         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6967         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6968         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6969         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6970         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6971         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6972         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6973         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6974         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6975         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6976         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6977         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6978         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6979         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6980         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6981         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6982         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6983         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6984         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6985         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6986         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6987         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6988         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6989         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6990         syscall.
6991         (geteuid): Likewise.
6992         (getgid): Likewise.
6993         (getuid): Likewise.
6994         (getresgid): Likewise.
6995         (getresuid): Likewise.
6996         (getgroups): Likewise.
6997         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6998         (geteuid): Likewise.
6999         (getgid): Likewise.
7000         (getuid): Likewise.
7001         (getresgid): Likewise.
7002         (getresuid): Likewise.
7003         (getgroups): Likewise.
7004         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7005         (geteuid): Likewise.
7006         (getgid): Likewise.
7007         (getuid): Likewise.
7008         (getresgid): Likewise.
7009         (getresuid): Likewise.
7010         (getgroups): Likewise.
7011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7012         Likewise.
7013         (geteuid): Likewise.
7014         (getgid): Likewise.
7015         (getuid): Likewise.
7016         (getresgid): Likewise.
7017         (getresuid): Likewise.
7018         (getgroups): Likewise.
7019         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7020         (geteuid): Likewise.
7021         (getgid): Likewise.
7022         (getuid): Likewise.
7023         (getresgid): Likewise.
7024         (getresuid): Likewise.
7025         (getgroups): Likewise.
7026         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7027         Likewise.
7028         (geteuid): Likewise.
7029         (getgid): Likewise.
7030         (getuid): Likewise.
7031         (getgroups): Likewise.
7033         [BZ #14138]
7034         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7035         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7036         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7037         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7038         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7039         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7040         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7041         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7042         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7043         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7044         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7045         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7046         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7047         __chown.
7048         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7049         (lchown): Likewise.
7050         (fchown): Likewise.
7051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7052         Likewise.
7053         (lchown): Likewise.
7054         (fchown): Likewise.
7055         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7056         (lchown): Likewise.
7057         (fchown): Likewise.
7058         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7059         Likewise.
7060         (lchown): Likewise.
7061         (fchown): Likewise.
7063 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7065         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7066         Simplify logic.
7068 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7070         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7071         Cleanup logic.
7073 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7075         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7076         Remove unused include.
7078 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7080         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7081         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7082         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7083         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7085 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
7086             Helge Deller <deller@gmx.de>
7088         [BZ #17508]
7089         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7090         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7091         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7093 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #14132]
7096         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7097         Remove macro definition.
7098         (__ashrdi3_v_glibc20): Likewise.
7099         (__lshrdi3_v_glibc20): Likewise.
7100         (__cmpdi2_v_glibc20): Likewise.
7101         (__ucmpdi2_v_glibc20): Likewise.
7102         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7103         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7104         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7105         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7106         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7107         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7109 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7111         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7112         old GNU extension [0] syntax.
7113         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7114         alloca rather than an array member with variable length.
7115         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7116         * nscd/nscd.c (invalidate_db): New function, broken out of ...
7117         (parse_opt): ... here.  Likewise use alloca there.
7118         Validate the -i argument before checking for rootness.
7119         (send_shutdown): New function, broken out of ...
7120         (parse_opt): ... here.
7122 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7124         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7125         macro to get at the _rt_local_ro field.
7126         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7127         ([PIC] case) or _dl_hwcap ([!PIC] case).
7128         * sysdeps/arm/setjmp.S: Likewise.
7130         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7131         * sysdeps/arm/configure.ac: New check to define it.
7132         * sysdeps/arm/configure: Regenerated.
7133         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7134         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7135         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7136         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7137         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7138         Use move/movt pair instead of a load.
7139         (LDST_GLOBAL): Macro removed.
7140         (LDR_GLOBAL): New macro replaces it.
7141         (LDR_HIDDEN): New macro.
7142         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7143         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7145         * setjmp/tst-setjmp-static.c: New file.
7146         * setjmp/Makefile (tests): Add it.
7147         (tests-static): New variable.
7149 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
7151         [BZ #17485]
7152         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7154 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
7156         [BZ #14132]
7157         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7159 2014-10-21  Roland McGrath  <roland@hack.frob.com>
7161         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7163 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7165         * io/fts.c (dirent_not_directory): New function.
7166         (fts_build): Call it.
7168 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7170         * nptl/version.c (__nptl_main): Use normal __write rather than
7171         INTERNAL_SYSCALL.
7172         (banner): Update copyright years.
7174         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7175         gettimeofday.
7176         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7177         * nptl/pthread_cond_timedwait.c: Likewise.
7178         * nptl/pthread_mutex_timedlock.c: Likewise.
7179         * nptl/sem_timedwait.c: Likewise.
7181         * sysdeps/nptl/bits/libc-lock.h
7182         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7183         (__libc_lock_init_recursive): Return void, not 0.
7184         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7185         (__libc_rwlock_init): Likewise.
7186         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7188 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7190         [BZ #15215]
7191         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7192         (__pthread_once_slow): ... here.
7193         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7194         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7196 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7198         [BZ #15215]
7199         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7200         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7201         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7202         * nptl/pthread_once.c (__pthread_once): Likewise.
7203         Update comments.
7205 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7207         [BZ #14138]
7208         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7209         name.
7210         (writev): Use __libc_writev as strong name.
7211         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7212         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7214 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7216         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7218         * sysdeps/i386/nptl/tls.h
7219         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7220         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7221         New macros.
7222         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7223         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7224         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7225         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7226         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7227         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7229         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7230         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7231         on [__NR_futex].
7232         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7233         broken out of ...
7234         (__pthread_mutex_init): ... here.  Call it.
7235         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7236         Conditionalize PI cases on [__NR_futex].
7237         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7238         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7239         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7241         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7242         conditional on [SIGSETXID].
7243         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7244         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7245         is defined.  Likewise for SIGSETXID.
7246         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7247         Conditionalize definitions on [SIGSETXID].
7248         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7249         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7250         unblocking on [SIGCANCEL].
7252         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7253         [__NR_set_robust_list].
7255 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7257         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7258         (do_compare): Likewise.
7260 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7262         [BZ #15884]
7263         * string/strcoll_l.c: Don't include stdio.h.
7264         (coll_seq): Remove members idxarr and rulearr.
7265         (get_next_seq_cached): Remove function.
7266         (get_next_seq): Likewise.
7267         (get_next_seq_nocache): Rename to get_next_seq.
7268         (do_compare): Remove function.
7269         (do_compare_nocache): Rename to do_compare.
7270         (STRCOLL): Remove weight and rules cache.
7272 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7274         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7275         * sysdeps/arm/sfp-machine.h: ... to here.
7276         * sysdeps/arm/Implies: Remove arm/soft-fp.
7278 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7280         * conform/data/sys/utsname.h-data (*_t): Allow.
7281         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7282         [POSIX] (WEXITED): Do not expect constant.
7283         [POSIX] (WSTOPPED): Likewise.
7284         [POSIX] (WNOHANG): Likewise.
7285         [POSIX] (WNOWAIT): Likewise.
7286         [POSIX] (siginfo_t): Do not expect type or elements.
7287         [POSIX] (pid_t): Do not expect type.
7288         [POSIX] (signal.h): Do not allow header.
7289         [POSIX] (sys/resource.h): Likewise.
7290         [POSIX] (si_*): Do not allow pattern.
7291         [POSIX] (W*): Likewise.
7292         [POSIX] (P_*): Likewise.
7293         [POSIX] (BUS_*): Likewise.
7294         [POSIX] (CLD_*): Likewise.
7295         [POSIX] (FPE_*): Likewise.
7296         [POSIX] (ILL_*): Likewise.
7297         [POSIX] (POLL_*): Likewise.
7298         [POSIX] (SEGV_*): Likewise.
7299         [POSIX] (SI_*): Likewise.
7300         [POSIX] (TRAP_*): Likewise.
7301         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7302         variable.
7304 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7306         [BZ #12926]
7307         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7308         infinite loop when __recvmsg returns 0.
7310 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7312         * CANCEL-FCT-WAIVE: Remove file.
7313         * CANCEL-FILE-WAIVE: Likewise.
7315         [BZ #14132]
7316         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7317         instead of INTVARDEF.
7318         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7319         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7320         rtld_hidden_data_def instead of INTVARDEF.
7321         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7322         * elf/dl-deps.c (expand_dst): Likewise.
7323         * elf/dl-load.c (_dl_dst_count): Likewise.
7324         (_dl_dst_substitute): Likewise.
7325         (decompose_rpath): Likewise.
7326         (_dl_init_paths): Likewise.
7327         (open_path): Likewise.
7328         (_dl_map_object): Likewise.
7329         * elf/rtld.c (dl_main): Likewise.
7330         (process_dl_audit): Likewise.
7331         (process_envvars): Likewise.
7332         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7333         Remove declaration.
7334         (__libc_enable_secure): Use rtld_hidden_proto.
7336 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7338         * elf/dl-load.c
7339         (add_path): New function broken out of _dl_rtld_di_serinfo.
7340         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7342 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7344         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7345         parentheses around macro arguments.
7346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7349         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7357         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7358         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7359         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7361         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7362         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7375         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7376         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7379         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7380         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7381         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7382         Likewise.
7383         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7387         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7390         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7391         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7392         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7393         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7394         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7395         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7404         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7409         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7410         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7411         (_FP_FRAC_SRS_1): Likewise.
7412         (_FP_FRAC_CLZ_1): Likewise.
7413         (_FP_MUL_MEAT_1_imm): Likewise.
7414         (_FP_MUL_MEAT_1_wide): Likewise.
7415         (_FP_MUL_MEAT_1_hard): Likewise.
7416         (_FP_SQRT_MEAT_1): Likewise.
7417         (_FP_FRAC_ASSEMBLE_1): Likewise.
7418         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7419         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7420         (__FP_CLZ_2): Likewise.
7421         (_FP_MUL_MEAT_2_wide): Likewise.
7422         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7423         (_FP_MUL_MEAT_2_gmp): Likewise.
7424         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7425         (_FP_SQRT_MEAT_2): Likewise.
7426         (_FP_FRAC_ASSEMBLE_2): Likewise.
7427         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7428         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7429         (_FP_FRAC_CLZ_4): Likewise.
7430         (_FP_MUL_MEAT_4_wide): Likewise.
7431         (_FP_MUL_MEAT_4_gmp): Likewise.
7432         (_FP_SQRT_MEAT_4): Likewise.
7433         (_FP_FRAC_ASSEMBLE_4): Likewise.
7434         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7435         * soft-fp/op-common.h (_FP_CMP): Likewise.
7436         (_FP_CMP_EQ): Likewise.
7437         (_FP_CMP_UNORD): Likewise.
7438         (_FP_TO_INT): Likewise.
7439         (_FP_FROM_INT): Likewise.
7440         [!__FP_CLZ] (__FP_CLZ): Likewise.
7441         (_FP_DIV_HELP_imm): Likewise.
7442         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7443         Likewise.
7444         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7447         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7455         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7456         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7457         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7458         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7459         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7460         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7473         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7474         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7475         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7476         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7477         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7478         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7479         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7480         (FP_UNPACK_RAW_SP): Likewise.
7481         (FP_PACK_RAW_S): Likewise.
7482         (FP_PACK_RAW_SP): Likewise.
7483         (FP_UNPACK_S): Likewise.
7484         (FP_UNPACK_SP): Likewise.
7485         (FP_UNPACK_SEMIRAW_S): Likewise.
7486         (FP_UNPACK_SEMIRAW_SP): Likewise.
7487         (FP_PACK_S): Likewise.
7488         (FP_PACK_SP): Likewise.
7489         (FP_PACK_SEMIRAW_S): Likewise.
7490         (FP_PACK_SEMIRAW_SP): Likewise.
7491         (_FP_SQRT_MEAT_S): Likewise.
7492         (FP_CMP_S): Likewise.
7493         (FP_CMP_EQ_S): Likewise.
7494         (FP_CMP_UNORD_S): Likewise.
7495         (FP_TO_INT_S): Likewise.
7496         (FP_FROM_INT_S): Likewise.
7498         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7500         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7501         (FP_EX_INVALID_IMZ): Likewise.
7502         (FP_EX_INVALID_IMZ_FMA): Likewise.
7503         (FP_EX_INVALID_ISI): Likewise.
7504         (FP_EX_INVALID_ZDZ): Likewise.
7505         (FP_EX_INVALID_IDI): Likewise.
7506         (FP_EX_INVALID_SQRT): Likewise.
7507         (FP_EX_INVALID_CVI): Likewise.
7508         (FP_EX_INVALID_VC): Likewise.
7509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7510         "invalid" exceptions.
7511         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7512         (_FP_ADD_INTERNAL): Likewise.
7513         (_FP_MUL): Likewise.
7514         (_FP_FMA): Likewise.
7515         (_FP_DIV): Likewise.
7516         (_FP_CMP_CHECK_NAN): Likewise.
7517         (_FP_SQRT): Likewise.
7518         (_FP_TO_INT): Likewise.
7519         (FP_EXTEND): Likewise.
7521 2014-10-09  Allan McRae  <allan@archlinux.org>
7523         * po/fr.po: Update French translation from translation project.
7525 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7527         [BZ #14132]
7528         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7529         of INTDEF.
7530         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7531         (__cxa_atexit): Use libc_hidden_proto.
7532         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7534         [BZ #14132]
7535         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7536         declaration.
7537         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7538         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7539         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7540         [!_ISOMAC] (__iswctype_internal): Likewise.
7541         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7542         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7543         alias.
7544         (fcntl): Remove __fcntl_internal alias.
7545         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7546         __connect_internal alias.
7547         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7548         Likewise.
7550         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7551         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7552         FP_DENORM_ZERO.
7553         (_FP_CHECK_FLUSH_ZERO): New macro.
7554         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7555         (_FP_CMP): Likewise.
7556         (_FP_CMP_EQ): Likewise.
7557         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7558         FP_DENORM_ZERO.
7559         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7560         (FP_TRUNC): Likewise.
7562         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7563         treated as invalid conversion, not as normal exponent.
7565         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7566         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7567         (_FP_CMP_EQ): Likewise.
7568         (_FP_CMP_UNORD): Likewise.
7569         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7570         (FP_CMP_EQ_D): Likewise.
7571         (FP_CMP_UNORD_D): Likewise.
7572         * soft-fp/extended.h (FP_CMP_E): Likewise.
7573         (FP_CMP_EQ_E): Likewise.
7574         (FP_CMP_UNORD_E): Likewise.
7575         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7576         (FP_CMP_EQ_Q): Likewise.
7577         (FP_CMP_UNORD_Q): Likewise.
7578         * soft-fp/single.h (FP_CMP_S): Likewise.
7579         (FP_CMP_EQ_S): Likewise.
7580         (FP_CMP_UNORD_S): Likewise.
7581         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7582         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7583         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7584         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7585         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7586         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7587         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7588         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7589         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7590         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7591         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7592         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7593         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7594         to FP_CMP_Q.
7595         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7596         FP_CMP_Q.
7597         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7598         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7599         FP_CMP_EQ_Q.
7600         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7601         FP_CMP_Q.
7602         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7603         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7604         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7605         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7606         FP_CMP_EQ_Q.
7607         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7608         FP_CMP_Q.
7609         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7610         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7611         FP_CMP_EQ_Q.
7612         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7613         FP_CMP_Q.
7614         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7615         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7616         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7617         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7618         FP_CMP_EQ_Q.
7620         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7621         a subnormal result, set the underflow exception if trapping on
7622         underflow is enabled.
7623         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7624         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7625         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7626         redefine to 0.
7627         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7628         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7629         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7630         * soft-fp/extendxftf2.c (__extendxftf2): Use
7631         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7633         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7634         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7635         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7636         FP_HANDLE_EXCEPTIONS.
7637         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7638         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7639         FP_HANDLE_EXCEPTIONS.
7640         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7641         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7642         FP_HANDLE_EXCEPTIONS.
7643         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7644         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7645         FP_HANDLE_EXCEPTIONS.
7647 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7649         [BZ #14132]
7650         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7651         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7652         use INTUSE.
7653         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7654         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7655         Remove alias.
7656         (__adjtimex): Define using libc_hidden_ver.
7657         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7658         Remove declaration.
7659         (ntp_gettime): Call __adjtimex directly.
7660         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7661         Remove declaration.
7662         (ntp_gettimex): Call __adjtimex directly.
7663         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7664         __adjtimex_internal alias.
7666 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7668         [BZ #17460]
7669         * nscd/nscd.c (more_help): Rewrite list of tables collection
7670         using xstrdup and asprintf.
7672         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7674 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7675             Roland McGrath  <roland@hack.frob.com>
7677         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7678         (do_lookup_unique): ... local function 'enter' here; update callers.
7680 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7682         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7683         compat_symbol calls on [SHARED].
7684         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7685         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7686         Remove.
7687         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7688         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7689         (oldsetrlimit): Remove.
7690         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7692         (lchown): New syscall entry.
7693         (oldsetrlimit): Remove.
7694         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7696         (oldsetrlimit): Remove.
7697         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7699         [BZ #14138]
7700         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7701         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7702         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7703         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7704         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7705         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7706         (fchown): Likewise.
7707         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7708         (fchown): Likewise.
7709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7710         Likewise.
7712 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7715         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7716         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7717         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7718         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7719         Likewise.
7720         (__old_sem_post): Likewise.
7722 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7724         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7725         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7726         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7727         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7728         Use INLINE_VSYSCALL macro.
7729         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7730         __vdso_clock_gettime.
7731         * sysdeps/unix/sysv/linux/tile/init-first.c
7732         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7733         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7734         __vdso_clock_gettime.
7736         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7737         to set up frame more cleanly.
7739         * sysdeps/tile/memcmp.c: New file.
7741         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7743         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7744         * sysdeps/tile/tilegx/strcasestr.c: New file.
7745         * sysdeps/tile/tilegx/strnlen.c: New file.
7746         * sysdeps/tile/tilegx/strstr.c: New file.
7748         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7750 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7752         * nptl/tst-setuid3.c: Write errors to stdout.
7754 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7756         * elf/dl-deps.c
7757         (preload): New functions broken out of _dl_map_object_deps.
7758         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7760 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7762         [BZ #14138]
7763         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7764         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7766 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7768         * sysdeps/mips/strcmp.S: New.
7770 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7772         [BZ #14138]
7773         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7774         (linkat): Likewise.
7775         (mkdirat): Likewise.
7776         (readlinkat): Likewise.
7777         (renameat): Likewise.
7778         (symlinkat): Likewise.
7779         (unlinkat): Likewise.
7780         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7781         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7782         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7783         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7784         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7785         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7786         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7788 2014-09-30  Will Newton  <will.newton@linaro.org>
7790         * math/math.h: Define long double math functions if
7791         _LIBC_TEST is defined.
7792         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7794         * localedata/Makefile: Move assignment to tests-special
7795         into an ifdef testing run-built-tests.
7796         * timezone/Makefile: Likewise.
7798 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7800         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7801         with $(BASH) not $(SHELL).
7803 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7804             Matthew LeGendre  <legendre1@llnl.gov>
7806         [BZ #17411]
7807         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7808         l_reloc_result.
7810 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7812         * stdio-common/printf_fp.c
7813         (hack_digit): New function, broken out of ...
7814         (__printf_fp): ... local function here.  Update call sites.
7815         hack_digit now takes an additional parameter that is a pointer
7816         to a struct of the referenced locals.  Those locals moved inside
7817         the struct and references updated.
7819 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7821         * aclocal.m4: Require autoconf 2.69.
7822         * configure: Regenerated.
7823         * sysdeps/aarch64/configure: Likewise.
7824         * sysdeps/alpha/configure: Likewise.
7825         * sysdeps/arm/armv7/configure: Likewise.
7826         * sysdeps/arm/configure: Likewise.
7827         * sysdeps/ia64/configure: Likewise.
7828         * sysdeps/mach/configure: Likewise.
7829         * sysdeps/mips/configure: Likewise.
7830         * sysdeps/s390/configure: Likewise.
7831         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7834         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7835         file.
7836         * sysdeps/ia64/configure.ac: Likewise.
7838 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7841         specify symbol version for ld.so.  Do not include entry for
7842         libpthread.
7843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7844         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7845         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7847         [BZ #14171]
7848         * Makeconfig [$(build-shared) = yes]
7849         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7850         makefiles.
7851         [$(build-shared) = yes && $(soversions.mk-done) = t]
7852         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7853         [$(build-shared) = yes && $(soversions.mk-done) = t]
7854         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7855         to Makerules.
7856         [$(build-shared) = yes && $(soversions.mk-done) = t]
7857         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7858         here.
7859         [$(build-shared) = yes && $(soversions.mk-done) = t]
7860         (common-generated): Don't append gnu/lib-names.h and
7861         gnu/lib-names.stmp here.
7862         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7863         (lib-names-h-abi): New variable.
7864         [$(build-shared) = yes && $(soversions.mk-done) = t]
7865         (lib-names-stmp-abi): Likewise.
7866         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7867         abi-variants] (before-compile): Append
7868         $(common-objpfx)$(lib-names-h-abi).
7869         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7870         abi-variants] (common-generated): Append gnu/lib-names.h.
7871         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7872         abi-variants] (install-others-nosubdir): Depend on
7873         $(inst_includedir)/$(lib-names-h-abi).
7874         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7875         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7876         [$(build-shared) = yes && $(soversions.mk-done) = t]
7877         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7878         [$(build-shared) = yes && $(soversions.mk-done) = t]
7879         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7880         [$(build-shared) = yes && $(soversions.mk-done) = t]
7881         (common-generated): Append $(lib-names-h-abi) and
7882         $(lib-names-stmp-abi).
7883         * scripts/lib-names.awk: Do not handle multi being set.
7884         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7885         Remove variable.
7886         (abi-lp64_be-ld-soname): Likewise.
7887         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7888         Likewise.
7889         (abi-hard-ld-soname): Likewise.
7890         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7891         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7892         Remove variable.
7893         (abi-o32_hard-ld-soname): Likewise.
7894         (abi-o32_soft_2008-ld-soname): Likewise.
7895         (abi-o32_hard_2008-ld-soname): Likewise.
7896         (abi-n32_soft-ld-soname): Likewise.
7897         (abi-n32_hard-ld-soname): Likewise.
7898         (abi-n32_soft_2008-ld-soname): Likewise.
7899         (abi-n32_hard_2008-ld-soname): Likewise.
7900         (abi-n64_soft-ld-soname): Likewise.
7901         (abi-n64_hard-ld-soname): Likewise.
7902         (abi-n64_soft_2008-ld-soname): Likewise.
7903         (abi-n64_hard_2008-ld-soname): Likewise.
7904         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7905         Likewise.
7906         (abi-64-v2-ld-soname): Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7908         ld.so entries.
7909         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7910         variable.
7911         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7912         entry.
7913         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7914         variable.
7915         (abi-64-ld-soname): Likewise.
7916         (abi-x32-ld-soname): Likewise.
7917         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7918         entry.
7919         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7921 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7923         [BZ #14138]
7924         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7925         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7926         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7927         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7928         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7929         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7930         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7931         syscall entry for GLIBC_2.2 symbol version.
7932         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7933         Likewise.
7934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7935         (setrlimit): Likewise.
7936         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7937         Likewise.
7939 2014-09-23  Will Newton  <will.newton@linaro.org>
7941         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7942         _LINUX_ARM_SYSDEP_H include guard too.
7943         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7944         define.
7946 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7948         * sysdeps/unix/sysv/linux/eventfd.c:
7949         Make first argument unsigned.
7950         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7951         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7953 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7955         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7956         * socket/sys/socket.h: Likewise
7957         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7959 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7961         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7963 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7965         * time/tst-ftime.c: New test.
7966         * time/Makefile (tests): Add tst-ftime.
7968 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7970         * soft-fp/extended.h: Fix comment formatting.
7971         * soft-fp/op-1.h: Likewise.
7972         * soft-fp/op-2.h: Likewise.
7973         * soft-fp/op-4.h: Likewise.
7974         * soft-fp/op-8.h: Likewise.
7975         * soft-fp/op-common.h: Likewise.
7976         * soft-fp/soft-fp.h: Likewise.
7978         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7980 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7982         [BZ #6652]
7983         * Makeconfig (soversions-default-setname): Remove variable.
7984         ($(common-objpfx)soversions.i): Don't pass default_setname to
7985         soversions.awk.
7986         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7987         oldest_abi to abi-versions.awk.
7988         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7989         * config.make.in (oldest-abi): Remove variable.
7990         * configure.ac (--enable-oldest-abi): Remove configure option.
7991         * configure: Regenerated.
7992         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7993         text.
7994         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7995         * scripts/soversions.awk: Do not handle default_setname variable.
7996         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7997         variable.
7998         * sysdeps/mach/hurd/configure: Regenerated.
7999         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8000         variable.
8001         * sysdeps/unix/sysv/linux/configure: Regenerated.
8003 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8005         * elf/Makefile (CFLAGS-interp.c): Remove.
8006         ($(elf-objpfx)runtime-linker.h): Generate header with linker
8007         path string.
8008         * elf/interp.c: Include generated runtime-linker.h
8010         * Makerules (lib%.so): Don't include $(+interp) in
8011         prerequisites.
8012         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8013         * dlfcn/eval.c: Remove file.
8015         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8016         macros.
8018         [BZ #17266]
8019         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8020         4.2 and newer.
8022         [BZ #17370]
8023         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8025 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8026             Jakub Jelinek  <jakub@redhat.com>
8028         [BZ #17266]
8029         * libio/stdio.h: Check definition of __fortify_function
8030         instead of __extern_always_inline to include bits/stdio2.h.
8031         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8032         check if __extern_always_inline is defined.
8033         [__USE_MISC || __USE_XOPEN]: Likewise.
8034         [__USE_ISOC99] Likewise.
8035         * misc/sys/cdefs.h (__fortify_function): Define only if
8036         __extern_always_inline is defined.
8037         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8038         __extern_always_inline and __extern_inline only for g++-4.3
8039         and newer or a compatible gcc.
8041 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
8043         [BZ #17371]
8044         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8045         last change to handle zero prefix length.
8047 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8049         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8050         _SC_REGEX_VERSION.
8052         * posix/getconf.c (vars): Add _POSIX_IPV6 and
8053         _POSIX_RAW_SOCKETS.
8055 2014-09-13  Allan McRae  <allan@archlinux.org>
8057         * po/ru.po: Update Russian translation from translation project.
8059 2014-09-12  Roland McGrath  <roland@hack.frob.com>
8061         * locale/programs/locale.c (show_locale_vars): Inline local function
8062         into its sole call site.  Clean up some style nits.
8063         (print_item): New function, broken out of ...
8064         (show_info): ... local function here.  Clean up style nits.
8066         * locale/programs/ld-ctype.c (set_one_default): New function, broken
8067         out of ...
8068         (set_class_defaults): ... local function set_default here.
8069         Define set_default as a macro locally to pass constant parameters.
8070         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8071         rather than a shared local.
8073         * stdlib/rpmatch.c (try): New function, broken out of ...
8074         (rpmatch): ... local function here.  Also, prototypify definition.
8076 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
8078         * scripts/soversions.awk: Do not handle configuration names.
8079         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8080         vendor and os variables to soversions.awk.
8081         * configure.ac: Do not modify gnu-* host_os.
8082         * configure: Regenerated
8083         * shlib-versions: Remove first column with configuration names.
8084         * nptl/shlib-versions: Likewise.
8085         * nptl_db/shlib-versions: Likewise.
8086         * sysdeps/hppa/shlib-versions: Likewise.
8087         * sysdeps/m68k/shlib-versions: Likewise.
8088         * sysdeps/mach/hurd/shlib-versions: Likewise.
8089         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8090         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8091         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8092         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8093         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8094         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8095         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8096         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8098         Likewise.
8099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8100         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8101         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8102         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8103         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8104         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8105         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8106         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8109         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8111         Regenerated.
8112         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8114         Condition symbol version definitions on [HAVE_ELFV2_ABI].
8116         * shlib-versions: Remove OS-specific entries.  Moved to files in
8117         sysdeps.
8118         * sysdeps/mach/hurd/shlib-versions: New file.
8119         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8121         * nptl/shlib-versions: Remove architecture-specific entries.
8122         Moved to files in sysdeps.
8123         * shlib-versions: Likewise.
8124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8125         file.
8126         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8127         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8128         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8129         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8131         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8132         (UDP_NO_CHECK6_RX): Likewise.
8134 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8136         * sysdeps/posix/sysconf.c (__sysconf): Spell
8137         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8139 2014-08-12  Florian Weimer  <fweimer@redhat.com>
8141         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8142         loading.
8143         * iconv/Versions (__gconv_transliterate): Export for use from
8144         gconv modules.
8145         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8146         (struct __gconv_trans_data, __gconv_trans_fct,
8147         __gconv_trans_context_fct, __gconv_trans_query_fct,
8148         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8149         definitions.
8150         (struct __gconv_step_data): Remove __trans member.
8151         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
8152         longer hidden.  Remove unused trans_data argument.
8153         * iconv/gconv_int.h (struct trans_struct): Remove definition.
8154         (__gconv_translit_find): Remove declaration.
8155         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
8156         prototype.
8157         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8158         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8159         trans_data argument.  Add hidden definition.
8160         (__gconv_translit_find): Remove.
8161         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8162         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8163         * iconv/skeleton.c: Remove transliteration initialization.
8164         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8165         __gconv_step_data initialization.
8166         * libio/iofwide.c (__libio_translit_): Remove.
8167         (_IO_fwide): Adjust struct __gconv_step_data initialization.
8168         * wcsmbs/btowc.c (__btowc): Likewise.
8169         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8170         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8171         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8172         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8173         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8174         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8175         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8176         * wcsmbs/wctob.c (wctob): Likewise.
8178 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8180         [BZ #16194]
8181         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8182         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
8183         register usage.
8184         * sysdeps/x86/Makefile: Adjust.
8186 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8187             Roland McGrath  <roland@hack.frob.com>
8189         * locale/weight.h: Add include guard.
8190         (findidx): Make static rather than auto; take new parameters
8191         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8192         * locale/weightwc.h: Likewise.
8193         * posix/fnmatch_loop.c
8194         (FCT): Change type of EXTRA from int32_t to wint_t.
8195         Don't include either header inside the function.
8196         Call FINDIDX rather than findidx, and pass new arguments.
8197         #undef FINDIDX at the end of the file.
8198         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8199         FINDIDX before including fnmatch_loop.c for the non-wide version.
8200         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8201         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8202         for the wide version.
8203         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8204         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8205         Pass new arguments to findidx.
8206         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8207         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8208         Don't #include it inside the function.  Pass new arguments to findidx.
8209         * posix/regex_internal.h
8210         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8211         (re_string_elem_size_at): Don't #include it inside the function.
8212         Pass new arguments to findidx.
8213         * string/strcoll_l.c: #include WEIGHT_H at top level.
8214         (get_next_seq): Don't #include it inside the function.
8215         Pass new arguments to findidx.
8216         (get_next_seq_nocache): Likewise.
8217         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8218         (STRXFRM): Don't #include it inside the function.
8219         Pass new arguments to findidx.
8221 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8223         [BZ #17344]
8224         * malloc/malloc.c (unlink): Turn asserts into a call to
8225         malloc_printerr.
8227 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8229         [BZ #17370]
8230         * libio/wfileops (do_ftell_wide): Free OUT.
8232 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8234         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8236 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8238         [BZ #17363]
8239         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8240         group if the current group is empty.
8242 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8244         * benchtests/bench-memset.c (test_main): Add more test from size
8245         from 32 to 512 bytes.
8246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8247         Add POWER8 memset object.
8248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8249         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8250         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8251         implementation.
8252         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8253         Likewise.
8254         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8255         multiarch POWER8 memset optimization.
8256         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8257         POWER8 memset optimization.
8259         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8260         Remove bzero multiarch objects.
8261         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8262         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8263         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8264         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8265         Remove define.
8266         [__bzero]: Redefine to specific name.
8267         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8268         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8269         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8270         define.
8271         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8272         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8274 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8276         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8277         warnings into errors.
8279         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8280         __cxa_thread_atexit_impl prototype.
8282 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8284         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8285         Fix capitalization of error message.
8287 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8289         * sysdeps/mips/preconfigure: Modify ABI tests.
8291 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8293         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8295 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8296             Carlos O'Donell  <carlos@systemhalted.org>
8298         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8299         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8300         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8301         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8302         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8303         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8304         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8305         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8306         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8307         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8308         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8309         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8310         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8311         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8312         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8313         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8314         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8315         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8316         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8317         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8318         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8319         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8320         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8321         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8322         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8323         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8324         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8325         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8326         Deconditionalize the code that was previously under [RESET_PID].
8327         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8328         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8329         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8330         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8331         include sysdep.h.
8333 2014-09-08  Allan McRae  <allan@archlinux.org>
8335         * version.h (RELEASE): Set to "development".
8336         (VERSION): Set to "2.20.90"
8338 2014-09-07  Allan McRae  <allan@archlinux.org
8340         * version.h (RELEASE): Set to "stable".
8341         (VERSION): Set to "2.20"
8342         * include/features.h (__GLIBC_MINOR__): Set to 20.
8344         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8345         Liebler.
8347         * po/ko.po: Update Korean translation from translation project.
8349 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8351         [BZ #17354]
8352         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8353         macro for handling signed relocations.
8355 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8357         [BZ #17325]
8358         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8359         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8360         assert.
8361         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8362         * iconvdata/ibm935.c (BODY): Likewise.
8363         * iconvdata/ibm937.c (BODY): Likewise.
8364         * iconvdata/ibm939.c (BODY): Likewise.
8365         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8366         assert.
8367         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8368         script.
8369         * iconvdata/run-iconv-test.sh: New test loop for checking for
8370         decoder crashers.
8372 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8375         libm_hidden_ver.
8377 2014-09-01  Allan McRae  <allan@archlinux.org>
8379         * po/eo.po: Update Esperanto translation from translation project.
8381         * po/ca.po: Update Catalan translation from translation project.
8383 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8385         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8386         __proc_dostop call.
8388 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8390         [BZ #17319]
8391         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8392         to call set_thread_area instead of hand written asm.
8393         (__NR_set_thread_area): Removed define.
8394         (TLS_FLAG_WRITABLE): Likewise.
8395         (__ASSUME_SET_THREAD_AREA): Remove check.
8396         (TLS_EBX_ARG): Remove define.
8397         (TLS_LOAD_EBX): Likewise.
8399 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8401         Simplify atomicity of socket creation in bind.
8403         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8404         looking up the name after linking the file.
8406 2014-08-27  Allan McRae  <allan@archlinux.org>
8408         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8410 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8412         [BZ #17187]
8413         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8414         trans_compare, open_translit, __gconv_translit_find):
8415         Remove module loading code.
8417 2014-08-26  Allan McRae  <allan@archlinux.org>
8419         * po/vi.po: Update Vietnamese translation from translation project.
8421         * po/uk.po: Update Ukrainian translation from translation project.
8423         * po/fr.po: Update French translation from translation project.
8425         * po/ru.po: Update Russian translation from translation project.
8427         * po/pl.po: Update Polish translation from translation project.
8429         * po/cs.po: Update Czech translation from translation project.
8431         * po/de.po: Update German translation from translation project.
8433         * po/bg.po: Update Bulgarian translation from translation project.
8435         * po/sv.po: Update Sweedish translation from translation project.
8437         * po/nl.po: Update Dutch translation from translation project.
8439         * po/es.po: Update Spanish translation from translation project.
8441 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8443         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8445         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8446         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8447         (CPPFLAGS-iconvconfig): Likewise.
8448         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8450         * include/libc-symbols.h: Remove unnecessary check for
8451         NOT_IN_libc.
8452         * nptl/pthreadP.h: Likewise.
8453         * sysdeps/aarch64/setjmp.S: Likewise.
8454         * sysdeps/alpha/setjmp.S: Likewise.
8455         * sysdeps/arm/sysdep.h: Likewise.
8456         * sysdeps/i386/setjmp.S: Likewise.
8457         * sysdeps/m68k/setjmp.c: Likewise.
8458         * sysdeps/posix/getcwd.c: Likewise.
8459         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8460         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8461         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8462         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8463         * sysdeps/sh/sh3/setjmp.S: Likewise.
8464         * sysdeps/sh/sh4/setjmp.S: Likewise.
8465         * sysdeps/unix/alpha/sysdep.h: Likewise.
8466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8467         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8468         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8469         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8474         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8477         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8479         * sysdeps/x86_64/setjmp.S: Likewise.
8481 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8483         [BZ #17263]
8484         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8485         <stdint.h>.
8486         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8487         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8489 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8491         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8493         [BZ #17262]
8494         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8495         and __x86_64__ when disabling x87 inline functions.
8497 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8499         [BZ #17259]
8500         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8501         asm statement with __cpuid_count.
8503 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8505         * configure.ac: Change __ehdr_start code to dereference the struct.
8506         Run readelf on the output to look for relocations.
8507         * configure: Regenerated.
8509 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8511         [BZ #17261]
8512         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8513         value to 0.
8514         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8516 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8518         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8520 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8522         [BZ #16892]
8523         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8524         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8526 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8528         * malloc/malloc.c: Fix typo in comment.
8530 2014-08-09  Allan McRae  <allan@archlinux.org>
8532         * Regenerate libc.po.
8534 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8536         * intl/tst-gettext2.sh: Check every lang file for creation.
8538 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8540         * sysdeps/aarch64/fpu/math_private.h
8541         (libc_feholdsetround_noex_aarch64_ctx): New function.
8543 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8545         * sysdeps/arm/armv6/strcpy.S (strcpy):
8546         Fix performance issue in misaligned cases.
8548 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8550         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8551         Move definition from termios.h.
8552         (struct termio): Likewise.
8553         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8554         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8555         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8556         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8557         Likewise.
8558         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8559         Move definition to ioctl-types.h
8560         (struct termio): Likewise.
8561         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8562         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8563         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8564         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8565         Likewise.
8567 2014-08-05  Richard Henderson  <rth@redhat.com>
8569         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8570         exceptions.
8571         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8572         Add fraiseexcpt.
8573         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8574         Use __feraiseexcept.
8575         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8576         Protect libm symbols with IS_IN_libm.
8578         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8580 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8582         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8584 2014-08-04  Will Newton  <will.newton@linaro.org>
8586         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8587         file.
8589 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8591         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8592         variants for each function.
8594 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8596         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8597         appended ...
8598         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8599         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8600         appended ...
8601         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8602         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8603         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8604         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8605         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8606         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8607         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8608         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8609         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8610         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8611         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8612         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8613         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8614         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8615         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8616         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8617         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8618         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8619         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8620         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8621         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8622         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8623         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8624         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8625         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8626         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8627         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8628         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8629         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8630         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8631         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8632         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8633         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8634         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8635         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8636         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8637         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8638         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8640         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8641         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8642         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8643         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8644         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8645         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8646         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8647         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8648         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8649         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8651         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8652         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8653         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8654         Update #include.
8655         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8656         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8658 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8660         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8661         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8662         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8663         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8665         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8667 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8669         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8670         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8671         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8672         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8674 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8676         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8677         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8678         (__libc_vfork): Define function under this name.
8679         (__vfork): Define as an alias.
8680         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8681         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8683 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8685         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8686         that was previously under [RESET_PID].
8687         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8689 2014-08-04  Andreas Schwab  <schwab@suse.de>
8691         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8693 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8695         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8696         (main): Likewise.
8698 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8700         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8702 2014-08-01  Richard Henderon  <rth@redhat.com>
8704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8705         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8706         typo in exact zero test.
8707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8708         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8711 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8713         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8714         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8715         * sysdeps/arm/sysdep.h: ... here.
8716         [!__ASSEMBLER__]: Include <stdint.h>.
8718 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8720         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8721         (HAVE_WCTYPE_H): Likewise.
8722         (HAVE_ISWCTYPE): Likewise.
8723         (ENABLE_NLS): Likewise.
8724         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8725         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8727         * posix/regex_internal.c: Check if DEBUG is defined and is
8728         set.
8730         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8731         (HAVE_MBSRTOWCS): Likewise.
8732         * posix/fnmatch.c: Include string.h unconditionally.
8734 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8736         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8737         reversal.
8739 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8741         * sysdeps/generic/safe-fatal.h: New file.
8742         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8743         * nptl/forward.c: Include it.
8744         (__pthread_unwind): Use __safe_fatal as default action, rather
8745         than a bogus use of INTERNAL_SYSCALL that could never work.
8747         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8748         * configure.ac (libc_cv_builtin_trap): New test.
8749         * configure: Regenerated.
8750         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8751         (ABORT_INSTRUCTION): Define using __builtin_trap.
8753         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8754         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8755         * sysdeps/nptl/nptl-signals.h: New file.
8756         * nptl/pthreadP.h: Include <nptl-signals.h>.
8758 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8760         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8761         (ONE_DIRECTION): Define.
8762         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8763         (ONE_DIRECTION): Define.
8764         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8765         (ONE_DIRECTION): Define.
8767 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8769         * sysdeps/s390/Makefile: Delete file.
8770         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8771         * sysdeps/s390/__longjmp.c: Delete file.
8772         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8773         Remove fields __flags and __reserved.
8774         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8775         and add versioning.
8776         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8777         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8778         * sysdeps/s390/rtld-setjmp.S: Likewise.
8779         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8780         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8781         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8782         * sysdeps/s390/s390-32/setjmp.S: ... here.
8783         Add versioning.
8784         (__sigsetjmp): Remove setting __flags field.
8785         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8786         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8787         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8788         * sysdeps/s390/s390-64/setjmp.S: ... here.
8789         Add versioning.
8790         (__sigsetjmp): Remove setting __flags field.
8791         * sysdeps/s390/setjmp.S: Delete file.
8792         * sysdeps/s390/sigjmp.c: Likewise.
8793         * sysdeps/s390/v1-longjmp.c: Likewise.
8794         * sysdeps/s390/v1-setjmp.h: Likewise.
8795         * sysdeps/s390/v1-sigjmp.c: Likewise.
8796         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8797         Remove v1-longjmp_chk.
8798         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8799         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8800         Include debug/longjmp_chk.c and add versioning.
8801         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8802         Include nptl/pt-longjmp.c and add versioning.
8803         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8804         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8805         Include __longjmp.c.
8806         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8807         Move to ...
8808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8809         (__getcontext): Remove setting __flags field.
8810         Add versioning.
8811         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8812         Don't restore upper high grps.
8813         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8814         Likewise.
8815         (__swapcontext): Remove setting uc_flags field.
8816         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8817         Delete file.
8818         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8819         Include __longjmp.c.
8820         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8821         Move to ...
8822         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8823         (__getcontext): Remove setting __flags field.
8824         Add versioning.
8825         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8826         (__swapcontext): Remove setting uc_flags field.
8827         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8828         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8829         Remove fields uc_high_gprs and __reserved.
8830         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8831         New file with reverted content.
8832         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8833         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8834         Regenerated.
8835         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8836         Regenerated.
8838 2014-07-31  Andreas Schwab  <schwab@suse.de>
8840         * config.h.in (HAVE_IFUNC): Define to 0.
8841         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8842         definedness.
8844 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8847         memmove-avx-unaligned, memcpy-avx-unaligned and
8848         mempcpy-avx-unaligned.
8849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8850         Add tests for AVX memcpy functions.
8851         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8852         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8853         memcpy_chk.
8854         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8855         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8856         memmove_chk.
8857         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8858         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8859         mempcpy_chk.
8860         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8861         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8862         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8864 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8866         [BZ #17213]
8867         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8868         powerpc64le.
8870 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8872         [BZ #16839]
8873         * manual/llio.texi: Add section about open file description locks.
8874         * manual/examples/ofdlocks.c: Example of open file description
8875         lock usage.
8876         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8877         F_OFD_SETLK, and F_OFD_SETLKW.
8879 2014-07-23  Allan McRae  <allan@archlinux.org>
8881         * po/es.po: Update Spanish translation from translation project.
8883 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8885         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8887 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8889         [BZ #17078]
8890         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8891         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8892         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8894 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8896         [BZ #17088]
8897         * math/fesetenv.c (__fesetenv)
8898         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8899         * math/feupdateenv.c (__feupdateenv)
8900         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8902         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8903         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8904         (__ASSUME_SOCKETCALL): Do not define.
8906         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8907         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8908         (__ASSUME_SOCKETCALL): Do not define.
8909         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8910         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8911         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8912         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8913         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8914         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8916         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8919         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8920         (__ASSUME_SOCKETCALL): Do not define.
8921         (__ASSUME_IPC64): Define unconditionally.
8922         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8923         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8924         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8926         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8928         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8929         Likewise.
8931         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8932         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8933         (__ASSUME_SOCKETCALL): Do not define.
8934         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8935         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8936         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8937         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8938         (__ASSUME_REQUEUE_PI): Define unconditionally.
8939         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8940         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8941         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8942         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8944         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8946         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8947         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8948         (__ASSUME_SOCKETCALL): Do not define.
8949         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8950         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8951         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8952         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8953         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8954         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8956         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8957         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8958         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8959         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8960         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8961         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8962         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8963         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8964         (__ASSUME_GETCPU_SYSCALL): Likewise.
8966         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8967         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8968         cases for individual architectures.
8969         * sysdeps/gnu/configure: Regenerated.
8970         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8971         LIBC_SLIBDIR_RTLDDIR.
8972         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8973         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8974         LIBC_SLIBDIR_RTLDDIR.
8975         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8977         LIBC_SLIBDIR_RTLDDIR.
8978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8979         Regenerated.
8980         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8981         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8982         file.
8983         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8984         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8985         file.
8986         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8987         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8988         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8989         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8991         * sysdeps/aarch64/shlib-versions: Move to ...
8992         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8993         * sysdeps/alpha/shlib-versions: Move to ...
8994         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8995         * sysdeps/arm/shlib-versions: Move to ...
8996         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8997         * sysdeps/hppa/shlib-versions: Move all contents except for
8998         libgcc_s entry to ...
8999         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
9000         entry from ...
9001         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
9002         * sysdeps/ia64/shlib-versions: Move to ...
9003         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
9004         entry from ...
9005         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
9006         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9007         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9008         * sysdeps/microblaze/shlib-versions: Move to ...
9009         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9010         * sysdeps/mips/shlib-versions: Move to ...
9011         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
9012         entry from ...
9013         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
9014         * sysdeps/tile/shlib-versions: Move to ...
9015         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9016         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9017         from ...
9018         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
9019         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9020         entry from ...
9021         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
9023 2014-07-17  Will Newton  <will.newton@linaro.org>
9025         * sysdeps/arm/bits/atomic.h
9026         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9027         (__arch_compare_and_exchange_bool_16_int): Likewise.
9028         (__arch_compare_and_exchange_bool_64_int): Likewise.
9030         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9031         into an #else block.
9033 2014-07-16  Roland McGrath  <roland@hack.frob.com>
9035         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9036         just Linux configurations.  Test empirically that the compiler sets
9037         __ARM_EABI__, rather than using the tuple to decide.
9038         * sysdeps/arm/preconfigure: Regenerated.
9039         * sysdeps/unix/sysv/linux/arm/configure: File removed.
9040         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9041         contents appended ...
9042         * sysdeps/arm/configure.ac: ... here.
9043         * sysdeps/arm/configure: Regenerated.
9045 2014-07-15  Roland McGrath  <roland@hack.frob.com>
9047         * nptl/pthread_kill.c: New file.
9048         * nptl/pthread_sigmask.c: New file.
9049         * nptl/pthread_sigqueue.c: New file.
9051         * sysdeps/nptl/lowlevellock.h: New file.
9052         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9053         * sysdeps/nptl/lowlevellock-futex.h: New file.
9055         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9056         Remove dead declarations.
9058 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
9060         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9061         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9062         config-cflags-avx2.
9063         * sysdeps/x86_64/configure.ac: Likewise.
9064         * sysdeps/i386/configure: Regenerated.
9065         * sysdeps/x86_64/configure: Likewise.
9066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9067         memset-avx2 only if config-cflags-avx2 is yes.
9068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9069         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9070         defined.
9071         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9072         only if HAVE_AVX2_SUPPORT is defined.
9073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9075 2014-07-14  Alan Modra  <amodra@gmail.com>
9077         [BZ #17153]
9078         * elf/elf.h (DT_PPC64_NUM): Correct value.
9079         * NEWS: Add to fixed bug list.
9081 2014-07-13  Jim Meyering  <meyering@fb.com>
9083         [BZ 17150]
9084         regex: don't deref NULL upon heap allocation failure
9085         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9086         failure in one more place.
9087         To trigger the segfault, configure grep -with-included-regex,
9088         build it, and run these commands:
9089         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9091 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9093         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9095 2014-07-11  Richard Henderson  <rth@redhat.com>
9097         * sysdeps/aarch64/libm-test-ulps: Update.
9099 2014-07-10  Florian Weimer  <fweimer@redhat.com>
9101         [BZ #17135]
9102         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9103         * nptl/allocatestack.c (__nptl_setxid_error): New function.
9104         (__nptl_setxid): Initialize error member.  Call
9105         __nptl_setxid_error.
9106         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9107         * nptl/descr.h (struct xid_command): Add error member.
9108         * nptl/tst-setuid3.c: New file.
9109         * nptl/Makefile (tests): Add it.
9111 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9113         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9114         New define.
9115         (__lll_trylock): Use __lll_base_trylock.
9116         (__lll_cond_trylock): Likewise.
9118 2014-07-10  Roland McGrath  <roland@hack.frob.com>
9120         * nptl/pthread_create.c (start_thread): Use atomic_or and
9121         lll_futex_wake directly rather than lll_robust_dead.
9122         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9123         (lll_robust_dead): Macro removed.
9124         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9125         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9126         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9127         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9128         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9129         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9130         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9131         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9132         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9133         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9134         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9137         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9138         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9140         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9141         Use atomic_compare_and_exchange_val_acq directly rather than
9142         lll_robust_trylock.
9143         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9144         (__lll_robust_trylock, lll_robust_trylock): Removed.
9145         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9146         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9147         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9148         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9149         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9150         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9152         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9154         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9155         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9156         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9157         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9158         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9160 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9162         * manual/locale.texi (Locale Names): New section documenting
9163         locale name syntax.  Adjust menu and node chaining accordingly.
9164         (Choosing Locale): Reference Locale Names, Locale Categories.
9165         Mention setting LC_ALL=C.  Reflect that name syntax is now
9166         documented.
9167         (Locale Categories): New section title.  Reference Locale Names.
9168         LC_ALL is an environment variable, but not a category.
9169         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9170         description, now in Locale Name.  Reference that section.  Locale
9171         name syntax is now documented.
9173 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9175         [BZ #17137]
9176         * locale/findlocale.c (name_present, valid_locale_name): New
9177         functions.
9178         (_nl_find_locale): Use the loc_name variable to store name
9179         candidates.  Call name_present and valid_locale_name to check and
9180         validate locale names.  Return an error if the locale is invalid.
9182 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9184         * locale/setlocale.c (setlocale): Use strdup for allocating
9185         composite name copy.
9187 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9189         Sync up with gnulib.
9190         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9191         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9192         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9193         and _GL_ARG_NONNULL.
9194         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9195         [!_LIBC]: Include code for Windows and Cygwin.
9196         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9197         Include prototype for int strerror_r.
9198         [!_LIBC] (is_open): New function.
9199         (flush_stdout): New function.
9200         (print_errno_message): Use it.
9201         (error): Likewise.
9202         (error_at_line): Likewise.
9203         (error_tail) Add function attribute macros.  Use
9204         __builtin_expect.
9206         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9208         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9210         * io/ftw.c: Include sys/param.h unconditionally.
9212         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9214         [BZ #17125]
9215         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9216         libc_freeres_ptr.
9217         (freecache): New function to free CACHE on exit.
9219         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9220         initialization.
9222 2014-07-09  David S. Miller  <davem@davemloft.net>
9224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9226         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9227         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9228         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9229         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9230         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9231         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9232         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9233         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9234         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9235         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9236         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9237         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9238         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9240 2014-07-09  Andreas Schwab  <schwab@suse.de>
9242         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9243         output.
9244         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9245         (do_test): Likewise.
9247         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9249 2014-07-09  Will Newton  <will.newton@linaro.org>
9251         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9252         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9253         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9254         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9255         * sysdeps/hppa/start.S (_start): Likewise.
9257 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9259         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9261         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9262         defined.
9264 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9266         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9267         after checking that it is non-NULL.
9269         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9271 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9273         * sysdeps/powerpc/memmove.c: Remove file.
9274         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9275         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9276         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9277         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9278         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9279         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9280         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9281         string memmove instead of removed powerpc one.
9283         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9284         [weak_alias]: Fix compiler warning due trailing data.
9285         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9286         [weak_alias]: Likewise.
9287         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9288         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9291         (__libc_ifunc_impl_list): Add memmove functions.
9293 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9295         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9296         Remove code.
9297         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9298         Likewise
9299         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9300         Likewise
9301         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9302         Likewise
9303         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9304         Likewise
9305         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9306         Likewise
9307         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9308         Likewise
9309         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9310         Likewise
9311         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9312         Likewise
9313         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9314         Likewise
9315         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9316         Likewise
9317         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9318         Likewise
9319         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9320         Likewise
9321         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9322         Likewise
9323         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9324         Likewise
9325         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9326         Likewise
9327         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9328         Likewise
9330 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9332         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9333         to avoid alignment traps in non-cacheable memory.
9334         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9337         multiarch objects.
9338         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9339         file: multiarch power7 memmove.
9340         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9341         multiarch default memmove.
9342         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9343         multiarch memove for powerpc32/power4.
9345         * string/bcopy.c: Use full path to include memmove.c.
9346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9347         multiarch objects.
9348         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9349         bcopy for powerpc64.
9350         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9351         bcopy for powerpc64.
9352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9353         and memmove implementations.
9354         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9355         optimized multiarch memmove for POWER7/powerpc64.
9356         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9357         default multiarch memmove for powerpc64.
9358         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9359         multiarch for powerpc64.
9360         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9361         for POWER7/powerpc64.
9362         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9363         memmove for POWER7/powerpc64.
9365         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9366         glibc default one.
9368         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9369         __ELF_NATIVE_CLASS equal to 64.
9371 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9373         * sysdeps/nptl/lowlevellock.h: File removed.
9375         * NEWS: NPTL is no longer an add-on!
9376         * nptl/internaltypes.h: Moved ...
9377         * sysdeps/nptl/internaltypes.h: ... here.
9378         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9379         * sysdeps/nptl/fork.c: Likewise.
9380         * sysdeps/nptl/gai_misc.h: Likewise.
9381         * sysdeps/nptl/librt-cancellation.c: Likewise.
9382         * sysdeps/nptl/jmp-unwind.c: Likewise.
9383         * sysdeps/nptl/setxid.h: Likewise.
9384         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9385         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9386         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9387         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9388         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9389         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9390         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9391         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9392         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9393         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9394         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9395         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9396         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9397         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9398         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9399         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9400         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9401         * nptl/Makeconfig: Moved ...
9402         * sysdeps/nptl/Makeconfig: ... here.
9403         * nptl/configure: File removed.
9404         * nptl/ANNOUNCE: File removed.
9405         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9406         * sysdeps/unix/sysv/linux/configure: Regenerated.
9408         * nptl/Makefile (routines): Add libc_pthread_init,
9409         libc_multiple_threads, register-atfork and unregister-atfork.
9410         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9411         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9412         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9413         pthread-pi-defines.sym, structsem.sym.
9414         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9415         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9416         [$(subdir) = nptl] (tests): Add tst-setgetname.
9417         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9418         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9419         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9420         [!LIBC_SIGACTION]: Remove aliases.
9421         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9422         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9423         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9424         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9425         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9426         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9427         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9429         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9430         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9431         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9432         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9433         __libc_allocate_rtsig_private.
9434         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9435         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9436         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9437         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9438         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9439         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9440         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9441         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9442         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9443         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9444         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9445         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9446         * nptl/internaltypes.h: ... here.
9447         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9448         * sysdeps/nptl/jmp-unwind.c: ... here.
9449         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9450         * nptl/libc-lowlevellock.c: ... here.
9451         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9452         * nptl/libc_multiple_threads.c: ... here.
9453         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9454         * nptl/libc_pthread_init.c: ... here.
9455         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9456         * nptl/lowlevelbarrier.sym: ... here.
9457         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9458         * nptl/lowlevelcond.sym: ... here.
9459         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9460         * nptl/lowlevellock.c: ... here.
9461         * nptl/lowlevellock.h: Moved ...
9462         * sysdeps/nptl/lowlevellock.h: ... here.
9463         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9464         * nptl/lowlevelrobustlock.c: ... here.
9465         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9466         * nptl/lowlevelrobustlock.sym: ... here.
9467         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9468         * nptl/lowlevelrwlock.sym: ... here.
9469         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9470         * nptl/pt-fork.c: ... here.
9471         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9472         * nptl/pthread-pi-defines.sym: ... here.
9473         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9474         * nptl/pthread_attr_getaffinity.c: ... here.
9475         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9476         * nptl/pthread_attr_setaffinity.c: ... here.
9477         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9478         * nptl/pthread_mutex_cond_lock.c: ... here.
9479         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9480         Update #include.
9481         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9482         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9483         * nptl/pthread_once.c: ... here, replacing old file.
9484         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9485         * nptl/pthread_yield.c: ... here.
9486         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9487         * nptl/register-atfork.c: ... here.
9488         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9489         * nptl/sem_post.c: ... here.
9490         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9491         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9492         * nptl/sem_timedwait.c: ... here.
9493         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9494         * nptl/sem_trywait.c: ... here.
9495         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9496         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9497         * nptl/sem_wait.c: ... here.
9498         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9499         * nptl/structsem.sym: ... here.
9500         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9501         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9502         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9503         * nptl/unregister-atfork.c: ... here.
9504         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9505         * nptl/unwindbuf.sym: ... here.
9506         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9507         * sysdeps/nptl/fork.c: ... here.
9508         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9509         * sysdeps/nptl/fork.h: ... here.
9510         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9511         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9512         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9513         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9514         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9515         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9516         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9517         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9518         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9519         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9520         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9521         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9522         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9523         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9524         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9525         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9526         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9527         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9528         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9529         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9530         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9531         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9532         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9533         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9534         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9535         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9536         * sysdeps/unix/sysv/linux/raise.c: ... here.
9537         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9538         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9539         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9540         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9541         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9542         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9543         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9544         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9545         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9546         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9547         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9548         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9549         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9550         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9551         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9553 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9555         * sysdeps/generic/memcopy.h: Add comment for
9556         MEMCPY_OK_FOR_FWD_MEMMOVE.
9558 2014-07-04  Will Newton  <will.newton@linaro.org>
9560         * string/memchr.c: Merge from gnulib.
9561         [_LIBC]: Remove conditionals.
9562         (__ptr_t): Remove define.
9563         (LONG_MAX_32_BITS): Likewise.
9564         (LONG_MAX): Likewise.
9565         (MEMCHR): Use ANSI prototype and optimize algorithm.
9567         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9569 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9571         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9572         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9574         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9575         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9576         in a bare environment with no <stdlib.h> installed.
9577         * sysdeps/nptl/configure: Regenerated.
9579         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9581         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9582         AC_EGREP_CPP for kernel header checks, so they only succeed if
9583         including <linux/version.h> actually works right.
9584         * sysdeps/unix/sysv/linux/configure: Regenerated.
9586         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9587         value so it's not diagnosed as unused.
9589         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9590         thing) with "ifeq ($(subdir),rt)".
9592 2014-07-03  Richard Henderson  <rth@redhat.com>
9594         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9595         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9596         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9598         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9599         (math_force_eval): New.
9601         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9602         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9604         * sysdeps/alpha/fpu/s_round.c: Remove file.
9605         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9607         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9608         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9609         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9610         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9611         (_dl_start, print_statistics): Likewise.
9612         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9613         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9615         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9616         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9617         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9618         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9620         (HP_SMALL_TIMING_AVAIL): Define.
9621         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9622         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9623         (HP_SMALL_TIMING_AVAIL): Define.
9624         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9625         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9627         * sysdeps/aarch64/hp-timing.h: New file.
9629         * sysdeps/generic/hp-timing.h: Remove dead comment.
9630         * sysdeps/generic/hp-timing-common.h: New file.
9631         * sysdeps/alpha/hp-timing.h: Include it.
9632         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9633         * sysdeps/i386/i686/hp-timing.h: Likewise.
9634         * sysdeps/ia64/hp-timing.h: Likewise.
9635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9636         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9637         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9638         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9639         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9640         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9641         (hp_timing_t): New.
9643         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9644         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9645         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9646         * elf/rtld.c (_dl_start_final): Likewise.
9647         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9648         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9649         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9650         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9651         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9653         (HP_TIMING_DIFF_INIT): Remove.
9654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9656         (HP_TIMING_DIFF_INIT): Remove.
9657         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9658         * sysdeps/i386/i686/hp-timing.c: Remove file.
9659         * sysdeps/x86_64/hp-timing.c: Remove file.
9660         * sysdeps/ia64/hp-timing.c: Remove file.
9661         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9662         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9663         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9664         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9666         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9667         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9668         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9669         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9671         (HP_TIMING_ACCUM): Remove.
9672         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9673         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9674         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9676         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9677         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9678         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9679         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9680         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9681         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9682         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9683         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9685         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9687 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9689         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9691 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9693         Sync up with gettext.
9694         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9695         [_MSC_VER]: Include malloc.h
9696         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9697         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9698         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9699         TEMP_FAILURE_RETRY.  Cast return of alloca.
9700         [!_LIBC] Call gl_rwlock_init.
9701         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9703 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9705         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9706         before checking its value.
9708 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9710         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9712         * debug/memcpy_chk.c: Don't include pagecopy.h.
9713         * debug/mempcpy_chk.c: Likewise.
9714         * string/memcpy.c: Likewise.
9715         * string/memmove.c: Likewise.
9716         * sysdeps/powerpc/memmove.c: Likewise.
9717         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9718         definition of PAGE_COPY_FWD_MAYBE here...
9719         * sysdeps/generic/pagecopy.h: ... from here.
9720         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9722 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9725         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9727         optimizations.
9728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9729         (__libc_ifunc_impl_list): Likewise.
9730         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9731         multiarch strcat for PPC64.
9732         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9733         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9735 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9737         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9739 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9741         * intl/loadmsgcat.c: Remove declaration of
9742         get_sysdep_segment_value.
9743         (get_sysdep_segment_value): Use ISO C style.
9744         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9745         semicolon.  Fix typo and formatting in comment.
9746         (_nl_unload_domain): Use ISO C style.
9748         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9750 2014-07-02  Will Newton  <will.newton@linaro.org>
9752         * malloc/obstack.c: Merge from gnulib master.
9753         [HAVE_CONFIG_H]: Remove conditional code.
9754         [!_LIBC]: Include config.h.
9755         [!ELIDE_CODE]: Don't include inttypes.h, include
9756         stdint.h unconditionally.
9757         (print_and_abort): Mark as _Noreturn.
9758         (_obstack_allocated_p): Mark as __attribute_pure__.
9759         (obstack_free): Rename to __obstack_free.
9760         [!__attribute__]: Remove conditional code.
9761         * malloc/obstack.h: Merge from gnulib master.
9762         [__cplusplus]: Move conditional down.
9763         [!__attribute_pure__]: Define __attribute_pure__ here
9764         if it is not already defined.
9765         (_obstack_memory_used): Mark as __attribute_pure__.
9766         [!__obstack_free]: Define as obstack_free.
9767         [__GNUC__]: Remove check for ancient NeXT gcc.
9769 2014-07-02  Will Newton  <will.newton@linaro.org>
9770             Paul Eggert  <eggert@cs.ucla.edu>
9772         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9774 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9776         * resolv/gethnamaddr.c: Add comment warning that the file is
9777         not maintained.
9779 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9781         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9782         entries.
9784         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9785         entry for aio_cancel and aio_cancel64.
9786         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9787         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9788         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9789         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9790         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9791         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9793         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9794         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9795         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9796         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9797         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9798         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9800 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9802         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9803         * nptl/pthread_mutex_lock.c: Likewise.
9804         * nptl/pthread_mutex_timedlock.c: Likewise.
9805         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9807 2014-07-01  Richard henderson  <rth@redhat.com>
9809         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9810         (__isnan, __isnanl): Remove.
9811         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9813         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9815 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9817         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9819 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9821         * resolv/nss_dns/dns-host.c (getanswer_r)
9822         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9824 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9827         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9828         undefine.
9829         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9830         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9832 2014-07-01  Roland McGrath <roland@hack.frob.com>
9834         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9835         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9837         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9838         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9840         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9841         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9842         ... here.
9843         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9844         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9846         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9847         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9848         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9849         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9851         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9852         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9853         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9854         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9856         Moved ...
9857         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9858         ... here.
9859         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9860         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9861         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9862         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9863         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9864         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9865         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9866         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9868         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9869         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9870         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9871         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9872         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9873         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9874         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9875         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9876         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9877         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9878         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9879         ... here.
9880         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9881         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9882         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9883         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9884         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9885         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9886         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9887         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9889 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9891         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9892         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9893         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9894         Add sysdep.
9896 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9900 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9902         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9903         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9905         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9907         * sysdeps/arm/libm-test-ulps: Regenerated.
9909 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9910             Roland McGrath <roland@hack.frob.com>
9912         * test-skeleton.c (signal_handler): Kill the whole process group
9913         before killing the child individually.
9914         (main): Report any failure on `setpgid'.
9916 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9918         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9919         from _TLS_H to _ARM_NPTL_TLS_H.
9920         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9921         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9923 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9925         [BZ #16539]
9926         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9927         (__expm1l): Return argument unchanged when small but not
9928         subnormal.
9930         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9931         include macro name.
9932         (_FP_UNPACK_RAW_1_P): Likewise.
9933         (_FP_PACK_RAW_1): Likewise.
9934         (_FP_PACK_RAW_1_P): Likewise.
9935         (_FP_MUL_MEAT_1_wide): Likewise.
9936         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9937         (_FP_MUL_MEAT_1_hard): Likewise.
9938         (_FP_DIV_MEAT_1_imm): Likewise.
9939         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9940         (_FP_DIV_MEAT_1_udiv): Likewise.
9941         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9942         (_FP_UNPACK_RAW_2): Likewise.
9943         (_FP_UNPACK_RAW_2_P): Likewise.
9944         (_FP_PACK_RAW_2): Likewise.
9945         (_FP_PACK_RAW_2_P): Likewise.
9946         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9947         (_FP_MUL_MEAT_2_wide): Likewise.
9948         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9949         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9950         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9951         (_FP_MUL_MEAT_2_gmp): Likewise.
9952         (_FP_DIV_MEAT_2_udiv): Likewise.
9953         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9954         (_FP_FRAC_SRL_4): Likewise.
9955         (_FP_FRAC_SRST_4): Likewise.
9956         (_FP_FRAC_SRS_4): Likewise.
9957         (_FP_UNPACK_RAW_4): Likewise.
9958         (_FP_UNPACK_RAW_4_P): Likewise.
9959         (_FP_PACK_RAW_4): Likewise.
9960         (_FP_PACK_RAW_4_P): Likewise.
9961         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9962         (_FP_MUL_MEAT_4_wide): Likewise.
9963         (_FP_MUL_MEAT_4_gmp): Likewise.
9964         (umul_ppppmnnn): Likewise.
9965         (_FP_DIV_MEAT_4_udiv): Likewise.
9966         (__FP_FRAC_ADD_4): Likewise.
9967         (__FP_FRAC_SUB_3): Likewise.
9968         (__FP_FRAC_SUB_4): Likewise.
9969         (__FP_FRAC_DEC_3): Likewise.
9970         (__FP_FRAC_DEC_4): Likewise.
9971         (__FP_FRAC_ADDI_4): Likewise.
9972         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9973         (_FP_FRAC_SRL_8): Likewise.
9974         (_FP_FRAC_SRS_8): Likewise.
9976         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9977         include macro name.
9978         (FP_UNPACK_RAW_EP): Likewise.
9979         (FP_PACK_RAW_E): Likewise.
9980         (FP_PACK_RAW_EP): Likewise.
9981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9982         (_FP_ISSIGNAN): Likewise.
9983         (_FP_ADD_INTERNAL): Likewise.
9984         (_FP_FMA): Likewise.
9985         (_FP_CMP): Likewise.
9986         (_FP_SQRT): Likewise.
9987         (_FP_TO_INT): Likewise.
9988         (_FP_FROM_INT): Likewise.
9989         (FP_EXTEND): Likewise.
9990         (_FP_DIV_MEAT_N_loop): Likewise.
9992 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9994         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9995         throughout.
9997 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9999         [BZ #17097]
10000         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10001         result with correct sign in case of exponents that produce
10002         overflow except for X very close to 1.
10004 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
10006         mktime: merge #if/#ifdef usage from glibc
10007         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10008         as that works with both Glibc's and Gnulib's style.
10009         See thread starting at Siddhesh Poyarekar's bug report at:
10010         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10012 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10014         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10015         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10016         * sysdeps/tile/tilegx/memmove.c: Remove file.
10018 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10020         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10021         abi-name definition.
10022         * scripts/soversions.awk: Do not handle or generate ABI lines.
10023         * shlib-versions: Remove ABI entries.
10024         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10025         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10027 2014-06-27  Roland McGrath  <roland@hack.frob.com>
10029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10030         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10031         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10032         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10034         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10036         Moved ...
10037         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10038         ... here.
10039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10040         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10042         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10044         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10046         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10048         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10050         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10052         Moved ...
10053         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10055         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10057         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10059         Moved ...
10060         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10062         Moved ...
10063         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10067         Moved ...
10068         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10070         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10072         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10074         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10076         Moved ...
10077         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10079         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10080         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10081         Moved ...
10082         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10084         Moved ...
10085         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10087         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10089         Moved ...
10090         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10091         ... here.
10092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10093         Identical file removed.
10094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10095         Moved ...
10096         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10098         Identical file removed.
10099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10100         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10102         Moved ...
10103         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10105         Identical file removed.
10106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10107         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10109         Identical file removed.
10110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10111         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10113         Identical file removed.
10114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10115         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10117         Identical file removed.
10118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10119         Moved ...
10120         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10122         Identical file removed.
10123         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10124         Moved ...
10125         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10127         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10129         Identical file removed.
10130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10131         Moved ...
10132         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10133         ... here.
10134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10135         Identical file removed.
10136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10137         Moved ...
10138         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10140         Identical file removed.
10141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10142         Moved ...
10143         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10145         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10146         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10147         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10149         Moved ...
10150         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10151         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10152         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10154         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10155         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10156         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10157         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10158         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10160 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10162         [BZ #17092]
10163         * nscd/nscd.c (monitor_child): Return exit status of child
10164         instead of return value from wait syscall.
10166 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10168         * configure.ac (libc_commonpagesize): Remove variable.
10169         (libc_relro_required): Likewise.
10170         (libc_cv_z_relro): Remove configure test.
10171         * configure: Regenerated.
10172         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10173         variable.
10174         (libc_relro_required): Likewise.
10175         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10176         (libc_relro_required): Likewise.
10177         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10178         (libc_relro_required): Likewise.
10179         * sysdeps/arm/preconfigure: Regenerated.
10180         * sysdeps/ia64/preconfigure: Remove file.
10181         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10182         variable.
10183         (libc_relro_required): Likewise.
10185         [BZ #16561]
10186         [BZ #16562]
10187         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10188         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10189         recompute overflowing results in original rounding mode.
10190         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10191         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10192         recompute overflowing results in original rounding mode.
10193         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10194         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10195         recompute overflowing results in original rounding mode.
10196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10197         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10198         recompute overflowing results in original rounding mode.
10199         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10200         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10201         recompute overflowing results in original rounding mode.
10202         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10203         (libc_feholdsetround_ctx): New macro.
10204         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10205         * sysdeps/i386/fpu/libm-test-ulps: Update.
10206         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10208 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10210         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10211         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10212         corresponding .cpsetup call.
10214 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10216         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10217         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10218         * sysdeps/arm/Makefile [$(subdir) = csu]
10219         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10220         (static-only-routines): Add aeabi_read_tp here.
10221         (shared-only-routines): Add libc-aeabi_read_tp here.
10222         (CFLAGS-libc-start.c): Add -fexceptions here.
10223         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10224         (sysdep_routines, static-only-routines, shared-only-routines):
10225         Don't add to these here.
10226         (CFLAGS-libc-start.c): Likewise.
10228         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10229         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10230         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10231         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10232         * sysdeps/arm/Makefile [$(subdir) = rt]
10233         (librt-sysdep_routines, librt-shared-only-routines):
10234         Append rt-aeabi_unwind_cpp_pr1 here.
10235         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10236         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10237         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10238         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10239         Append nptl-aeabi_unwind_cpp_pr1 here.
10240         (tests): Filter out tst-cleanupx4 here.
10241         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10242         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10243         Don't do those here.
10245 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10247         * scripts/list-sources.sh: Do not handle ports specially.
10249 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10251         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10252         * sysdeps/arm/feupdateenv.c: Likewise.
10254         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10256 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10258         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10259         trailing whitespace removed.
10260         * scripts/config.guess: Update to version 2014-03-23.
10261         * scripts/config.sub: Update to version 2014-05-01
10262         * scripts/install-sh: Update to version 2013-12-25.23.
10263         * scripts/move-if-change: Update from gnulib.
10265 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10267         * debug/memmove_chk.c: Remove pagecopy.h include.
10269 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10271         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10272         identical to gnulib mktime.
10274 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10276         * configure.ac: Do not test for machine being rs6000.  Do not test
10277         for powerpc*-*soft.
10278         * configure: Regenerated.
10280         [BZ #11505]
10281         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10282         test.
10283         * configure: Regenerated.
10284         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10285         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10286         Remove configure test.
10287         * sysdeps/arm/configure: Regenerated.
10288         * sysdeps/nptl/configure.ac: Do not check
10289         libc_cv_asm_cfi_directives.
10290         * sysdeps/nptl/configure: Regenerated.
10291         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10292         * sysdeps/x86_64/nptl/configure: Remove generated file.
10293         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10294         unconditional.
10295         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10297 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10300         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10301         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10302         it is defined.
10304         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10305         instead of whether it is defined.
10306         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10307         * sysdeps/hppa/dl-machine.h: Likewise.
10308         * sysdeps/ia64/dl-machine.h: Likewise.
10309         * sysdeps/m68k/dl-machine.h: Likewise.
10310         * sysdeps/microblaze/dl-machine.h: Likewise.
10311         * sysdeps/mips/dl-machine.: Likewise.
10312         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10313         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10314         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10315         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10316         * sysdeps/sh/dl-machine.h: Likewise.
10317         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10318         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10319         * sysdeps/tile/dl-machine.h: Likewise.
10320         * sysdeps/x86_64/dl-machine.h: Likewise.
10322         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10323         code.
10324         (verify_persistent_db): Likewise.
10326 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10329         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10331         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10333         Moved ...
10334         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10335         ... here.
10336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10337         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10339         Identical file removed.
10340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10341         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10343         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10345         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10347         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10349         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10351         Moved ...
10352         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10354         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10356         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10358         Moved ...
10359         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10361         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10363         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10365         Identical file removed.
10366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10367         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10369         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10371         Moved ...
10372         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10373         ... here.
10374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10375         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10377         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10379         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10381         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10383         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10385         Moved ...
10386         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10388         Moved ...
10389         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10391         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10393         Moved ...
10394         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10396         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10398         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10399         folded into ...
10400         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10401         * sysdeps/unix/sysv/linux/s390/Versions
10402         (libpthread: GLIBC_2.19): New version set.
10403         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10404         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10405         (librt: GLIBC_2.3.3): New version set.
10406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10407         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10408         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10409         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10410         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10411         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10412         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10413         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10414         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10415         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10416         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10417         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10418         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10419         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10420         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10421         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10422         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10423         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10424         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10425         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10426         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10427         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10428         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10429         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10430         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10431         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10432         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10434         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10436         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10437         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10442         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10444         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10446         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10448         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10450         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10452         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10453         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10454         (__libc_vfork): Define the function under this name.
10455         [!NOT_IN_libc] (__vfork): Make this an alias.
10456         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10458         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10459         (__libc_vfork): Define the function under this name.
10460         [!NOT_IN_libc] (__vfork): Make this an alias.
10461         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10462         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10463         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10465         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10466         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10468         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10469         code that was previously under [RESET_PID].
10470         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10471         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10474         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10475         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10476         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10477         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10478         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10479         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10480         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10481         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10482         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10483         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10484         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10485         Moved ...
10486         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10487         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10488         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10489         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10490         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10491         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10492         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10493         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10494         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10495         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10497         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10498         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10499         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10500         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10501         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10502         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10503         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10504         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10505         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10506         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10507         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10508         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10509         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10510         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10511         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10512         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10514         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10516 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10518         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10519         that was previously under [RESET_PID].
10520         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10522 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10524         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10525         not undefine and redefine.
10526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10527         [O_CLOEXEC]: Make code unconditional.
10528         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10529         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10530         <kernel-features.h>.
10531         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10532         conditional variable definition.
10533         (shm_open) [O_CLOEXEC]: Make code unconditional.
10534         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10535         code.
10537         * configure.ac (USE_REGPARMS): Don't define here.
10538         * configure: Regenerated.
10539         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10540         * sysdeps/i386/configure: Regenerated.
10542         * nptl/createthread.c: Don't include kernel-features.h.
10543         * nptl/pthread_cancel.c: Likewise.
10544         * nptl/pthread_condattr_setclock.c: Likewise.
10545         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10546         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10547         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10548         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10549         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10550         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10551         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10554         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10555         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10556         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10557         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10558         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10559         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10560         * nscd/gai.c: Likewise.
10561         * nss/nss_db/db-open.c: Likewise.
10562         * sysdeps/generic/ldsodefs.h: Likewise.
10563         * sysdeps/sh/nptl/tls.h: Likewise.
10564         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10565         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10566         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10567         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10568         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10569         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10570         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10571         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10572         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10573         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10574         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10575         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10576         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10577         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10578         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10579         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10580         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10581         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10582         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10583         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10586         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10587         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10592         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10593         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10594         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10595         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10596         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10597         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10598         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10599         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10600         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10601         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10602         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10603         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10604         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10605         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10606         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10607         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10608         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10609         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10610         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10611         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10612         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10613         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10614         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10615         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10616         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10617         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10618         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10619         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10620         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10621         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10644         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10645         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10646         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10647         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10648         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10649         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10650         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10651         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10652         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10653         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10654         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10655         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10656         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10657         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10658         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10659         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10660         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10661         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10662         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10663         * sysdeps/unix/sysv/linux/system.c: Likewise.
10664         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10665         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10666         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10667         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10668         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10669         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10670         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10672         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10673         * configure: Regenerated.
10674         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10676         * configure.ac (base_machine): Do not set specially for particular
10677         machines here.
10678         * configure: Regenerated.
10679         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10680         settings from configure.ac.
10681         * sysdeps/i386/preconfigure: New file.
10682         * sysdeps/s390/preconfigure: Likewise.
10683         * sysdeps/sh/preconfigure: Likewise.
10684         * sysdeps/sparc/preconfigure: Likewise.
10686 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10688         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10689         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10690         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10691         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10692         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10693         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10694         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10695         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10696         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10697         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10698         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10699         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10700         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10701         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10702         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10705         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10706         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10708         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10709         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10710         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10711         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10712         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10713         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10714         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10715         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10716         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10717         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10718         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10719         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10720         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10721         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10722         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10723         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10724         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10725         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10726         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10727         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10729         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10730         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10731         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10732         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10733         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10735         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10736         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10737         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10738         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10739         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10740         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10741         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10742         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10743         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10744         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10745         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10748         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10750         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10752         Moved ...
10753         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10754         ... here.
10755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10756         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10758         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10760         Moved ...
10761         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10763         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10765         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10767         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10769         Moved ...
10770         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10772         Moved ...
10773         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10775         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10777         Moved ...
10778         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10780         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10782         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10784         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10786         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10788         Moved ...
10789         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10790         ... here.
10791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10792         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10794         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10796         Moved ...
10797         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10799         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10801         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10803         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10805         Moved ...
10806         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10808         Moved ...
10809         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10811         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10813         Moved ...
10814         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10816         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10818         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10820 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10822         * timezone/checktab.awk: Update from tzcode 2014e.
10823         * timezone/private.h: Likewise.
10824         * timezone/tzfile.h: Likewise.
10825         * timezone/zdump.c: Likewise.
10826         * timezone/zic.c: Likewise.
10828         * sysdeps/unix/sysv/linux/kernel-features.h
10829         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10831         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10832         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10833         Remove conditional code.
10835 2014-06-25  Will Newton  <will.newton@linaro.org>
10837         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10838         (_dl_arm_cap_flags): Add HWCAP2 values.
10839         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10840         (_DL_HWCAP_COUNT): Increase to 37.
10841         (_DL_HWCAP_LAST): New define.
10842         (_DL_HWCAP2_LAST): New define.
10843         (_dl_procinfo): Add support for printing
10844         AT_HWCAP2 entries.
10845         (_dl_string_hwcap): Use _dl_hwcap_string.
10847 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10851 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10853         * README: Do not mention ports directory.
10855         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10856         Remove macro.
10857         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10858         <kernel-features.h>.
10859         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10860         conditional variable definition.
10861         (__futimes): Update comment.
10862         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10863         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10865         [BZ #16560]
10866         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10867         arguments close to 0.
10868         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10869         Likewise.
10870         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10871         Likewise.
10872         * math/auto-libm-test-in: Add more tests of exp10.
10873         * math/auto-libm-test-out: Regenerated.
10874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10876         * sysdeps/unix/sysv/linux/kernel-features.h
10877         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10878         * sysdeps/unix/sysv/linux/readv.c: Do not include
10879         <kernel-features.h>.
10880         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10881         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10882         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10883         unconditional.
10884         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10885         conditional code.
10886         * sysdeps/unix/sysv/linux/writev.c: Do not include
10887         <kernel-features.h>.
10888         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10889         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10890         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10891         unconditional.
10892         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10893         conditional code.
10895 2014-06-25  Will Newton  <will.newton@linaro.org>
10897         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10898         comment changes throughout the file.  Remove checks
10899         for HAVE_*_H definitions that are not required.
10900         (__gen_tempname): Call abort if an unknown kind value is
10901         passed.
10903 2014-06-25  Andreas Schwab  <schwab@suse.de>
10905         [BZ #17086]
10906         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10907         scalbln, scalblnf, scalblnl in libc.
10909 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10911         [BZ #17086]
10912         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10913         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10914         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10916 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10918         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10919         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10920         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10921         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10922         Update #include.
10923         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10924         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10925         Update #include.
10926         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10927         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10928         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10929         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10930         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10931         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10932         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10933         * sysdeps/x86/bits/semaphore.h: ... here.
10934         * sysdeps/x86/nptl/elide.h: Moved ...
10935         * sysdeps/x86/elide.h: ... here.
10936         * sysdeps/x86_64/nptl/Implies: File removed.
10937         * sysdeps/i386/nptl/Implies: File removed.
10939 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10941         [BZ #16539]
10942         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10943         return the argument for normal arguments with exponent below -64.
10944         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10945         Likewise.
10946         * math/auto-libm-test-in: Add another test of expm1.
10947         * math/auto-libm-test-out: Regenerated.
10949         [BZ #16287]
10950         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10951         calling __erfcl for arguments at least 16.
10952         * math/auto-libm-test-in: Add more tests of erf.
10953         * math/auto-libm-test-out: Regenerated.
10955         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10956         individual architectures.
10957         * sysdeps/unix/sysv/linux/configure: Regenerated.
10958         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10959         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10960         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10961         (ldd_rewrite_script): Define variable.
10962         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10964         file.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10966         generated file.
10967         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10968         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10969         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10970         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10971         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10972         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10973         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10974         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10976 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10978         [BZ #17084]
10979         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10980         Rename member __data.d to __data.__elision_data.
10982 2014-06-24  Wilco  <wdijkstr@arm.com>
10984         * NEWS: Add 16918 to fixed bug list.
10986 2014-06-24  Wilco  <wdijkstr@arm.com>
10988         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10990 2014-06-24  Wilco  <wdijkstr@arm.com>
10992         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10993         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10994         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10995         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10996         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10997         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10998         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10999         Use _FPU_MASK_RM.
11001 2014-06-24  Wilco  <wdijkstr@arm.com>
11003         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11005 2014-06-24  Wilco  <wdijkstr@arm.com>
11007         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11008         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11009         * sysdeps/arm/fesetround.c (fesetround): Remove space.
11010         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11012 2014-06-24  Wilco  <wdijkstr@arm.com>
11014         [BZ #16918]
11015         * sysdeps/arm/feupdateenv.c (feupdateenv):
11016         Rewrite to reduce FPSCR accesses and fix return value.
11018 2014-06-24  Wilco  <wdijkstr@arm.com>
11020         * sysdeps/arm/fclrexcpt.c (feclearexcept):
11021         Optimize to avoid unnecessary FPSCR writes.
11022         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11023         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11024         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11025         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11027 2014-06-24  Wilco  <wdijkstr@arm.com>
11029         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11030         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11031         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11032         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11033         Call libc_fetestexcept_vfp.
11034         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11035         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11036         __SOFTFP__ ifdef so that they can be built for softfp.
11038 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11040         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11041         argument type signed char.
11043         * Makerules (check-abi): Dump diff of symlist if the test
11044         fails.
11046 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11048         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11049         using abort.
11051         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11052         Remove unused variable ST.
11054 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11056         [BZ #16354]
11057         [BZ #17061]
11058         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11059         small arguments before calling __expm1.
11060         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11061         small arguments before calling __expm1f.
11062         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11063         small arguments before calling __expm1l.
11064         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11065         Likewise.
11066         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11067         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
11068         spurious underflow for some cosh tests.
11069         * math/auto-libm-test-out: Regenerated.
11070         * sysdeps/i386/fpu/libm-test-ulps: Update.
11072         [BZ #17050]
11073         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11074         (__ieee754_y1): Set errno if return value overflows.
11075         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11076         (__ieee754_y1f): Set errno if return value overflows.
11077         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11078         (__ieee754_y1l): Set errno if return value overflows.
11079         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11080         (__ieee754_y1l): Set errno if return value overflows.
11081         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11082         * math/auto-libm-test-out: Regenerated.
11084         * math/gen-auto-libm-tests.c: Document use of
11085         ignore-zero-inf-sign.
11086         (input_flag_type): Add value flag_ignore_zero_inf_sign.
11087         (input_flags): Add ignore-zero-inf-sign.
11088         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11089         * math/gen-libm-test.pl (generate_testfile): Handle
11090         ignore-zero-inf-sign.
11091         * math/auto-libm-test-in: Mark some cpow tests with
11092         ignore-zero-inf-sign and some with xfail-rounding.
11093         * math/auto-libm-test-out: Regenerated.
11094         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11095         * sysdeps/i386/fpu/libm-test-ulps: Update.
11096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11098         [BZ #16315]
11099         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11100         overflowing or underflowing operations take place with sign of
11101         result.
11102         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11103         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11104         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11105         (__ieee754_pow): Recompute overflowing and underflowing results in
11106         original rounding mode.
11107         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11108         (__powl_helper): Allow negative argument X and scale negated value
11109         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
11110         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11111         overflowing or underflowing operations take place with sign of
11112         result.
11113         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11114         Include <math.h>.
11115         * math/auto-libm-test-in: Add more tests of pow.
11116         * math/auto-libm-test-out: Regenerated.
11117         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11118         (pow_tonearest_test_data): Remove.
11119         (pow_test_tonearest): Likewise.
11120         (pow_towardzero_test_data): Likewise.
11121         (pow_test_towardzero): Likewise.
11122         (pow_downward_test_data): Likewise.
11123         (pow_test_downward): Likewise.
11124         (pow_upward_test_data): Likewise.
11125         (pow_test_upward): Likewise.
11126         (main): Don't call removed functions.
11127         * sysdeps/i386/fpu/libm-test-ulps: Update.
11128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11130 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11133         Moved ...
11134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11136         Moved ...
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11139         Moved ...
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11142         Moved ...
11143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11145         File removed.
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11147         File removed.
11148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11149         File removed.
11150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11151         File removed.
11152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11153         File removed.
11154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11155         File removed.
11156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11157         File removed.
11158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11159         File removed.
11160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11161         File removed.
11162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11163         File removed.
11164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11165         File removed.
11166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11167         File removed.
11168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11169         Moved ...
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11172         Moved ...
11173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11174         ... here.
11175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11176         Moved ...
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11179         Moved ...
11180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11182         Moved ...
11183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11185         Moved ...
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11188         Moved ...
11189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11191         Moved ...
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11194         Moved ...
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11198         ... here.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11200         Moved ...
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11203         Moved ...
11204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11205         ... here.
11206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11207         Moved ...
11208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11209         ... here.
11210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11211         Moved ...
11212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11213         ... here.
11214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11215         Moved ...
11216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11218         Moved ...
11219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11223         Moved ...
11224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11225         ... here.
11226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11227         Moved ...
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11229         ... here.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11231         Moved ...
11232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11234         Moved ...
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11237         Moved ...
11238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11240         Moved ...
11241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11243         Moved ...
11244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11245         ... here.
11246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11247         Moved ...
11248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11250         Moved ...
11251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11253         Moved ...
11254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11256         Moved ...
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11261         Moved ...
11262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11264         Moved ...
11265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11267         Moved ...
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11269         ... here.
11270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11271         Moved ...
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11273         ... here.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11275         Moved ...
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11277         ... here.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11279         Moved ...
11280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11282         Moved ...
11283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11285         Moved ...
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11288         Moved ...
11289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11290         ... here.
11291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11292         Moved ...
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11294         ... here.
11295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11296         Moved ...
11297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11298         ... here.
11299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11300         Moved ...
11301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11303         Moved ...
11304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11306 2014-06-23  Will Newton  <will.newton@linaro.org>
11307             Wilco  <wdijkstr@arm.com>
11309         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11310         implementation.  Include get-rounding-mode.h.
11311         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11312         [!libc_feholdsetround_noex_ctx]: Define
11313         libc_feholdsetround_noex_ctx.
11314         [!libc_feholdsetround_noexf_ctx]: Define
11315         libc_feholdsetround_noexf_ctx.
11316         [!libc_feholdsetround_noexl_ctx]: Define
11317         libc_feholdsetround_noexl_ctx.
11318         (libc_feholdsetround_ctx): New function.
11319         (libc_feresetround_ctx): New function.
11320         (libc_feholdsetround_noex_ctx): New function.
11321         (libc_feresetround_noex_ctx): New function.
11323 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11325         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11326         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11327         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11328         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11329         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11330         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11332         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11333         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11334         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11335         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11336         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11337         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11339         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11341         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11343         Moved ...
11344         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11345         ... here.
11346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11347         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11349         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11351         Moved ...
11352         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11354         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11355         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11358         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11360         Moved ...
11361         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11363         Moved ...
11364         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11366         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11368         Moved ...
11369         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11371         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11372         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11373         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11374         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11375         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11377         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11379         Moved ...
11380         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11381         ... here.
11382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11383         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11385         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11387         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11389         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11390         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11391         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11392         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11393         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11395         Moved ...
11396         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11397         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11398         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11399         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11400         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11401         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11402         Moved ...
11403         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11405         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11406         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11407         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11409         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11410         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11411         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11412         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11413         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11414         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11415         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11416         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11418         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11419         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11420         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11421         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11422         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11423         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11424         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11425         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11426         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11427         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11428         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11429         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11430         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11431         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11432         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11433         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11434         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11435         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11436         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11438 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11440         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11441         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11442         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11443         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11444         (IPV6_PMTUDISC_INTERFACE): Likewise.
11445         (IPV6_PMTUDISC_OMIT): Likewise.
11447 2014-06-23  Andreas Schwab  <schwab@suse.de>
11449         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11450         Remove unused errout label.
11452 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11454         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11455         macro: hardware supports Vector Crypto instructions.
11457 2014-06-23  Will Newton  <will.newton@linaro.org>
11459         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11460         rather than __builtin_expect.
11462         * elf/dl-lookup.c (undefined_msg): Remove variable.
11463         (_dl_lookup_symbol_x): Replace undefined_msg with string
11464         literal.
11466         * elf/dl-lookup.c (do_lookup_unique): New function.
11467         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11468         to a separate function.
11470 2014-06-23  Andreas Schwab  <schwab@suse.de>
11472         [BZ #17079]
11473         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11474         before reading the next line.
11476 2014-06-23  Will Newton  <will.newton@linaro.org>
11478         * test-skeleton.c (signal_handler): Use printf and %m
11479         rather than perror.  Use printf rather than fprintf to
11480         stderr.  Use puts rather than fputs to stderr.
11481         (main): Likewise.
11483 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11485         * nscd/nscd.c (thread_info_t): Remove typedef.
11486         (thread_info): Remove variable.
11488 2014-06-21  Allan McRae  <allan@archlinux.org>
11490         * NEWS: Mention CVE-2014-4043.
11492 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11494         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11495         * nptl/smp.h: ... here.
11497         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11499         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11500         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11501         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11502         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11504         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11505         * nptl/stack-aliasing.h: New file.
11506         * sysdeps/i386/i686/stack-aliasing.h: New file.
11507         * sysdeps/i386/i686/nptl/Makefile: File removed.
11508         * sysdeps/x86_64/stack-aliasing.h: New file.
11509         * sysdeps/x86_64/nptl/Makefile
11510         (CFLAGS-pthread_create.c): Variable removed.
11512         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11513         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11514         old file.
11515         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11516         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11517         old file.
11519 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11522         (__ASSUME_SIGFRAME_V2): Remove macro.
11523         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11524         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11525         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11526         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11527         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11528         Declare as function.  Remove conditional macro definitions.
11529         (__default_rt_sa_restorer): Likewise.
11530         (__default_sa_restorer_v1): Remove declaration.
11531         (__default_sa_restorer_v2): Likewise.
11532         (__default_rt_sa_restorer_v1): Likewise.
11533         (__default_rt_sa_restorer_v2): Likewise.
11534         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11535         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11536         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11538 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11540         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11541         (libpthread-routines): Add sysdep.
11542         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11543         * sysdeps/unix/sysv/linux/sparc/Versions
11544         (libpthread: GLIBC_2.3.3): New version set.
11545         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11546         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11547         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11548         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11549         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11550         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11551         Moved ...
11552         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11553         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11554         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11555         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11556         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11557         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11558         * sysdeps/sparc/nptl/sem_init.c: ... here.
11559         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11560         * sysdeps/sparc/nptl/sem_post.c: ... here.
11561         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11562         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11563         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11564         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11565         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11566         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11567         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11568         (libpthread-routines): Add cpu_relax.
11569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11570         File removed.
11571         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11572         (librt: GLIBC_2.3.3): New version set.
11573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11574         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11575         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11576         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11579         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11581         Moved ...
11582         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11584         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11586         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11588         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11590         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11592         Moved ...
11593         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11594         Update #include.
11595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11596         Moved ...
11597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11598         Update #include.
11599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11600         Moved ...
11601         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11602         Update #include.
11603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11604         Moved ...
11605         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11606         Update #include.
11607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11608         Moved ...
11609         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11610         Update #include.
11611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11612         Moved ...
11613         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11614         Update #include.
11615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11616         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11622         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11624         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11626         Moved ...
11627         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11629         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11631         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11633 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11635         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11636         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11637         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11638         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11639         * nscd/nscd.c: Likewise.
11640         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11641         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11642         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11643         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11645         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11646         <kernel-features.h>.
11647         (init_mq_netlink): Remove conditional have_sock_cloexec
11648         definitions.  Remove code conditional on have_sock_cloexec < 0.
11649         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11650         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11651         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11652         <kernel-features.h>.
11653         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11654         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11656 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11659         Add tests for memset_chk and memset.
11661         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11662         with AVX2_Usable.
11664 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11666         [BZ #16046]
11667         * elf/tst-dl-iter-static.c: New file.
11668         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11670         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11671         error.
11673 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11675         * sysdeps/unix/sysv/linux/kernel-features.h
11676         (__ASSUME_F_GETOWN_EX): Remove macro.
11677         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11678         <kernel-features.h>.
11679         (miss_F_GETOWN_EX): Remove variable or macro.
11680         (do_fcntl): Do not check miss_F_GETOWN_EX.
11681         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11684         Remove macro.
11685         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11686         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11687         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11689         * sysdeps/unix/sysv/linux/kernel-features.h
11690         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11691         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11692         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11693         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11695 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11697         [BZ #17075]
11698         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11699         Fix calculation of the symbol's value.
11700         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11701         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11702         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11703         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11704         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11705         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11706         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11707         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11708         (modules-names): Add `tst-armtlsdescmod',
11709         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11710         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11711         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11712         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11713         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11714         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11715         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11716         ($(objpfx)tst-armtlsdescloc): New dependency.
11717         ($(objpfx)tst-armtlsdescextnow): Likewise.
11718         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11719         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11720         TLS scheme support.
11721         * sysdeps/arm/configure: Regenerate.
11723 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11725         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11726         (__atfct_seterrno_2): Likewise.
11727         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11728         <kernel-features.h>.
11729         (__ASSUME_ATFCTS): Do not undefine and redefine.
11730         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11731         (__have_atfcts): Remove conditional definition.
11732         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11733         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11734         unreachable if [__ASSUME_ATFCTS].
11735         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11736         not undefine and redefine.
11737         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11738         <kernel-features.h>.
11739         (faccessat) [__NR_faccessat]: Make code unconditional.
11740         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11741         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11742         <kernel-features.h>.
11743         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11744         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11745         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11746         <kernel-features.h>.
11747         (fchownat) [__NR_fchownat]: Make code unconditional.
11748         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11749         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11750         <kernel-features.h>.
11751         (futimesat) [__NR_futimesat]: Make code unconditional.
11752         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11753         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11754         <kernel-features.h>.
11755         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11756         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11757         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11758         <kernel-features.h>.
11759         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11760         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11761         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11762         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11763         <kernel-features.h>.
11764         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11765         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11766         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11767         <kernel-features.h>.
11768         (linkat) [__NR_linkat]: Make code unconditional.
11769         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11770         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11771         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11772         <kernel-features.h>.
11773         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11774         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11775         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11776         <kernel-features.h>.
11777         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11778         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11779         * sysdeps/unix/sysv/linux/openat.c: Do not include
11780         <kernel-features.h>.
11781         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11782         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11783         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11784         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11785         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11786         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11787         <kernel-features.h>.
11788         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11789         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11790         result of INLINE_SYSCALL directly, not via int variable.
11791         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11792         <kernel-features.h>.
11793         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11794         (renameat) [__NR_renameat]: Make code unconditional.
11795         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11796         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11797         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11798         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11799         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11800         (__ASSUME_ATFCTS): Do not undefine and redefine.
11801         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11802         <kernel-features.h>.
11803         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11804         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11805         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11806         <kernel-features.h>.
11807         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11808         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11809         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11810         (__ASSUME_ATFCTS): Do not undefine and redefine.
11811         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11812         <kernel-features.h>.
11813         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11814         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11815         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11816         <kernel-features.h>.
11817         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11818         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11820 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11822         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11824 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11826         [BZ #17069]
11827         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11828         constructed tree before returning error.
11829         * posix/bug-regexp36.c: Expand test case.
11831 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11833         [BZ #6803]
11834         * math/libm-test.inc (scalbln_test_date):
11835         Add errno expectations.
11836         * math/w_scalblnf.c: New File.
11837         Add wrapper which checks for setting errno to ERANGE.
11838         Add weak_alias for corresponding scalbln function.
11839         * math/w_scalbln.c: Likewise.
11840         * math/w_scalblnl.c: Likewise.
11841         * math/Makefile (libm-calls): Add w_scalbln.
11842         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11843         Remove weak_alias for corresponding scalbln function.
11844         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11847         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11848         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11849         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11850         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11851         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11852         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11853         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11854         Remove long_double_symbol for scalblnl function in libm, libc.
11855         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11856         Add wrapper which checks for setting errno to ERANGE.
11857         Add long_double_symbol for scalblnl function in libm, libc.
11858         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11859         Remove long_double_symbol for scalblnl in libm.
11860         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11861         Add wrapper which checks for setting errno to ERANGE.
11862         Add long_double_symbol for scalblnl function in libm.
11863         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11864         Do not use wrapper because of own implementation.
11866 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11868         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11869         3 bytes for __pad1 for x32.
11870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11872 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11873             H.J. Lu  <hongjiu.lu@intel.com>
11875         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11876         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11877         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11878         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11879         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11881 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11883         [BZ #17069]
11884         * posix/regcomp.c (parse_expression): Deallocate partially
11885         constructed tree before returning error.
11886         * posix/Makefile.c (tests): Add bug-regex36.
11887         (generated): Add bug-regex36.mtrace.
11888         (tests-special): Add $(objpfx)bug-regex36-mem.out
11889         (bug-regex36-ENV): New variable.
11890         ($(objpfx)bug-regex36-mem.out): New rule.
11891         * posix/bug-regex36.c: New file.
11893 2014-06-19  Will Newton  <will.newton@linaro.org>
11895         * malloc/malloc.c (systrim): If extra is zero then return
11896         early.
11898 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11900         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11902 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11904         * sysdeps/aarch64/strchr.S: New file.
11906 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11908         [BZ #17022]
11909         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11910         from arguments -2 or below.
11911         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11912         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11914 2014-06-18  Andreas Schwab  <schwab@suse.de>
11916         [BZ #17062]
11917         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11918         of a bracket expr not to run off the end of the string.
11919         * posix/Makefile (tests): Add tst-fnmatch3.
11920         * posix/tst-fnmatch3.c: New file.
11922 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11924         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11925         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11926         [$(cross-compiling) = no]: Likewise.
11927         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11928         [$(cross-compiling) = no]: Likewise.
11930 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11932         [BZ #17031]
11933         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11934         double, adjusted for any remainder from the high double.
11935         * math/libm-test.inc (nearbyint): Add tests.
11936         (rint): Likewise.
11938 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11940         * nptl/sysdeps/powerpc/Makefile: Moved ...
11941         * sysdeps/powerpc/nptl/Makefile: ... here.
11942         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11943         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11944         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11945         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11946         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11947         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11948         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11949         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11950         * nptl/sysdeps/powerpc/tls.h: Moved ...
11951         * sysdeps/powerpc/nptl/tls.h: ... here.
11953 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11955         [BZ #16681]
11956         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11957         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11958         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11959         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11960         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11961         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11962         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11963         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11964         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11966 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11968         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11970 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11972         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11973         defined operator.
11975         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11976         $TIMEOUTFACTOR.
11978 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11980         [BZ #17058]
11981         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11982         non-executed part of the test.
11984 2014-06-16  Andreas Schwab  <schwab@suse.de>
11986         * string/bits/string2.h (strdup, strndup): Update feature guard.
11988 2014-06-14  David S. Miller  <davem@davemloft.net>
11990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11992 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11994         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11995         that was previously under [RESET_PID].
11996         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11998         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11999         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12000         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12001         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12002         (__libc_vfork): New strong alias.
12003         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12005 2014-06-14 Andi Kleen  <ak@linux.intel.com>
12007         * sysdeps/generic/elide.h: New file.
12009 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12011         * Makefile (installed-headers): Adjust path of pthread.h header.
12013 2014-06-13  Roland McGrath  <roland@hack.frob.com>
12015         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12016         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12017         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12018         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12020         * nptl/sysdeps/s390/Makefile: Moved ...
12021         * sysdeps/s390/nptl/Makefile: ... here.
12022         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12023         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12024         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12025         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12026         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12027         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12028         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12029         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12030         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12031         * sysdeps/s390/nptl/pthreaddef.h: ... here.
12032         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12033         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12034         * nptl/sysdeps/s390/tls.h: Moved ...
12035         * sysdeps/s390/nptl/tls.h: ... here.
12037         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12038         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12040 2014-06-13  David S. Miller  <davem@davemloft.net>
12042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12045         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12049         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12050         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12051         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12052         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12053         Remove RESET_PID cpp guards.
12054         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12055         Remove RESET_PID cpp guards.
12056         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12058 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
12060         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12061         __sp to uintptr_t.
12063 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12065         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12073         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12075         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12078         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12086         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12087         (pthread_rwlock_rdlock): Add elision.
12088         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12089         (pthread_rwlock_wrlock): Add elision.
12090         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12091         (pthread_rwlock_trywrlock): Add elision.
12092         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12093         (pthread_rwlock_tryrdlock): Add elision.
12094         * nptl/pthread_rwlock_unlock.c: Include elide.h.
12095         (pthread_rwlock_tryrdlock): Add elision unlock.
12096         * nptl/sysdeps/pthread/pthread.h:
12097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12098         (PTHREAD_RWLOCK_INITIALIZER,
12099         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12100         Handle new elision field.
12101         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12102         * sysdeps/arm/nptl/bits/pthreadtypes.h
12103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12104         * sysdeps/sh/nptl/bits/pthreadtypes.h
12105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12106         * sysdeps/tile/nptl/bits/pthreadtypes.h
12107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12108         * sysdeps/a/nptl/bits/pthreadtypes.h
12109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12110         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12112         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12114         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12115         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12116         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12118         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12120         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12122         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12124         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12126         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12127         (elision_init): Set try_xbegin to zero when no RTM.
12128         * sysdeps/x86/nptl/bits/pthreadtypes.h
12129         (pthread_rwlock_t): Change __pad1 to __rwelision.
12130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12132 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12134         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12135         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12136         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12137         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12139 2014-06-13  Meador Inge  <meadori@codesourcery.com>
12141         [BZ #16996]
12142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12143         that the cached result has been set before returning it.
12145 2014-06-12  Roland McGrath  <roland@hack.frob.com>
12147         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12148         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12149         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12150         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12151         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12152         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12154         * nptl/sysdeps/sparc/Makefile: Moved ...
12155         * sysdeps/sparc/nptl/Makefile: ... here.
12156         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12157         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12158         * nptl/sysdeps/sparc/tls.h: Moved ...
12159         * sysdeps/sparc/nptl/tls.h: ... here.
12160         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12161         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12162         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12163         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12164         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12165         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12166         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12167         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12168         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12169         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12170         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12171         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12172         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12173         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12174         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12175         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12176         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12178         Update #include.
12179         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12181         Update #include.
12182         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12184         Update #include.
12185         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12187         Update #include.
12189         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12191         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12192         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12194         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12195         (struct list_links): Type removed.
12196         (struct thread_node, struct timer_node): Replace struct list_links
12197         with struct list_head.
12198         (list_unlink_ip): Likewise.
12199         * sysdeps/pthread/timer_routines.c
12200         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12201         (list_append, list_insbefore): Likewise.
12202         (list_init): Function removed.
12203         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12204         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12205         * sysdeps/pthread/Makefile: ... here, new file.
12207         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12208         * sysdeps/nptl/Implies: ... here.
12209         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12210         * nptl/sysdeps/pthread/list.h: Moved ...
12211         * include/list.h: ... here.
12212         * nptl/sysdeps/pthread/createthread.c: Moved ...
12213         * nptl/createthread.c: ... here.
12214         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12215         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12216         * nptl/pt-longjmp.c: ... here.
12217         * nptl/sysdeps/pthread/Makefile: Moved ...
12218         * sysdeps/nptl/Makefile: ... here.
12219         * nptl/sysdeps/pthread/Subdirs: Moved ...
12220         * sysdeps/nptl/Subdirs: ... here.
12221         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12222         * sysdeps/nptl/aio_misc.h: ... here.
12223         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12224         * sysdeps/nptl/bits/libc-lock.h: ... here.
12225         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12226         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12227         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12228         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12229         * nptl/sysdeps/pthread/configure: Moved ...
12230         * sysdeps/nptl/configure: ... here.
12231         * nptl/sysdeps/pthread/configure.ac: Moved ...
12232         * sysdeps/nptl/configure.ac: ... here.
12233         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12234         * sysdeps/nptl/gai_misc.h: ... here.
12235         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12236         * sysdeps/nptl/librt-cancellation.c: ... here.
12237         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12238         * sysdeps/nptl/malloc-machine.h: ... here.
12239         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12240         * sysdeps/nptl/pthread-functions.h: ... here.
12241         * nptl/sysdeps/pthread/pthread.h: Moved ...
12242         * sysdeps/nptl/pthread.h: ... here.
12243         * nptl/sysdeps/pthread/setxid.h: Moved ...
12244         * sysdeps/nptl/setxid.h: ... here.
12245         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12246         * sysdeps/nptl/sigfillset.c: ... here.
12247         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12248         * sysdeps/nptl/tcb-offsets.h: ... here.
12249         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12250         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12251         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12252         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12253         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12254         * sysdeps/pthread/allocalim.h: ... here.
12255         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12256         * sysdeps/pthread/bits/sigthread.h: ... here.
12257         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12258         * sysdeps/pthread/flockfile.c: ... here.
12259         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12260         * sysdeps/pthread/ftrylockfile.c: ... here.
12261         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12262         * sysdeps/pthread/funlockfile.c: ... here.
12263         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12264         * sysdeps/pthread/posix-timer.h: ... here.
12265         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12266         * sysdeps/pthread/timer_create.c: ... here.
12267         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12268         * sysdeps/pthread/timer_delete.c: ... here.
12269         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12270         * sysdeps/pthread/timer_getoverr.c: ... here.
12271         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12272         * sysdeps/pthread/timer_gettime.c: ... here.
12273         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12274         * sysdeps/pthread/timer_routines.c: ... here.
12275         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12276         * sysdeps/pthread/timer_settime.c: ... here.
12277         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12278         * sysdeps/pthread/tst-timer.c: ... here.
12279         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12280         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12282         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12283         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12285         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12286         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12287         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12288         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12289         Update #include target.
12290         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12291         * sysdeps/i386/i686/nptl/Makefile: ... here.
12292         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12293         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12294         Update #include target.
12295         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12296         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12297         * nptl/sysdeps/i386/Makefile: Moved ...
12298         * sysdeps/i386/nptl/Makefile: ... here.
12299         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12300         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12301         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12302         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12303         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12304         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12305         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12306         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12307         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12308         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12309         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12310         * nptl/sysdeps/i386/tls.h: Moved ...
12311         * sysdeps/i386/nptl/tls.h: ... here.
12313         * sysdeps/sh/Makefile [$(subdir) = csu]
12314         (gen-as-const-headers): Add tcb-offsets.sym.
12315         * nptl/sysdeps/sh/Makefile: File removed.
12316         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12317         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12318         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12319         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12320         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12321         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12322         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12323         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12324         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12325         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12326         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12327         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12328         * nptl/sysdeps/sh/tls.h: Moved ...
12329         * sysdeps/sh/nptl/tls.h: ... here.
12330         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12331         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12332         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12333         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12334         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12335         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12336         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12338         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12339         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12340         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12341         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12342         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12343         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12345         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12346         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12347         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12348         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12349         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12350         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12351         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12352         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12353         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12355         Moved ...
12356         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12358         Moved ...
12359         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12360         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12361         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12364         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12365         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12366         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12367         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12368         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12369         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12370         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12371         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12372         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12373         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12374         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12375         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12376         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12377         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12379 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12381         * posix/spawn_faction_addopen.c: Include string.h.
12383 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12385         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12386         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12387         * nptl/sysdeps/x86_64/Makefile: Moved ...
12388         * sysdeps/x86_64/nptl/Makefile: ... here.
12389         * nptl/sysdeps/x86_64/configure: Moved ...
12390         * sysdeps/x86_64/nptl/configure: ... here.
12391         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12392         * sysdeps/x86_64/nptl/configure.ac: ... here.
12393         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12394         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12395         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12396         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12397         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12398         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12399         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12400         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12401         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12402         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12403         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12404         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12405         * nptl/sysdeps/x86_64/tls.h: Moved ...
12406         * sysdeps/x86_64/nptl/tls.h: ... here.
12407         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12408         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12409         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12410         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12412         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12414 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12418 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12420         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12421         type.
12422         [POSIX] (off_t): Likewise.
12423         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12424         [POSIX] (S_ISBLK): Require macro.
12425         [POSIX] (S_ISCHR): Likewise.
12426         [POSIX] (S_ISDIR): Likewise.
12427         [POSIX] (S_ISFIFO): Likewise.
12428         [POSIX] (S_ISREG): Likewise.
12429         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12430         optional-macro.
12431         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12432         type.
12433         [POSIX] (time_t): Likewise.
12434         [POSIX] (timer_t): Likewise.
12436 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12438         [BZ #17048]
12439         * posix/spawn_int.h (struct __spawn_action): Make the path string
12440         non-const to support deallocation.
12441         * posix/spawn_faction_addopen.c
12442         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12443         * posix/spawn_faction_destroy.c
12444         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12445         path in all spawn_do_open actions.
12446         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12447         posix_spawn_file_actions_addopen.
12449 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12451         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12452         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12453         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12454         conditional code always true.
12455         (__libc_vfork): New alias.
12457 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12459         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12460         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12462         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12464         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12465         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12467         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12468         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12470         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12471         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12473 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12475         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12476         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12477         multiarch strcmp for PPC64.
12478         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12479         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12481         multiarch optimizations.
12482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12483         (__libc_ifunc_impl_list): Likewise.
12485 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12487         * benchtests/scripts/validate_benchout.py: New script.
12488         * benchtests/Makefile (bench-func): Call it.
12489         * benchtests/scripts/benchout.schema.json: New file.
12491 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12493         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12494         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12495         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12496         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12497         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12498         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12499         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12500         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12501         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12502         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12503         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12504         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12505         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12506         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12507         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12508         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12510         Moved ...
12511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12512         ... here.
12513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12514         Moved ...
12515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12517         Moved ...
12518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12519         ... here.
12520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12521         Moved ...
12522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12523         ... here.
12524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12525         Moved ...
12526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12528         Moved ...
12529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12530         ... here.
12531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12532         Moved ...
12533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12534         ... here.
12535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12536         Moved ...
12537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12539         Moved ...
12540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12541         ... here.
12542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12543         Moved ...
12544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12545         ... here.
12546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12547         Moved ...
12548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12549         ... here.
12550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12551         Moved ...
12552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12554         Moved ...
12555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12556         ... here.
12557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12558         Moved ...
12559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12560         ... here.
12561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12562         Moved ...
12563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12564         ... here.
12565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12566         Moved ...
12567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12569         Moved ...
12570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12571         ... here.
12572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12573         Moved ...
12574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12575         ... here.
12576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12577         Moved ...
12578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12580         Moved ...
12581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12582         ... here.
12583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12584         Moved ...
12585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12587         Moved ...
12588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12590         Moved ...
12591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12592         ... here.
12593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12594         Moved ...
12595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12596         ... here.
12597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12598         Moved ...
12599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12600         ... here.
12601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12602         Moved ...
12603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12605         Moved ...
12606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12607         ... here.
12608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12609         Moved ...
12610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12611         ... here.
12612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12613         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12615         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12617         Moved ...
12618         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12619         ... here.
12620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12627         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12628         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12633         Moved ...
12634         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12636         Moved ...
12637         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12639         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12641         Moved ...
12642         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12644         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12645         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12646         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12647         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12648         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12650 2014-06-10  Wilco  <wdijkstr@arm.com>
12652         * math/test-fenv-return.c: New file.
12653         * math/Makefile: Add new test test-fenv-return.
12655 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12657         [BZ #17042]
12658         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12659         when x - 1 is zero.
12660         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12661         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12662         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12663         0.0L for an argument of 1.0L.
12664         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12665         Likewise.
12666         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12667         value when x - 1 is zero.
12668         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12669         * sysdeps/i386/fpu/libm-test-ulps: Update.
12670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12674         [BZ #15119]
12675         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12677 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12679         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12680         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12682 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12684         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12685         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12687         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12688         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12690         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12691         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12693         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12694         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12696         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12697         if not already defined.
12698         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12699         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12700         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12701         (TLS_INIT_TP): Use it.
12702         (TLS_DEFINE_INIT_TP): New macro.
12703         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12705 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12707         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12708         constant.
12709         [POSIX] (IXANY): Likewise.
12710         [POSIX] (OLCUC): Likewise.
12711         [POSIX || POSIX2008] (CBAUD): Do not allow.
12712         [POSIX || POSIX2008] (DEFECHO): Likewise.
12713         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12714         [POSIX || POSIX2008] (ECHOKE): Likewise.
12715         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12716         [POSIX || POSIX2008] (EXTA): Likewise.
12717         [POSIX || POSIX2008] (EXTB): Likewise.
12718         [POSIX || POSIX2008] (FLUSHO): Likewise.
12719         [POSIX || POSIX2008] (LOBLK): Likewise.
12720         [POSIX || POSIX2008] (PENDIN): Likewise.
12721         [POSIX || POSIX2008] (SWTCH): Likewise.
12722         [POSIX || POSIX2008] (VDISCARD): Likewise.
12723         [POSIX || POSIX2008] (VDSUSP): Likewise.
12724         [POSIX || POSIX2008] (VLNEXT): Likewise.
12725         [POSIX || POSIX2008] (VREPRINT): Likewise.
12726         [POSIX || POSIX2008] (VSTATUS): Likewise.
12727         [POSIX || POSIX2008] (VWERASE): Likewise.
12728         (B*): Change to B[0123456789]*.
12729         * conform/data/time.h-data [POSIX || UNIX98]
12730         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12731         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12732         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12733         [POSIX] (tm_*): Do not allow.
12735 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12737         * Makefile (install): Don't set LANGUAGE.
12738         * Makefile.in (install): Likewise.
12739         * assert/Makefile (test-assert-ENV): Remove variable.
12740         (test-assert-perr-ENV): Likewise.
12741         * elf/Makefile (neededtest4-ENV): Likewise.
12742         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12743         [$(cross-compiling) = no]: Don't set LANGUAGE.
12744         * io/ftwtest-sh (LANG): Remove variable.
12745         * libio/Makefile (tst-widetext-ENV): Likewise.
12746         * manual/install.texi (Running make install): Don't refer to
12747         environment settings for make install.
12748         * INSTALL: Regenerated.
12749         * nptl/tst-tls6.sh: Don't set LANG.
12750         * posix/globtest.sh (LANG): Remove variable.
12751         * string/Makefile (tester-ENV): Likewise.
12752         (inl-tester-ENV): Likewise.
12753         (noinl-tester-ENV): Likewise.
12754         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12755         [$(cross-compiling) = no]: Don't set LANGUAGE.
12756         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12757         without explicit environment settings.
12759 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12761         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12762         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12763         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12764         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12766 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12768         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12769         other files in the crypt directory.
12770         * crypt/crypt.c: Remove duplicate includes.
12771         * crypt/crypt-entry.c: Likewise.
12772         * crypt/crypt_util.c: Likewise.
12774 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12776         * Makeconfig (run-program-env): New variable.
12777         (run-program-prefix-before-env): Likewise.
12778         (run-program-prefix-after-env): Likewise.
12779         (run-program-prefix): Define in terms of new variables.
12780         (built-program-cmd-before-env): New variable.
12781         (built-program-cmd-after-env): Likewise.
12782         (built-program-cmd): Define in terms of new variables.
12783         (test-program-prefix-before-env): New variable.
12784         (test-program-prefix-after-env): Likewise.
12785         (test-program-prefix): Define in terms of new variables.
12786         (test-program-cmd-before-env): New variable.
12787         (test-program-cmd-after-env): Likewise.
12788         (test-program-cmd): Define in terms of new variables.
12789         * Rules (make-test-out): Use $(run-program-env).
12790         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12791         (help): Do not mention environment variables.  Mention
12792         --timeoutfactor option.
12793         (timeoutfactor): New variable.
12794         (blacklist_exports): Remove function.
12795         (exports): Remove variable.
12796         (command): Do not include ${exports}.
12797         * manual/install.texi (Configuring and compiling): Do not mention
12798         test wrappers preserving environment variables.  Mention that last
12799         assignment to a variable must take precedence.
12800         * INSTALL: Regenerated.
12801         * benchtests/Makefile (run-bench): Use $(run-program-env).
12802         * catgets/Makefile ($(objpfx)test1.cat): Use
12803         $(built-program-cmd-before-env), $(run-program-env) and
12804         $(built-program-cmd-after-env).
12805         ($(objpfx)test2.cat): Do not specify environment variables
12806         explicitly.
12807         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12808         $(run-program-env) and $(built-program-cmd-after-env).
12809         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12810         $(run-program-env) and $(test-program-cmd-after-env).
12811         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12812         explicitly.
12813         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12814         run_program_env and test_program_cmd_after_env arguments.
12815         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12816         * elf/tst-pathopt.sh: Use run_program_env argument.
12817         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12818         $(test-wrapper-env) and $(run-program-env).
12819         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12820         run_program_env arguments.
12821         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12822         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12823         $(test-program-prefix-before-env), $(run-program-env) and
12824         $(test-program-prefix-after-env).
12825         ($(objpfx)tst-gettext2.out): Likewise.
12826         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12827         run_program_env and test_program_prefix_after_env arguments.
12828         * intl/tst-gettext2.sh: Likewise.
12829         * intl/tst-gettext4.sh: Do not set environment variables
12830         explicitly.
12831         * intl/tst-gettext6.sh: Likewise.
12832         * intl/tst-translit.sh: Likewise.
12833         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12834         $(test-program-prefix-before-env), $(run-program-env) and
12835         $(test-program-prefix-after-env).
12836         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12837         run_program_env and test_program_prefix_after_env arguments.
12838         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12839         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12840         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12841         explicitly with each use of ${test_wrapper_env}.
12842         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12843         $(test-program-prefix-before-env), $(run-program-env) and
12844         $(test-program-prefix-after-env).
12845         * posix/tst-getconf.sh: Do not set environment variables
12846         explicitly.
12847         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12848         run_program_env and test_program_prefix_after_env arguments.
12849         * stdio-common/tst-printf.sh: Do not set environment variables
12850         explicitly.
12851         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12852         $(test-program-prefix-before-env), $(run-program-env) and
12853         $(test-program-prefix-after-env).
12854         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12855         run_program_env and test_program_prefix_after_env arguments.
12856         Split $test calls into $test_pre and $test.
12857         * timezone/Makefile (build-testdata): Use
12858         $(built-program-cmd-before-env), $(run-program-env) and
12859         $(built-program-cmd-after-env).
12861 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12863         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12864         strlen for non SHARED builds.
12866 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12868         * nptl/allocatestack.c (check_list): Inlined function...
12869         (__reclaim_stacks): ... here.
12871 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12873         [BZ #15698]
12874         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12875         memory overrun.
12877 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12879         * Rules (make-test-out): Include
12880         LOCPATH=$(common-objpfx)localedata in default environment.
12881         * debug/Makefile (tst-chk1-ENV): Remove variable.
12882         (tst-chk2-ENV): Likewise.
12883         (tst-chk3-ENV): Likewise.
12884         (tst-chk4-ENV): Likewise.
12885         (tst-chk5-ENV): Likewise.
12886         (tst-chk6-ENV): Likewise.
12887         (tst-lfschk1-ENV): Likewise.
12888         (tst-lfschk2-ENV): Likewise.
12889         (tst-lfschk3-ENV): Likewise.
12890         (tst-lfschk4-ENV): Likewise.
12891         (tst-lfschk5-ENV): Likewise.
12892         (tst-lfschk6-ENV): Likewise.
12893         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12894         (tst-iconv7-ENV): Likewise.
12895         * intl/Makefile (LOCPATH-ENV): Likewise.
12896         (tst-codeset-ENV): Likewise.
12897         (tst-gettext3-ENV): Likewise.
12898         (tst-gettext5-ENV): Likewise.
12899         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12900         (tst-fopenloc-ENV): Likewise.
12901         (tst-fgetws-ENV): Remove variable.
12902         (tst-ungetwc1-ENV): Likewise.
12903         (tst-ungetwc2-ENV): Likewise.
12904         (bug-ungetwc2-ENV): Likewise.
12905         (tst-swscanf-ENV): Likewise.
12906         (bug-ftell-ENV): Likewise.
12907         (tst-fgetwc-ENV): Likewise.
12908         (tst-fseek-ENV): Likewise.
12909         (tst-ftell-partial-wide-ENV): Likewise.
12910         (tst-ftell-active-handler-ENV): Likewise.
12911         (tst-ftell-append-ENV): Likewise.
12912         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12913         (tst-regexloc-ENV): Likewise.
12914         (bug-regex1-ENV): Likewise.
12915         (tst-regex-ENV): Likewise.
12916         (tst-regex2-ENV): Likewise.
12917         (bug-regex5-ENV): Likewise.
12918         (bug-regex6-ENV): Likewise.
12919         (bug-regex17-ENV): Likewise.
12920         (bug-regex18-ENV): Likewise.
12921         (bug-regex19-ENV): Likewise.
12922         (bug-regex20-ENV): Likewise.
12923         (bug-regex22-ENV): Likewise.
12924         (bug-regex23-ENV): Likewise.
12925         (bug-regex25-ENV): Likewise.
12926         (bug-regex26-ENV): Likewise.
12927         (bug-regex30-ENV): Likewise.
12928         (bug-regex32-ENV): Likewise.
12929         (bug-regex33-ENV): Likewise.
12930         (bug-regex34-ENV): Likewise.
12931         (bug-regex35-ENV): Likewise.
12932         (tst-rxspencer-ENV): Likewise.
12933         (tst-rxspencer-no-utf8-ENV): Likewise.
12934         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12935         (tst-sscanf-ENV): Likewise.
12936         (tst-swprintf-ENV): Likewise.
12937         (tst-swscanf-ENV): Likewise.
12938         (test-vfprintf-ENV): Likewise.
12939         (scanf13-ENV): Likewise.
12940         (bug14-ENV): Likewise.
12941         (tst-grouping-ENV): Likewise.
12942         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12943         (tst-strtod3-ENV): Likewise.
12944         (tst-strtod4-ENV): Likewise.
12945         (tst-strtod5-ENV): Likewise.
12946         (testmb2-ENV): Likewise./
12947         * string/Makefile (tst-strxfrm-ENV): Likewise.
12948         (tst-strxfrm2-ENV): Likewise.
12949         (bug-strcoll1-ENV): Likewise.
12950         (test-strcasecmp-ENV): Likewise.
12951         (test-strncasecmp-ENV): Likewise.
12952         * time/Makefile (tst-strptime-ENV): Likewise.
12953         (tst-ftime_l-ENV): Likewise.
12954         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12955         (tst-mbrtowc-ENV): Likewise.
12956         (tst-wcrtomb-ENV): Likewise.
12957         (tst-mbrtowc2-ENV): Likewise.
12958         (tst-c16c32-1-ENV): Likewise.
12959         (tst-mbsnrtowcs-ENV): Likewise.
12961 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12963         * manual/resource.texi (How to get information about the memory
12964         subsystem?): Fix typo.
12965         Reported by Peon de la Parra Ivan <peon@keba.com>
12967 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12969         [BZ #16882]
12970         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12971         (pthread_spin_lock): Branch out of spin loop to proper location.
12972         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12973         (pthread_spin_lock): Likewise.
12975         * nptl/tst-spin4.c: New test.
12976         * nptl/Makefile (tests): Add tst-spin4.
12978 2014-06-03  Andreas Schwab  <schwab@suse.de>
12980         [BZ #15946]
12981         * resolv/res_send.c (send_dg): Reload file descriptor after
12982         calling reopen.
12984 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12986         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12988 2014-06-03  Richard Henderson  <rth@redhat.com>
12990         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12991         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12992         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12993         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12994         in the SAVE_PID block.
12995         (__libc_vfork): New alias.
12996         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12998         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12999         child in registers, not on the stack.  Remove RESET_PID conditionals.
13000         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13002 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13004         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13006 2014-06-03  Wilco  <wdijkstr@arm.com>
13008         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13009         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13010         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13011         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13012         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13013         Likewise.
13015 2014-06-03  Wilco  <wdijkstr@arm.com>
13017         * sysdeps/aarch64/fpu/math_private.h
13018         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13019         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13020         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13021         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13022         Fix declarations.
13024 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13026         * crypt/crypt-private.h: Include ufc-crypt.h.
13027         (__b64_from_24bit): Declare extern.
13028         * crypt/crypt_util.c(__b64_from_24bit): New function.
13029         (b64t): New static const variable.
13030         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13031         (b64t): Remove variable.
13032         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13033         * crypt/sha256-crypt.c: Include crypt-private.h.
13034         (b64t): Remove variable.
13035         (__sha256_crypt_r): Remove b64_from_24bit and replace
13036         with __b64_from_24bit.
13037         * crypt/sha512-crypt.c: Likewise.
13039 2014-06-02  Roland McGrath  <roland@hack.frob.com>
13041         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13042         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13043         Label the code __libc_vfork rather than __vfork.
13044         [!NOT_IN_libc] (vfork): Define as weak alias.
13045         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13046         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13047         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13049 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13051         * malloc/malloc.c (malloc_info): Fix format specifier for
13052         n_mmaps.
13054 2014-06-02  Wilco  <wdijkstr@arm.com>
13056         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13057         FPCR write.
13059 2014-06-02  Wilco  <wdijkstr@arm.com>
13061         [BZ #17009]
13062         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13063         Rewrite to reduce FPCR/FPSR accesses.
13065 2014-06-01  David S. Miller  <davem@davemloft.net>
13067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13069 2014-05-31  David S. Miller  <davem@davemloft.net>
13071         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13072         to occur in round to nearest mode when |x| >= 2.0
13074 2014-05-30  Richard Henderson  <rth@twiddle.net>
13076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13077         (PSEUDO_RET_NOERRNO): Remove.
13078         (ret): Don't redefine.
13079         (ret_NOERRNO): Define in terms of ret.
13080         (ret_ERRVAL): Likewise.
13082         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13083         use of PSEUDO_RET; perform the error check directly.
13085 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
13087         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13088         with __int128_t.
13090 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13092         * malloc/malloc (malloc_info): Fix formatting.
13094 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13095             Roland McGrath  <roland@hack.frob.com>
13097         * malloc/malloc (malloc_info): Also print mmapped statistics.
13099 2014-05-30  Roland McGrath  <roland@hack.frob.com>
13101         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13102         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13104 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
13106         * malloc/malloc.c (malloc_info): Inline mi_arena.
13108 2014-05-29  Richard Henderson  <rth@twiddle.net>
13110         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13111         Remove comma before expanding ASM_ARGS_##nr.
13112         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13113         Make _x0 a strict output; make _x8 a strict input; adjust expansion
13114         of ASM_ARGS_##nr.
13115         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13116         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13117         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13118         (ASM_ARGS_1): Add leading comma.
13120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13121         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13122         to __errno_location.
13123         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13124         Remove the expected plt for __errno_location.
13126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13127         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13128         call to __read_tp.
13130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13131         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
13132         it and break it down.
13133         (DOCARGS_0, DOCARGS_1): Do nothing.
13134         (DOCARGS_2): Update to store into the new stack frame.
13135         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13136         (UNDOCARGS_1): Update to restore from the new stack frame.
13137         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13138         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13141         (SINGLE_THREAD_P): New parameter for result regno.
13142         (PSEUDO): Update to match; use cbz instead of beq.
13144         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13145         Use ENTRY to define the _nocancel entry point.  Share the syscall
13146         and syscall error check paths with the cancel path.
13147         (PSEUDO_END): New.
13149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13150         whitespace; tabs before and after asm mnemonics.
13152 2014-05-29  Eric Wong  <normalperson@yhbt.net>
13154         [BZ #15132]
13155         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13156         Call fstat64 or stat64 internally, depending on arguments passed.
13157         Replace stat buffer argument with file descriptor argument.
13158         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13159         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13160         Pass fd to __internal_statvfs instead of calling fstat64.
13161         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13162         Pass fd to __internal_statvfs64 instead of calling fstat64.
13163         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13164         Pass -1 to __internal_statvfs instead of calling stat64.
13165         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13166         Pass -1 to __internal_statvfs64 instead of calling stat64.
13168 2014-05-28  Roland McGrath  <roland@hack.frob.com>
13170         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13171         that was previously under [RESET_PID].
13172         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13174         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13175         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13177 2014-05-27  Roland McGrath  <roland@hack.frob.com>
13179         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13181         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13182         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13184 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
13186         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13188 2014-05-27  Andreas Schwab  <schwab@suse.de>
13190         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13191         TLS_INIT_TP macro.
13192         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13193         * elf/rtld.c (init_tls, dl_main): Likewise.
13194         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13195         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13196         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13197         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13198         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13199         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13200         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13201         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13202         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13203         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13204         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13205         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13206         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13207         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13208         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13209         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13210         * sysdeps/generic/tls.h: Update description.
13212 2014-05-27  Will Newton  <will.newton@linaro.org>
13214         [BZ #16990]
13215         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13216         and restore r2 rather than just restoring.
13218 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13220         [BZ #16724]
13221         * libio/tst-ftell-append.c: New test case.
13222         * libio/Makefile (tests): Add test case.
13223         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13224         append mode.
13225         * libio/wfileops.c (do_ftell_wide): Likewise.
13227 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13231         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13232         ...
13233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13235         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13236         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13238         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13239         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13242         Moved ...
13243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13245         Moved ...
13246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13247         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13248         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13249         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13250         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13251         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13252         ...
13253         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13254         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13255         Moved ...
13256         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13257         here.
13258         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13259         ...
13260         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13261         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13262         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13264         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13265         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13266         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13267         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13270         merge into ...
13271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13273         ...
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13276         ...
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13279         Moved ...
13280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13281         here.
13282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13283         Moved ...
13284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13286         Moved ...
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13290         conditional [RESET_PID].
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13293         removed.
13294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13295         removed.
13297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13298         <tcb-offsets.h>.
13299         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13300         (__libc_vfork): New strong alias.
13301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13302         removed.
13303         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13304         Removed.
13306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13307         <tcb-offsets.h>.
13308         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13309         (__libc_vfork): New strong alias.
13310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13311         removed.
13312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13313         removed.
13315 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13317         * malloc/malloc.c (mi_arena): New function.
13318         (malloc_info): Remove nested function mi_arena. Call non-nosted
13319         function mi_arena.
13321 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13323         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13324         by insrwi.
13325         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13326         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13327         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13328         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13329         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13330         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13331         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13333 2014-05-26  Andreas Schwab  <schwab@suse.de>
13335         [BZ #16984]
13336         * locale/programs/repertoire.c (repertoire_read): Add slash
13337         between I18NPATH element and file name.
13338         * locale/programs/locfile.c (locfile_read): Likewise.
13340 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13342         * nptl/pthread_mutexattr_settype.c
13343         (__pthread_mutexattr_settype):
13344         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13346 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13348         * nptl/tst-mutex5 (do_test):
13349         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13351 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13353         * benchtests/README: Document 'init' directive.
13354         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13355         BENCH_INIT.
13356         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13357         (parse_file): Recognize 'init' directive.
13359 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13361         [BZ #16796]
13362         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13363         alignment of struct pthread.
13365 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13367         [BZ #16878]
13368         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13369         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13370         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13371         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13373 2014-05-25  Richard Henderson  <rth@twiddle.net>
13375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13376         (SINGLE_THREAD_P_PIC): Remove.
13377         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13378         (SINGLE_THREAD_P_PIC): Remove.
13380         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13381         branch to syscall error ...
13382         (PSEUDO): ... here.
13383         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13384         from __local_syscall_error to .Lsyscall_error.
13385         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13386         (SYSCALL_ERROR): Update label name.
13388         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13389         Do not use DOARGS/UNDOARGS.
13390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13391         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13392         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13393         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13394         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13397         block comment.
13399         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13400         define if !NOT_IN_libc.
13401         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13402         define with non-default symbol versions.
13404 2014-05-23  Richard Henderson  <rth@twiddle.net>
13406         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13407         (vfork, __vfork): Define via compat_symbol.
13409         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13410         [!HAVE_IFUNC] (vfork_compat): Remove.
13411         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13413 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13415         [BZ #16978]
13416         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13417         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13418         variable.
13420 2014-05-23  Richard Henderson  <rth@twiddle.net>
13422         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13423         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13424         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13425         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13427         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13428         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13429         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13430         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13431         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13432         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13433         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13434         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13435         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13436         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13437         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13438         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13439         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13440         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13441         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13442         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13443         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13444         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13445         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13446         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13447         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13448         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13449         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13450         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13451         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13453         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13454         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13455         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13456         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13457         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13458         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13459         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13460         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13461         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13462         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13463         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13464         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13465         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13466         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13467         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13468         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13469         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13470         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13471         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13472         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13474         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13476         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13477         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13478         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13479         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13480         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13482         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13484         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13485         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13486         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13487         before exiting on error.
13488         (__libc_vfork): New strong alias.
13489         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13490         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13492         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13493         that was previously under [RESET_PID].
13494         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13496         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13498 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13500         [BZ #16977]
13501         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13502         value when x - 1 is zero.
13503         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13504         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13505         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13506         0.0L for an argument of 1.0L.
13507         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13508         Likewise.
13509         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13510         value when x - 1 is zero.
13511         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13512         * sysdeps/i386/fpu/libm-test-ulps: Update.
13513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13515 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13517         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13518         alphasort and versionsort.
13520 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13522         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13523         macro.
13524         [copysignf]: Likewise.
13526 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13528         * crypt/md5-crypt.c: Fix formatting.
13530 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13532         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13533         (b64_from_24bit): New function.
13535 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13537         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13538         libc_hidden_builtin_def to ifunc.
13539         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13540         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13542 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13544         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13545         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13547 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13549         * nscd/Depend (linuxthreads): Remove.
13550         (nptl): Add.
13551         * resolv/Depend (linuxthreads): Remove.
13552         * rt/Depend (linuxthreads): Remove.
13554         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13555         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13556         $(common-objpfx)elf/.
13557         (link-libc-before-gnulib): Likewise.
13558         (elfobjdir): Remove variable.
13559         * Makefile (install): Use $(elf-objpfx) instead of
13560         $(common-objpfx)elf/.
13561         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13562         $(elfobjdir)/.
13563         (link-libc-deps): Likewise.
13564         ($(common-objpfx)libc.so): Likewise.
13565         ($(common-objpfx)linkobj/libc.so): Likewise.
13566         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13567         instead of $(common-objpfx)elf/.
13568         (symbolic-link-list): Likewise.
13569         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13570         [$(cross-compiling) = no]: Likewise.
13571         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13572         $(elfobjdir)/.
13573         (static-gnulib-arch): Likewise.
13574         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13575         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13576         $(common-objpfx)elf/.
13578 2014-05-21  Richard Henderson  <rth@redhat.com>
13580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13581         (SINGLE_THREAD_P): Use the correct width load.  Fold
13582         into the ldr offset.
13584         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13585         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13587 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13589         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13590         (libgcc_s_resume): Use __attribute_used__.
13591         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13592         Likewise.
13594 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13596         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13597         optimization when used with float constants.
13599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13601 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13603         [BZ #16915]
13604         * locale/nl_langinfo_l.c: Make direct reference to every
13605         _nl_current_CATEGORY symbol.
13606         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13607         (tests-static): Add tst-langinfo-static.
13608         (tests-special): Add tst-langinfo-static.out.
13609         ($(objpfx)tst-langinfo.out): Redirect output.
13610         ($(objpfx)tst-langinfo-static.out): New.
13611         * localedata/tst-langinfo.sh: Send output to stdout.
13612         * localedata/tst-langinfo-static.c: New file.
13614         [BZ #16965]
13615         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13616         when the shift amount is modulo the limb size.
13618 2014-05-20  Richard Henderson  <rth@redhat.com>
13620         [BZ #16967]
13621         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13622         Change type of sa_flags from unsigned int to int.
13624         [BZ #16966]
13625         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13627         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13629 2014-05-20  Will Newton  <will.newton@linaro.org>
13631         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13632         Test the return value of the system call in the nocancel case.
13634 2014-05-20  Will Newton  <will.newton@linaro.org>
13635             Yvan Roux  <yvan.roux@linaro.org>
13637         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13638         #include of asm/ptrace.h.
13639         (PTRACE_GET_THREAD_AREA): Remove #undef.
13640         (PTRACE_GETHBPREGS): Likewise.
13641         (PTRACE_SETHBPREGS): Likewise.
13642         (struct user_regs_struct): New structure.
13643         (struct user_fpsimd_struct): New structure.
13644         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13645         #include of asm/ptrace.h and second #include of sys/user.h.
13646         (PTRACE_GET_THREAD_AREA): Remove #undef.
13647         (PTRACE_GETHBPREGS): Likewise.
13648         (PTRACE_SETHBPREGS): Likewise.
13649         (ELF_NGREG): Use new struct user_regs_struct.
13650         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13652 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13654         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13657 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13659         [BZ #16958]
13660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13661         membar to avoid block loads/stores to overlap previous stores.
13663 2014-05-17  Richard Henderson  <rth@redhat.com>
13665         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13666         Create the __##syscall_name##_nocancel entry point.
13667         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13668         Remove; let the sysdep-cancel.h code create it.
13670 2014-05-17  David S. Miller  <davem@davemloft.net>
13672         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13673         Protect with __USE_GNU.
13674         (TIOCSET_TEMPT): Likewise.
13675         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13676         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13677         these are already provided in bits/ioctl-types.h
13679 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13681         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13682         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13684         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13685         Use wait4 regardless of [__NR_waitpid].
13687 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13689         PR libgcc/60166
13690         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13691         (_FP_NANSIGN_Q): Set the quiet bit.
13693 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13695         * benchtests/Makefile
13696         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13697         not $(common-objpfx)math/libm.so.
13698         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13699         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13700         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13701         $(common-objpfx)dlfcn/libdl.so.
13702         ($(objpfx)tst-audit8): Depend on $(libm), not
13703         $(common-objpfx)math/libm.so.
13704         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13705         not $(common-objpfx)dlfcn/libdl.so.
13706         * math/Makefile
13707         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13708         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13709         [$(build-shared) = yes].
13710         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13711         $(common-objpfx)nptl/libpthread.so.
13712         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13713         $(common-objpfx)math/libm.so$(libm.so-version) or
13714         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13715         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13716         $(common-objpfx)dlfcn/libdl.so.
13717         * setjmp/Makefile (link-libm): Remove variable.
13718         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13719         * stdio-common/Makefile (link-libm): Remove variable.
13720         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13721         * stdlib/Makefile (link-libm): Remove variable.
13722         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13723         ($(objpfx)tst-strtod-round): Likewise.
13724         ($(objpfx)tst-tininess): Likewise.
13725         ($(objpfx)tst-strtod-underflow): Likewise.
13726         ($(objpfx)tst-strtod6): Likewise.
13727         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13728         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13729         $(common-objpfx)dlfcn/libdl.so.
13731 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13733         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13734         BSD terminal modes definitions.
13736 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13738         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13739         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13741         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13742         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13743         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13744         Don't do #include_next.
13745         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13746         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13747         Don't do #include_next.
13748         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13749         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13750         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13751         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13753 2014-05-16  Allan McRae  <allan@archlinux.org>
13755         * po/sv.po: Update Swedish translation from translation project.
13757         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13758         in sed expression.
13760 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13762         [BZ #16917]
13763         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13764         errno if the TIOCGPTN ioctl fails with an error different than
13765         EINVAL.
13766         * login/tst-ptsname.c: New file.
13767         * login/Makefile (tests): Add tst-ptsname.
13769         [BZ #16943]
13770         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13771         and prlimit64.
13773 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13775         [BZ #16849]
13776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13777         herrno to return EAI_AGAIN.
13779 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13781         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13782         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13783         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13784         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13785         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13786         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13787         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13788         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13789         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13790         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13791         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13792         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13793         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13794         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13795         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13796         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13797         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13798         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13799         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13800         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13801         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13802         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13803         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13804         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13805         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13806         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13807         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13808         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13809         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13810         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13812         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13814         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13816         Moved ...
13817         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13819         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13821         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13823         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13825         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13827         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13829         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13831         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13833         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13835         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13837         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13839         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13841         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13843         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13845         Moved ...
13846         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13848         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13850         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13852         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13854         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13856         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13858         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13860         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13862         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13864         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13866         Moved ...
13867         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13869         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13871         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13872         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13873         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13874         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13875         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13876         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13877         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13878         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13879         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13880         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13881         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13882         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13883         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13884         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13885         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13886         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13887         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13888         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13889         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13890         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13891         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13892         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13893         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13894         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13895         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13896         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13897         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13898         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13899         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13900         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13901         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13903         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13904         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13906         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13907         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13908         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13909         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13910         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13912         Moved ...
13913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13915         Moved ...
13916         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13918         Moved ...
13919         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13921         Moved ...
13922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13923         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13924         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13925         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13926         Moved ...
13927         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13928         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13929         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13931         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13933         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13934         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13935         Moved ...
13936         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13937         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13938         Moved ...
13939         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13940         ... here.
13941         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13942         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13943         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13944         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13945         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13946         Moved ...
13947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13948         ... here.
13949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13950         Moved ...
13951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13953         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13955         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13957         Moved ...
13958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13960         Moved ...
13961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13963         Moved ...
13964         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13966         Moved ...
13967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13969         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13970         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13971         Moved ...
13972         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13973         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13974         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13976         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13977         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13978         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13979         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13980         Moved ...
13981         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13982         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13983         Moved ...
13984         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13985         ... here.
13986         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13987         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13988         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13989         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13990         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13991         Moved ...
13992         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13993         ... here.
13994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13995         Moved ...
13996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13997         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13998         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13999         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14000         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14001         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14002         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14003         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14004         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14006         Moved ...
14007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14009         Moved ...
14010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14012         Moved ...
14013         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14015         Moved ...
14016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14017         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14018         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14019         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14020         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14021         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14022         Moved ...
14023         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14024         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14025         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14026         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14027         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14028         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14029         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14031         Moved ...
14032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14034         Moved ...
14035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14036         ... here.
14037         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14038         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14039         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14040         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14042         Moved ...
14043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14044         ... here.
14045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14046         Moved ...
14047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14048         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14049         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14050         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14051         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14052         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14053         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14054         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14055         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14056         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14057         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14059         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14060         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14062         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14063         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14065         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14066         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14067         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14068         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14069         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14070         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14071         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14072         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14073         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14074         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14075         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14076         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14077         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14078         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14079         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14080         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14081         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14082         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14083         Moved ...
14084         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14086         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14088         Moved ...
14089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14090         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14093         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14095         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14097         Moved ...
14098         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14100         Moved ...
14101         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14107         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14108         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14109         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14110         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14111         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14112         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14113         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14114         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14115         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14116         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14117         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14119         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14120         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14121         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14122         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14123         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14125         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14126         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14127         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14128         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14129         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14130         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14131         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14132         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14133         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14134         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14139         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14140         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14141         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14142         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14143         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14144         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14145         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14146         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14147         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14148         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14149         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14150         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14151         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14152         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14154         Update #include.
14155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14156         Likewise.
14157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14158         Likewise.
14159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14160         Likewise.
14161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14162         Likewise.
14163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14164         Likewise.
14165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14166         Likewise.
14167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14168         Likewise.
14169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14170         Likewise.
14171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14172         Likewise.
14173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14178         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14180         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14183         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14185         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14187         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14189         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14190         that was previously under [RESET_PID].
14191         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14192         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14193         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14195         * sysdeps/i386/nptl/Implies: New file.
14196         * sysdeps/x86_64/nptl/Implies: New file.
14197         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14198         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14199         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14200         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14202         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14203         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14204         (__libc_vfork): New strong alias.
14205         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14206         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14208         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14210         (__libc_vfork): New strong alias.
14211         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14212         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14214         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14215         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14216         (__libc_vfork): New strong alias.
14217         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14218         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14219         * nptl/pt-vfork.c: New file.
14220         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14221         (libpthread: GLIBC_2.20): New version set (empty).
14223 2014-05-14  Will Newton  <will.newton@linaro.org>
14225         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14226         rather than #if.
14228 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14230         [BZ #16564]
14231         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14232         arguments with exponent 65 or above.
14233         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14234         arguments 0x1p113L or above.
14235         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14236         to arguments 0x1p107L or above.
14237         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14238         positive arguments with exponent 65 or above.
14239         * math/auto-libm-test-in: Add more tests of log1p.
14240         * math/auto-libm-test-out: Regenerated.
14242         [BZ #16928]
14243         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14244         non-finite arguments is +0.
14245         * math/s_cacosf.c (__cacosf): Likewise.
14246         * math/s_cacosl.c (__cacosl): Likewise.
14247         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14248         * sysdeps/i386/fpu/libm-test-ulps: Update.
14249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14251         [BZ #16927]
14252         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14253         value.
14254         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14255         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14256         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14257         for explicit high bit of mantissa when testing for argument equal
14258         to 1.
14259         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14260         * sysdeps/i386/fpu/libm-test-ulps: Update.
14261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14263         [BZ #16516]
14264         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14265         (__erf): Scale by 16 instead of 8 in potentially underflowing
14266         case.  Ensure exception if result actually underflows.
14267         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14268         (__erff): Scale by 16 instead of 8 in potentially underflowing
14269         case.  Ensure exception if result actually underflows.
14270         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14271         (efx8): Remove variable.
14272         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14273         case.  Ensure exception if result actually underflows.
14274         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14275         (efx8): Remove variable.
14276         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14277         case.  Ensure exception if result actually underflows.
14278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14279         (efx8): Remove variable.
14280         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14281         case.  Ensure exception if result actually underflows.
14282         * math/auto-libm-test-in: Add more tests of erf.
14283         * math/auto-libm-test-out: Regenerated.
14285 2014-05-14  Andreas Schwab  <schwab@suse.de>
14287         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14288         Remove code conditionalized on USE___THREAD.
14290         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14291         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14292         not definedness.
14294 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14297         Define unconditionally.
14298         (__ASSUME_O_CLOEXEC): Likewise.
14299         (__ASSUME_SOCK_CLOEXEC): Likewise.
14300         (__ASSUME_IN_NONBLOCK): Likewise.
14301         (__ASSUME_PIPE2): Likewise.
14302         (__ASSUME_EVENTFD2): Likewise.
14303         (__ASSUME_SIGNALFD4): Likewise.
14304         (__ASSUME_DUP3): Likewise.
14305         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14306         (__ASSUME_DUP3): Do not define.
14307         (__ASSUME_EVENTFD2): Likewise.
14308         (__ASSUME_IN_NONBLOCK): Likewise.
14309         (__ASSUME_O_CLOEXEC): Likewise.
14310         (__ASSUME_PIPE2): Likewise.
14311         (__ASSUME_SIGNALFD4): Likewise.
14312         (__ASSUME_SOCK_CLOEXEC): Likewise.
14313         (__ASSUME_UTIMES): Undefine.
14314         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14315         (__ASSUME_UTIMES): Do not define.
14316         (__ASSUME_O_CLOEXEC): Likewise.
14317         (__ASSUME_SOCK_CLOEXEC): Likewise.
14318         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14319         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14320         0x020621].
14321         (__ASSUME_PIPE2): Likewise.
14322         (__ASSUME_EVENTFD2): Likewise.
14323         (__ASSUME_SIGNALFD4): Likewise.
14324         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14325         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14326         Do not define.
14327         (__ASSUME_EVENTFD2): Likewise.
14328         (__ASSUME_SIGNALFD4): Likewise.
14329         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14330         (__ASSUME_32BITUIDS): Likewise.
14331         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14332         (__ASSUME_IPC64): Likewise.
14333         (__ASSUME_ST_INO_64_BIT): Likewise.
14334         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14335         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14337         (__ASSUME_UTIMES): Do not define.
14338         (__ASSUME_PSELECT): Likewise.
14339         (__ASSUME_PPOLL): Likewise.
14340         (__ASSUME_O_CLOEXEC): Likewise.
14341         (__ASSUME_SOCK_CLOEXEC): Likewise.
14342         (__ASSUME_IN_NONBLOCK): Likewise.
14343         (__ASSUME_PIPE2): Likewise.
14344         (__ASSUME_EVENTFD2): Likewise.
14345         (__ASSUME_SIGNALFD4): Likewise.
14346         (__ASSUME_DUP3): Likewise.
14347         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14348         (__ASSUME_UTIMES): Likewise.
14349         (__ASSUME_O_CLOEXEC): Likewise.
14350         (__ASSUME_SOCK_CLOEXEC): Likewise.
14351         (__ASSUME_IN_NONBLOCK): Likewise.
14352         (__ASSUME_PIPE2): Likewise.
14353         (__ASSUME_EVENTFD2): Likewise.
14354         (__ASSUME_SIGNALFD4): Likewise.
14355         (__ASSUME_DUP3): Likewise.
14356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14357         (__ASSUME_UTIMES): Likewise.
14358         (__ASSUME_O_CLOEXEC): Likewise.
14359         (__ASSUME_SOCK_CLOEXEC): Likewise.
14360         (__ASSUME_IN_NONBLOCK): Likewise.
14361         (__ASSUME_PIPE2): Likewise.
14362         (__ASSUME_EVENTFD2): Likewise.
14363         (__ASSUME_SIGNALFD4): Likewise.
14364         (__ASSUME_DUP3): Likewise.
14365         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14366         Likewise.
14367         (__ASSUME_UTIMES): Likewise.
14368         (__ASSUME_EVENTFD2): Likewise.
14369         (__ASSUME_SIGNALFD4): Likewise.
14370         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14371         (__ASSUME_O_CLOEXEC): Likewise.
14372         (__ASSUME_SOCK_CLOEXEC): Likewise.
14373         (__ASSUME_IN_NONBLOCK): Likewise.
14374         (__ASSUME_PIPE2): Likewise.
14375         (__ASSUME_EVENTFD2): Likewise.
14376         (__ASSUME_SIGNALFD4): Likewise.
14377         (__ASSUME_DUP3): Likewise.
14378         (__ASSUME_UTIMES): Undefine.
14380         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14381         feclearexcept.  Remove symbol versioning code.
14382         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14383         symbol versioning code.
14384         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14385         symbol versioning code.
14386         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14387         feupdateenv.  Remove symbol versioning code.
14388         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14389         fegetexceptflag.  Remove symbol versioning code.
14390         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14391         fesetexceptflag.  Remove symbol versioning code.
14392         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14393         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14394         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14395         (__posix_fadvise64_l32): Remove prototype.
14396         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14397         code.
14399 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14401         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14402         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14403         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14404         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14406 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14408         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14409         current working directory
14411 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14413         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14414         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14415         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14416         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14417         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14418         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14419         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14420         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14421         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14422         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14423         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14424         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14425         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14426         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14427         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14428         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14429         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14430         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14431         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14432         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14433         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14434         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14435         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14436         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14437         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14438         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14439         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14440         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14441         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14442         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14443         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14444         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14445         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14446         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14447         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14448         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14449         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14450         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14451         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14452         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14453         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14454         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14456         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14457         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14459         * sysdeps/unix/sysv/linux/arm/Makefile
14460         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14461         Add rt-aeabi_unwind_cpp_pr1.
14462         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14463         Add nptl-aeabi_unwind_cpp_pr1.
14464         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14465         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14466         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14467         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14468         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14469         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14471         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14472         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14473         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14474         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14476         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14477         Deconditionalize the code that was previously under [RESET_PID].
14478         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14480         * sysdeps/generic/exit-thread.h: New file.
14481         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14482         * include/unistd.h (__exit_thread): Remove declaration.
14483         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14484         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14485         * csu/libc-start.c: Include <exit-thread.h>.
14486         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14487         * nptl/pthread_create.c: Include <exit-thread.h>.
14488         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14489         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14490         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14491         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14492         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14493         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14494         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14495         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14496         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14497         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14498         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14499         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14500         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14501         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14502         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14503         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14504         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14506 2014-05-13  Andreas Schwab  <schwab@suse.de>
14508         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14510 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14512         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14513         (__ASSUME_UTIMES): Do not condition on kernel version.
14514         (__ASSUME_PSELECT): Define unconditionally.
14515         (__ASSUME_PPOLL): Likewise.
14516         (__ASSUME_ATFCTS): Likewise.
14517         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14518         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14519         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14520         (__ASSUME_UTIMENSAT): Define unconditionally.
14521         (__ASSUME_PRIVATE_FUTEX): Likewise.
14522         (__ASSUME_FALLOCATE): Likewise.
14523         (__ASSUME_O_CLOEXEC): Likewise.
14524         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14525         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14526         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14527         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14528         (__ASSUME_IN_NONBLOCK): Likewise.
14529         (__ASSUME_PIPE2): Likewise.
14530         (__ASSUME_EVENTFD2): Likewise.
14531         (__ASSUME_SIGNALFD4): Likewise.
14532         (__ASSUME_DUP3): Likewise.
14533         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14534         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14535         (__ASSUME_AT_RANDOM): Likewise.
14536         (__ASSUME_PREADV): Likewise.
14537         (__ASSUME_PWRITEV): Likewise.
14538         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14539         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14540         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14541         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14542         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14543         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14544         (__ASSUME_O_CLOEXEC): Define unconditionally.
14545         (__ASSUME_PSELECT): Do not undefine conditionally.
14546         (__ASSUME_PPOLL): Likewise.
14547         (__ASSUME_ATFCTS): Likewise.
14548         (__ASSUME_SET_ROBUST_LIST): Likewise.
14549         (__ASSUME_UTIMENSAT): Likewise.
14550         (__ASSUME_FDATASYNC): Define unconditionally.
14551         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14552         (__ASSUME_SIGFRAME_V2): Likewise.
14553         )__ASSUME_EVENTFD2): Likewise.
14554         (__ASSUME_SIGNALFD4): Likewise.
14555         (__ASSUME_PSELECT): Do not undefine conditionally.
14556         (__ASSUME_PPOLL): Likewise.
14557         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14558         (__ASSUME_PSELECT): Define unconditionally.
14559         (__ASSUME_PPOLL): Likewise.
14560         (__ASSUME_O_CLOEXEC): Likewise.
14561         (__ASSUME_SOCK_CLOEXEC): Likewise.
14562         (__ASSUME_IN_NONBLOCK): Likewise.
14563         (__ASSUME_PIPE2): Likewise.
14564         (__ASSUME_EVENTFD2): Likewise.
14565         (__ASSUME_SIGNALFD4): Likewise.
14566         (__ASSUME_DUP3): Likewise.
14567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14568         (__ASSUME_O_CLOEXEC): Likewise.
14569         (__ASSUME_SOCK_CLOEXEC): Likewise.
14570         (__ASSUME_IN_NONBLOCK): Likewise.
14571         (__ASSUME_PIPE2): Likewise.
14572         (__ASSUME_EVENTFD2): Likewise.
14573         (__ASSUME_SIGNALFD4): Likewise.
14574         (__ASSUME_DUP3): Likewise.
14575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14576         (__ASSUME_EVENTFD2): Likewise.
14577         (__ASSUME_SIGNALFD4): Likewise.
14578         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14580 2014-05-12  Andreas Schwab  <schwab@suse.de>
14582         [BZ #16932]
14583         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14584         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14585         than maximum RPC packet size.
14586         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14587         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14588         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14589         (_nss_nis_getservbyport_r): Likewise.
14591 2014-05-12  Will Newton  <will.newton@linaro.org>
14593         * malloc/Makefile (tests): Add tst-mallopt.
14594         * malloc/tst-mallopt.c: New file.
14596 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14598         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14599         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14601 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14603         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14604         (tst-tlsmod6.so): Likewise.
14606 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14608         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14610 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14612         [BZ #16064]
14613         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14614         and <dl-procinfo.h>.
14615         (__fegetenv): Save SSE state in envp->__eip if supported.
14616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14617         envp->__eip if supported.
14618         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14619         and <dl-procinfo.h>.
14620         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14621         __data_offset and __data_selector in environment to 0.  Set SSE
14622         state if supported.
14623         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14624         test-fenv-sse.
14625         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14626         -mfpmath=sse.
14627         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14629 2014-05-09  Will Newton  <will.newton@linaro.org>
14631         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14632         and libc_relro_required for ARM.
14633         * sysdeps/arm/preconfigure: Regenerate.
14635 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14636             Stefan Liebler  <stli@linux.vnet.ibm.com>
14638         * config.make.in (enable-lock-elision): New Makefile variable.
14639         * configure.ac: Likewise.
14640         * configure: Regenerate.
14641         * sysdeps/s390/configure.ac:
14642         Add check for gcc transactions support.
14643         * sysdeps/s390/configure: Regenerate.
14644         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14645         Build elision files if enabled.
14646         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14647         Add lock elision support for s390.
14648         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14649         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14650         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14651         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14652         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14653         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14654         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14655         Likewise.
14656         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14657         Likewise.
14658         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14659         Likewise.
14660         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14661         Likewise.
14662         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14663         (__lll_timedlock_elision, __lll_lock_elision)
14664         (__lll_unlock_elision, __lll_trylock_elision)
14665         (lll_timedlock_elision, lll_lock_elision)
14666         (lll_unlock_elision, lll_trylock_elision): Add.
14667         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14668         (pthread_mutex_t): Add lock elision support for s390.
14670 2014-05-14  Wilco  <wdijkstr@arm.com>
14672         * sysdeps/arm/fclrexcpt.c: Cleanup.
14673         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14674         * sysdeps/arm/feenablxcpt.c: Cleanup.
14675         * sysdeps/arm/fegetenv.c: Cleanup.
14676         * sysdeps/arm/fegetexcept.c: Cleanup.
14677         * sysdeps/arm/fegetround.c: Cleanup.
14678         * sysdeps/arm/feholdexcpt.c: Cleanup.
14679         * sysdeps/arm/fesetenv.c: Cleanup.
14680         * sysdeps/arm/fesetround.c: Cleanup.
14681         * sysdeps/arm/feupdateenv.c: Cleanup.
14682         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14683         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14684         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14685         * sysdeps/arm/ftestexcept.c: Cleanup.
14686         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14687         * sysdeps/arm/setfpucw.c: Cleanup.
14689 2014-05-09  Will Newton  <will.newton@linaro.org>
14691         * sysdeps/arm/armv7/strcmp.S: New file.
14692         * NEWS: Mention addition of ARMv7 optimized strcmp.
14694 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14696         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14697         look for %.ac rather than %.in.
14699         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14700         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14701         * sysdeps/mach/hurd/configure: Regenerated.
14702         * sysdeps/unix/sysv/linux/configure: Regenerated.
14704         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14706 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14708         [BZ# 16922]
14709         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14710         (LONG_SUB): Ditto.
14711         (PTR_SUB): Ditto.
14713 2014-05-07  Andreas Schwab  <schwab@suse.de>
14715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14716         when skipping over non-matching result from nscd.
14718 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14720         [BZ #16876]
14721         * nptl/sockperf.c (client): Check socket return value.
14723         [BZ #16877]
14724         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14725         nscd security class.
14727 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14729         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14730         * sysdeps/arm/unwind.h: ... here.
14732 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14734         [BZ# 16916]
14735         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14736         Define.
14738 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14740         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14741         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14742         multiarch strncpy for PPC64.
14743         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14744         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14746         multiarch optimizations.
14747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14748         (__libc_ifunc_impl_list): Likewise.
14749         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14750         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14751         multiarch stpncpy for PPC64.
14752         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14755 2014-05-06  Andreas Schwab  <schwab@suse.de>
14757         [BZ #16912]
14758         * gmon/mcount.c (_MCOUNT_DECL): Use
14759         atomic_compare_and_exchange_bool_acq instead of
14760         catomic_compare_and_exchange_bool_acq.
14762 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14764         * elf/Makefile (others, install-bin): Remove pldd.
14765         (pldd-modules): Variable removed.
14766         ($(objpfx)pldd): Target removed.
14767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14768         (others, install-bin): Append pldd here.
14769         ($(objpfx)pldd): New target.
14771         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14772         to 0, so the first #if test emitted later doesn't see it undefined.
14773         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14774         * sysdeps/gnu/errlist.c: Regenerated.
14776 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14778         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14779         [libc_hidden_builtin_def]: Define to empty value.
14780         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14781         [libc_hidden_builtin_def]: Likewise.
14782         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14783         [libc_hidden_builtin_def]: Likewise.
14784         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14785         [libc_hidden_builtin_def]: Likewise.
14786         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14787         __redirect_memcpy and define ifunc as default hidden symbol.
14788         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14789         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14791 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14793         * locale/iso-4217.def: Reintroduce XDR currency.
14795 2014-05-04  Allan McRae  <allan@archlinux.org>
14797         * po/eo.po: Update Esperanto translation from translation project.
14799 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14801         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14802         and FEATURE_INDEX_MAX to 1.
14803         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14805 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14807         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14808         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14809         * iconvdata/big5.c (ONE_DIRECTION): Define.
14810         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14811         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14812         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14813         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14814         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14815         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14816         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14817         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14818         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14819         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14820         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14821         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14822         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14823         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14824         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14825         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14826         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14827         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14828         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14829         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14830         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14831         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14832         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14833         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14834         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14835         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14836         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14837         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14838         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14839         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14840         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14841         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14842         * iconvdata/johab.c (ONE_DIRECTION): Define.
14843         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14844         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14845         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14846         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14847         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14848         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14849         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14850         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14851         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14852         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14854 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14856         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14857         (_IO_JUMPS_OFFSET): Define to 0.
14859         * nptl/sysdeps/pthread/bits/libc-lock.h
14860         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14861         (__libc_lock_define_initialized_recursive): Always define using
14862         initializer.  Modern compilers treat uninitialized (implicit zero) and
14863         explicit zero initializers the same (i.e. put the datum in bss).
14865 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14867         * nscd/nscd-client.h: Include <string.h>.
14869 2014-05-01  David S. Miller  <davem@davemloft.net>
14871         [BZ #16885]
14872         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14873         multiple zero bytes exist at the end of a string.
14874         Reported by Aurelien Jarno <aurelien@aurel32.net>
14876         * string/test-strcmp.c (check): Add explicit test for situations where
14877         there are multiple zero bytes after the first.
14879 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14881         [BZ #16890]
14882         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14883         when compiling wprintf.
14884         * stdio-common/tstdiomisc.c (t3): New function.
14885         (main): Call it.
14887 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14889         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14890         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14891         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14892         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14894 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14896         * stdlib/longlong.h: Updated from GCC.
14898 2014-05-01  Will Newton  <will.newton@linaro.org>
14899             Bernard Ogden  <bernie.ogden@linaro.org>
14901         * NEWS: Update fixed bug list.
14903         [BZ #15119]
14904         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14906 2014-04-30  David S. Miller  <davem@davemloft.net>
14908         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14909         (libc_feholdexcept_setround_sparc_ctx): New function.
14910         (libc_fesetenv_sparc_ctx): Likewise.
14911         (libc_feupdateenv_sparc_ctx): Likewise.
14912         (libc_feholdsetround_sparc_ctx): Likewise.
14913         (libc_feholdexcept_setround_ctx): Define.
14914         (libc_feholdexcept_setroundf_ctx): Likewise.
14915         (libc_feholdexcept_setroundl_ctx): Likewise.
14916         (libc_fesetenv_ctx): Likewise.
14917         (libc_fesetenvf_ctx): Likewise.
14918         (libc_fesetenvl_ctx): Likewise.
14919         (libc_feupdateenv_ctx): Likewise.
14920         (libc_feupdateenvf_ctx): Likewise.
14921         (libc_feupdateenvl_ctx): Likewise.
14922         (libc_feresetround_ctx): Likewise.
14923         (libc_feresetroundf_ctx): Likewise.
14924         (libc_feresetroundl_ctx): Likewise.
14925         (libc_feholdsetround_ctx): Likewise.
14926         (libc_feholdsetroundf_ctx): Likewise.
14927         (libc_feholdsetroundl_ctx): Likewise.
14929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14930         with __USE_GNU instead of XOPEN cpp guards.
14932         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14933         0.
14935         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14936         with XOPEN cpp guards.
14938 2014-04-30  Julian Brown  <julian@codesourcery.com>
14940         [BZ #16888]
14941         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14942         handling.
14944 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14946         [BZ #9894]
14947         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14948         Change to 2.6.32.
14949         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14950         * sysdeps/unix/sysv/linux/configure: Regenerated.
14951         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14952         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14953         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14954         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14955         * README: Update reference to required Linux kernel version.
14956         * manual/install.texi (Linux): Update reference to required Linux
14957         kernel headers version.
14958         * INSTALL: Regenerated.
14960         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14961         header inclusion.
14962         [POSIX] (limits.h): Likewise.
14963         [POSIX] (math.h): Likewise.
14964         [POSIX] (sys/wait.h): Likewise.
14965         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14966         function.
14967         [POSIX] (stddef.h): Do not allow header inclusion.
14969 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14971         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14973 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14975         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14976         Return immediately after lll_futex_wake.
14978 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14980         [BZ #16791]
14981         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14982         structure.
14983         (datahead_init_pos): Call datahead_init_common early.
14984         (datahead_init_neg): Likewise.
14986         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14987         datahead_init_neg): New functions.
14988         * nscd/aicache.c (addhstaiX): Use them.
14989         * nscd/grpcache.c (cache_addgr): Likewise.
14990         * nscd/hstcache.c (cache_addhst): Likewise.
14991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14992         * nscd/netgroupcache.c (do_notfound): Likewise.
14993         (addgetnetgrentX): Likewise.
14994         (addinnetgrX): Likewise.
14995         * nscd/pwdcache.c (cache_addpw): Likewise.
14996         * nscd/servicescache.c (cache_addserv): Likewise.
14998 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14999             Atsushi Onoe  <atsushi@onoe.org>
15001         [BZ #14308]
15002         [BZ #12994]
15003         [BZ #13651]
15004         * resolv/res_query.c (__libc_res_nsearch): Return if at least
15005         one response is valid.
15006         * resolv/res_send.c (send_dg): Check for validity of other
15007         response if the current response is a referral.
15009 2014-04-29  Steve Ellcey  <sellcey@mips.com>
15011         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15013 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
15015         [BZ #16823]
15016         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15017         Always divide by positive zero when computing -Inf result.
15018         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15019         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15021 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15023         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15024         FPSCR if value do not change.
15025         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15026         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15027         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15028         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15029         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15030         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15031         function.
15033 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
15035         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15036         * sysdeps/unix/sysv/linux/hppa: Move directory from
15037         ports/systeps/unix/sysv/linux/hppa.
15038         * README: Update listing for hppa-*-linux-gnu.
15040 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
15042         [BZ #16754]
15043         * manual/stdio.texi (Hook functions): Fix types of stream hook
15044         functions.
15045         [BZ #16854]
15046         * socket/sys/socket.h: Fix typo in comment.
15048 2014-04-28  Wilco  <wdijkstr@arm.com>
15050         * sysdeps/arm/fenv_private.h: New file.
15051         * sysdeps/arm/math_private.h: New file.
15052         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15054 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
15056         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15057         with __int128_t.
15058         (La_x86_64_retval): Likewise.
15060 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
15062         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15063         fpsr if value didn't change.
15064         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15065         to fpcr if value didn't change.
15066         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15067         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15068         fpsr or fpcr if value didn't change.
15069         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15070         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15071         fpcr if value didn't change.
15072         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15073         to fpsr if value didn't change.
15075 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15077         * nptl/tst-sem3.c: Use test-skeleton.c
15078         (main): Rename to do_test.  Use return instead of
15079         exit.
15080         * nptl/tst-sem4.c: Use test-skeleton.c
15081         (main): Rename to do_test.
15083 2014-04-22  David S. Miller  <davem@davemloft.net>
15085         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15086         (struct sigaction): New struct member __glibc_reserved0, change
15087         type of sa_flags to int.
15089 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
15091         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15092         (COUNT_LEADING_ZEROS_0): Define for AArch64.
15094 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15096         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15097         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15099 2014-04-22  Will Newton  <will.newton@linaro.org>
15100             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
15102         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15103         (__longjmp): Add longjmp and longjmp_target SystemTap
15104         probes.
15105         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15106         (__sigsetjmp): Add setjmp SystemTap probe.
15108 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
15110         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15111         match manual order.
15113 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15115         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15117         * sysdeps/powerpc/fpu/fenv_private.h
15118         (libc_feholdexcept_setroundl_ctx): Define to
15119         libc_feholdexcept_setround_ppc_ctx.
15120         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15121         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15122         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15123         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15125 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15127         * sysdeps/aarch64/math-tests.h: New file.
15129 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
15131         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15132         New.
15133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15134         Check and set bit_AVX2_Usable.
15135         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15136         macro.
15137         (bit_AVX2): Likewise.
15138         (index_AVX2_Usable): Likewise.
15139         (CPUID_AVX2): Likewise.
15140         (HAS_AVX2): Likewise.
15142 2014-04-17  Will Newton  <will.newton@linaro.org>
15144         * manual/setjmp.texi (System V contexts): Add note that
15145         calling setcontext on a context created by a call to a
15146         signal handler is undefined.  Update text to note that
15147         setcontext from a signal handler is possible but not
15148         recommended.
15150         [BZ #16629]
15151         * stdlib/tst-setcontext.c: Include signal.h.
15152         (main): Check that the signal stack before and
15153         after swapcontext is the same.
15155         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15156         Re-implement to restore registers in user code and avoid
15157         rt_sigreturn system call.
15159 2014-04-17  Wilco  <wdijkstr@arm.com>
15161         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15162         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15163         * math/test-fenv.c: Skip exception trap tests on targets which only
15164         support non-stop mode.
15166 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15167             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15169         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15170         (libc_feholdsetround_aarch64_ctx)
15171         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15172         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15173         (libc_feresetround_ctx, libc_feresetroundf_ctx)
15174         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15175         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15176         (libc_feresetround_noexl_ctx): Define.
15178 2014-04-16  Richard Henderson  <rth@redhat.com>
15180         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15182         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15183         unwind tables.
15185         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15186         const from the non-libc, non-ldso copy.
15188         * sysdeps/alpha/libm-test-ulps: Regenerate.
15190 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15191             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15193         * sysdeps/aarch64/fpu/math_private.h: New file.
15195 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15197         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15199 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15201         [BZ #16275]
15202         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15203         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15204         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15205         Intel MPX bound registers before _dl_profile_fixup.
15206         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15207         registers after _dl_profile_fixup.  Save and restore bound
15208         registers bnd0/bnd1 when calling _dl_call_pltexit.
15209         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15210         (LR_BND_OFFSET): Likewise.
15211         (LRV_BND0_OFFSET): Likewise.
15212         (LRV_BND1_OFFSET): Likewise.
15214 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15216         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15217         to...
15218         * sysdeps/mach/hurd/i386/tls.h: ... here.
15219         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15220         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15221         fields.
15223 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15225         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15227 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15229         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15231 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15233         [BZ #14770]
15234         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15235         * sysdeps/s390/configure: Regenerate.
15237         [BZ #16824]
15238         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15239         Set round-to-nearest internally to reduce error accumulation.
15241 2014-04-16  Alan Modra  <amodra@gmail.com>
15243         [BZ #16740]
15244         [BZ #16619]
15245         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15246         * math/libm-test.inc (frexp_test_data): Add tests.
15247         * NEWS: Update fixed bug list.
15249 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15251         * benchtests/Makefile: Depend on libraries in build directory.
15252         (bench-math): Separate out math tests.
15253         (bench-pthread): Separate out pthread tests.
15254         (bench): Include math and pthread tests.
15256 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15258         [BZ #16831]
15259         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15260         _dl_debug_initialize.
15262         * configure.ac: Remove SELinux header check.
15263         * configure: Regenerate.
15264         * nscd/selinux.c (perms): Array of const char* to permission names.
15265         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15266         default policy. Call string_to_security_class and string_to_av_perm to
15267         translate strings. Enforce default policy and call avs_has_perm with
15268         results of translated strings.
15270 2014-04-13  David S. Miller  <davem@davemloft.net>
15272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15274 2014-04-12  Allan McRae  <allan@archlinux.org>
15276         [BZ #16838]
15277         * manual/string.texi (Collation Functions): Fix qsort argument
15278         order in example.
15279         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15281 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15283         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15284         Make the test a no-op if there are no exceptions defined.
15286 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15288         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15289         enable-hardcoded-path-in-tests
15291 2014-04-11  Will Newton  <will.newton@linaro.org>
15293         * benchtests/Makefile (extra-objs): Add json-lib.o.
15294         (bench-func): Tidy up JSON output.
15295         * benchtests/bench-skeleton.c: Include json-lib.h.
15296         (main): Use JSON library functions to do output of
15297         benchmark results.
15298         * benchtests/bench-timing-type.c (main): Output the
15299         timing type simply, leaving formatting to the user.
15300         * benchtests/json-lib.c: New file.
15301         * benchtests/json-lib.h: Likewise.
15303 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15305         [BZ #15215]
15306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15307         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15308         memory barriers.  Add comments.
15309         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15310         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15311         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15312         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15313         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15314         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15316 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15318         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15319         * sysdeps/s390/s390-64/configure.ac: ... this ...
15320         * sysdeps/s390/configure.ac: ... to here.
15321         * sysdeps/s390/s390-32/configure: Delete file.
15322         * sysdeps/s390/s390-64/configure: Delete file.
15323         * sysdeps/s390/configure: Regenerate.
15325 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15327         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15329 2014-04-11  Will Newton  <will.newton@linaro.org>
15331         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15332         to zero if it is not defined elsewhere.  (mtrim): Test
15333         the value of MALLOC_DEBUG with #if rather than #ifdef.
15335 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15337         * benchtests/pthread_once-inputs: New file.
15338         * benchtests/pthread_once-source.c: New file.
15339         * benchtests/README: Update documentation.
15341 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15342             H.J. Lu  <hongjiu.lu@intel.com>
15344         [BZ #16275]
15345         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15346         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15347         * sysdeps/x86_64/configure: Regenerated.
15348         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15349         macro.
15350         (REGISTER_SAVE_RAX): Likewise.
15351         (REGISTER_SAVE_RCX): Likewise.
15352         (REGISTER_SAVE_RDX): Likewise.
15353         (REGISTER_SAVE_RSI): Likewise.
15354         (REGISTER_SAVE_RDI): Likewise.
15355         (REGISTER_SAVE_R8): Likewise.
15356         (REGISTER_SAVE_R9): Likewise.
15357         (REGISTER_SAVE_BND0): Likewise.
15358         (REGISTER_SAVE_BND1): Likewise.
15359         (REGISTER_SAVE_BND2): Likewise.
15360         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15361         bound registers when calling _dl_fixup.
15363 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15365         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15366         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15367         of its definition.
15368         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15369         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15370         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15371         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15372         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15373         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15374         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15376 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15378         [BZ #15514]
15379         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15380         pathconf(_PC_NAME_MAX).
15382 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15384         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15385         Remove macro usage.
15386         (__PTHREAD_SPINS): Move definition to ...
15387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15388         (__PTHREAD_SPINS): ... here.
15389         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15390         (__PTHREAD_SPIN): Likewise.
15391         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15392         (__PTHREAD_SPIN): Likewise.
15393         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15394         (__PTHREAD_SPIN): Likewise.
15395         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15396         (__PTHREAD_SPIN): Likewise.
15397         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15398         (__PTHREAD_SPIN): Likewise.
15399         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15400         (__PTHREAD_SPIN): Likewise.
15401         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15402         (__PTHREAD_SPIN): Likewise.
15403         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15404         (__PTHREAD_SPIN): Likewise.
15405         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15406         (__PTHREAD_SPIN): Likewise.
15407         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15408         (__PTHREAD_SPIN): Likewise.
15409         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15410         (__PTHREAD_SPIN): Likewise.
15411         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15412         (__PTHREAD_SPIN): Likewise.
15414         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15415         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15416         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15417         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15418         imply folder.
15419         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15420         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15421         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15422         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15423         correct imply path.
15424         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15425         strlen symbol for non multi-arch builds.
15426         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15427         missing hidden_def and weak_alias.
15429 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15431         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15433 2014-04-07  Will Newton  <will.newton@linaro.org>
15435         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15436         and contents.  [!_LIBC] Remove #ifndef and contents.
15437         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15438         * string/memccpy.c (__memccpy): Use ANSI prototype.
15439         * string/memfrob.c (memfrob): Likewise.
15440         * string/strcoll.c (STRCOLL): Likewise.
15441         * string/strlen.c (strlen): Likewise.
15442         * string/strtok.c (STRTOK): Likewise.
15443         * string/strcat.c: Remove unused #include of memcopy.h.
15444         (strcat): Use ANSI prototype.
15445         * string/strchr.c: Remove unused #include of memcopy.h.
15446         (strchr): Use ANSI prototype.
15447         * string/strcmp.c: Remove unused #include of memcopy.h.
15448         (strcmp): Use ANSI prototype.
15449         * string/strcpy.c: Remove unused #include of memcopy.h.
15450         (strcpy): Use ANSI prototype.
15452 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15454         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15455         * config.make.in (config-extra-cppflags): Set it from
15456         libc_extra_cppflags.
15457         * configure.ac (libc_extra_cflags): Make it accumulate over
15458         configure fragments.
15459         (libc_extra_cppflags): New flag.
15460         * configure. Regenerate.
15461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15462         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15463         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15466         [BZ #16815]
15467         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15468         result for FE_DOWNWARD rounding mode.
15469         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15470         Likewise.
15471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15473 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15475         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15476         in function argument name.
15478 2014-04-03  David Svoboda  <svoboda@cert.org>
15480         [BZ #5666]
15481         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15482         explicitly.
15484 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15486         * elf/dl-unmap-segments.h: New file.
15487         * sysdeps/generic/ldsodefs.h
15488         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15489         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15490         * elf/dl-fptr.c: Likewise.
15491         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15492         * sysdeps/aarch64/tlsdesc.c: Likewise.
15493         * sysdeps/arm/tlsdesc.c: Likewise.
15494         * sysdeps/i386/tlsdesc.c: Likewise.
15495         * sysdeps/tile/dl-runtime.c: Likewise.
15496         * sysdeps/x86_64/tlsdesc.c: Likewise.
15497         * elf/dl-load.h: New file.
15498         * elf/dl-load.c: Include it.
15499         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15500         Macros moved to dl-load.h.
15501         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15502         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15503         Use _dl_unmap_segments in place of __munmap.
15504         Break out segment-mapping loop into ...
15505         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15507 2014-04-03  Will Newton  <will.newton@linaro.org>
15509         * elf/dl-lookup.c (do_lookup_x): Remove comment
15510         referring to nested function and move variable
15511         declarations down to before first use.
15513 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15515         [BZ #16799]
15516         [BZ #16800]
15517         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15518         with 0 numerator.
15519         * math/s_catanf.c (__catanf): Likewise.
15520         * math/s_catanh.c (__catanh): Likewise.
15521         * math/s_catanhf.c (__catanhf): Likewise.
15522         * math/s_catanhl.c (__catanhl): Likewise.
15523         * math/s_catanl.c (__catanl): Likewise.
15524         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15525         by positive zero when computing -Inf result.
15526         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15527         (catanh_test): Likewise.
15528         * sysdeps/i386/fpu/libm-test-ulps: Update.
15529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15531         [BZ #16789]
15532         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15533         instead of using underflowing value in computing result.
15534         * math/s_clog10.c (__clog10): Likewise.
15535         * math/s_clog10f.c (__clog10f): Likewise.
15536         * math/s_clog10l.c (__clog10l): Likewise.
15537         * math/s_clogf.c (__clogf): Likewise.
15538         * math/s_clogl.c (__clogl): Likewise.
15539         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15540         (clog10_test): Likewise.
15541         * sysdeps/i386/fpu/libm-test-ulps: Update.
15542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544 2014-04-02  Alan Modra  <amodra@gmail.com>
15546         [BZ #16739]
15547         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15548         output when value is near a power of two.  Use int64_t for lx and
15549         remove casts.  Use decimal rather than hex exponent constants.
15550         Don't use long double multiplication when double will suffice.
15551         * math/libm-test.inc (nextafter_test_data): Add tests.
15552         * NEWS: Add 16739 and 16786 to bug list.
15554         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15556         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15558 2014-04-01  Will Newton  <will.newton@linaro.org>
15560         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15561         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15563 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15565         [BZ #13347]
15566         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15567         * nptl/tst-setuid2.c: New file.
15568         * nptl/Makefile (xtests): Add tst-setuid2.
15570 2014-04-01  Alan Modra  <amodra@gmail.com>
15572         [BZ #16786]
15573         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15575 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #6803]
15578         [BZ #6804]
15579         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15580         set errno as appropriate.
15581         * math/w_scalbf.c (__scalbf): Likewise.
15582         * math/w_scalbl.c (__scalbl): Likewise.
15583         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15584         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15585         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15586         Add more NaN tests.
15588         [BZ #16349]
15589         * math/w_atan2.c: Include <errno.h>.
15590         (__atan2): Set errno for result underflowing to zero.
15591         * math/w_atan2f.c: Include <errno.h>.
15592         (__atan2f): Set errno for result underflowing to zero.
15593         * math/w_atan2l.c: Include <errno.h>.
15594         (__atan2l): Set errno for result underflowing to zero.
15595         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15596         tests.
15597         * math/auto-libm-test-out: Regenerated.
15599 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15601         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15602         Encode instruction correctly in little endian.
15603         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15604         Likewise.
15605         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15606         Likewise.
15607         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15608         Likewise.
15609         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15610         Likewise.
15612 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15614         [BZ #9894]
15615         * sysdeps/unix/sysv/linux/kernel-features.h
15616         [__sparc__ && !__arch64__ && !__sparc_v9__]
15617         (__ASSUME_SET_ROBUST_LIST): Do not define.
15618         [__sparc__ && !__arch64__ && !__sparc_v9__]
15619         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15620         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15621         Likewise.
15622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15623         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15624         (__ASSUME_REQUEUE_PI): Likewise.
15625         (__ASSUME_SET_ROBUST_LIST): Likewise.
15626         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15627         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15628         Undefine.
15629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15630         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15631         Likewise.
15632         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15633         Likewise.
15634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15635         Likewise.
15636         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15637         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15638         Undefine.
15639         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15640         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15641         Likewise.
15643         [BZ #16648]
15644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15645         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15646         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15648 2014-03-31  Will Newton  <will.newton@linaro.org>
15650         * benchtests/Makefile (bench): Add ffs and ffsll to list
15651         of tests.
15652         * benchtests/ffs-inputs: New file.
15653         * benchtests/ffsll-inputs: Likewise.
15655 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15657         [BZ #16770]
15658         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15659         too large before casting to int.
15660         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15661         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15662         * math/libm-test.inc (scalb_test_data): Add more tests.
15664 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15666         * benchtests/Makefile (DETAILED_OPT): New make option.
15667         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15668         set.
15669         * benchtests/bench-skeleton.c: Include stdbool.h.
15670         (main): Store and print timings per input.
15671         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15672         member to each argument value.
15673         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15674         (_print_arg_data): Initialize per-input timing to 0.
15676         * benchtests/Makefile (timing-type): New binary.
15677         (bench-clean): Also remove bench-timing-type.
15678         (bench): New target for timing-type.
15679         (bench-func): Print output in JSON format.
15680         * benchtests/bench-skeleton.c (main): Print output in JSON
15681         format.
15682         * benchtests/bench-timing-type.c: New file.
15683         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15684         (TIMING_PRINT_STATS): Remove.
15685         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15686         name separately.
15688         * benchtests/bench-modf.c: Remove.
15689         * benchtests/modf-inputs: New inputs file.
15691 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15693         [BZ #16362]
15694         * math/s_clog10.c (M_PI_LOG10E): New macro.
15695         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15696         imaginary parts are 0.
15697         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15698         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15699         imaginary parts are 0.
15700         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15701         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15702         imaginary parts are 0.
15703         * math/libm-test.inc (clog10_test_data): Update expected results
15704         for when real and imaginary parts are 0.
15706 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15708         * elf/dl-load.c: Finish conversion of __builtin_expect into
15709         __glibc_{un}likely.
15711 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15713         [BZ #16348]
15714         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15715         1+x for argument with exponent below -67.
15716         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15717         Likewise.
15718         * math/auto-libm-test-in: Add more tests of exp.
15719         * math/auto-libm-test-out: Regenerated.
15721 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15723         [BZ #16759]
15724         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15725         (nscd_getnetgrent): Use it.
15727         [BZ #16760]
15728         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15729         of stpcpy.
15731 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15733         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15734         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15735         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15736         (lll_robust_unlock): Remove out of line section. Use cfi
15737         intrinsics.
15738         (LLL_STUB_UNWIND_INFO*): Remove.
15739         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15740         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15741         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15742         (lll_robust_unlock): Remove out of line section. Use cfi
15743         intrinsics.
15744         (LLL_STUB_UNWIND_INFO*): Remove.
15746 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15748         [BZ #16758]
15749         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15750         blank values.
15752 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15754         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15756 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15758         [BZ #16198]
15759         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15760         fnstenv.
15761         * math/test-fenv-preserve.c: New file.
15762         * math/Makefile (tests): Add test-fenv-preserve.
15764 2014-03-26  Will Newton <will.newton@linaro.org>
15766         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15768 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15770         * scripts/versionlist.awk: Partition the version sets and emit all
15771         GLIBC_* (sorted) before all others (sorted).
15773 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15775         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15776         GLIBC_2.2.5 version.
15778 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15780         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15781         calls.
15783         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15784         previous change.
15786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15788 2014-03-25  Andreas Schwab  <schwab@suse.de>
15790         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15791         label to be used after in6ailist is initialized.
15793 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15795         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15796         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15798 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15800         [BZ #16357]
15801         [BZ #16599]
15802         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15803         min_plus_half.
15804         (fp_formats): Update initializers.
15805         (init_fp_formats): Initialize new field.
15806         (output_for_one_input_case): Allow underflow for results up to
15807         min_plus_half.
15808         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15809         * math/auto-libm-test-in: Don't mark some underflows from asin and
15810         atanh as spurious.
15811         * math/auto-libm-test-out: Regenerated.
15812         * sysdeps/i386/fpu/libm-test-ulps: Update.
15813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815 2014-03-25  Andreas Schwab  <schwab@suse.de>
15817         * libio/Makefile (tst-ftell-partial-wide-ENV)
15818         (tst-ftell-active-handler-ENV): Define.
15820 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15822         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15824 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15826         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15828 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15830         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15831         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15834 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15836         [BZ #16634]
15837         * elf/dl-load.c (open_verify): Add mode parameter.
15838         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15839         (open_path): Change from boolean 'secure' to complete flag 'mode'
15840         (_dl_map_object): Adjust.
15841         * elf/Makefile (tests): Add tst-dlopen-aout.
15842         * elf/tst-dlopen-aout.c: New test.
15844 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15846         [BZ #16714]
15847         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15848         (struct stat): Rename member pad0 to __glibc_reserved0.
15850         [BZ #16712]
15851         * sysdeps/s390/s390-32/bits/wordsize.h
15852         (__WORDSIZE32_SIZE_ULONG): New define.
15853         * sysdeps/s390/s390-64/bits/wordsize.h
15854         (__WORDSIZE32_SIZE_ULONG): Likewise.
15855         * sysdeps/generic/stdint.h (SIZE_MAX):
15856         Define as UL if __WORDSIZE32_SIZE_ULONG.
15858         [BZ #16713]
15859         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15860         (__glibc_reserved0): New variable.
15861         (sa_flags): Change type to int.
15863         * posix/Makefile (before-compile): Use += before-compile instead
15864         of a :=.
15866         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15867         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15869 2014-03-20  Andreas Schwab  <schwab@suse.de>
15871         [BZ #16743]
15872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15873         non-matching result from nscd.
15875 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15877         * scripts/bench.py: Moved to ...
15878         * benchtests/scripts/bench.py: ... here.
15879         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15881 2014-03-24  Andreas Schwab  <schwab@suse.de>
15883         [BZ #16002]
15884         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15885         alloca_account and account alloca use for struct in6ailist.
15887 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15889         [BZ #16284]
15890         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15891         rounding mode to recompute results that overflow to infinity or
15892         underflow to zero.
15893         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15894         bug 16284.
15895         * math/auto-libm-test-out: Regenerated.
15896         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15897         (ccosh_test): Likewise.
15898         (csin_test_data): Use plus_oflow.
15899         (csin_test): Use ALL_RM_TEST.
15900         (csinh_test_data): Use plus_oflow.
15901         (csinh_test): Use ALL_RM_TEST.
15902         * sysdeps/i386/fpu/libm-test-ulps: Update.
15903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15905 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15907         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15908         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15909         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15911         [BZ #16731]
15912         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15913         when x - 1 is zero.
15914         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15915         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15916         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15918         argument is 1.
15919         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15920         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15921         zero.
15922         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15923         * sysdeps/i386/fpu/libm-test-ulps: Update.
15924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15926 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15928         * scripts/bench.pl: Remove file.
15929         * scripts/bench.py: New benchmark script.
15930         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15931         * benchtests/README: Mention python dependency.
15932         * scripts/pylintrc: New file.
15933         * scripts/pylint: New file.
15935         * bits/mathdef.h: Use #ifdef instead of #if.
15936         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15937         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15938         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15939         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15940         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15941         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15943 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15944             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15946         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15948         and strpbrk-ppc64 objects.
15949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15950         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15951         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15952         multiarch strpbrk for POWER7.
15953         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15954         multiarch strpbrk for PPC64.
15955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15956         ifunc selector.
15957         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15958         strpbrk for POWER7.
15960 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15962         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15963         (atan_test): Likewise.
15964         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15965         (atanh_test): Use ALL_RM_TEST.
15966         (atan2_test_data): Likewise.
15967         (cabs_test): Likewise.
15968         (cacosh_test): Likewise.
15969         (carg_test): Likewise.
15970         (casin_test): Likewise.
15971         (casinh_test): Likewise.
15972         (cbrt_test): Likewise.
15973         (csqrt_test): Likewise.
15974         (erf_test): Likewise.
15975         (erfc_test): Likewise.
15976         (pow10_test): Likewise.
15977         (exp2_test): Likewise.
15978         (hypot_test): Likewise.
15979         (j0_test): Likewise.
15980         (j1_test): Likewise.
15981         (lgamma_test): Likewise.
15982         (gamma_test): Likewise.
15983         (sincos_test): Likewise.
15984         (tanh_test): Likewise.
15985         (y0_test): Likewise.
15986         (y1_test): Likewise.
15987         * sysdeps/i386/fpu/libm-test-ulps: Update.
15988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15990 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15992         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15994         and strcspn-ppc64 objects.
15995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15996         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15997         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15998         multiarch strcspn for POWER7.
15999         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16000         multiarch strcspn for PPC64.
16001         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16002         ifunc selector.
16003         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16004         strcspn for POWER7.
16006 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16008         * math/gen-libm-test.pl (generate_testfile): Expect only function
16009         name as argument to AUTO_TESTS_* and pass results for all rounding
16010         modes to parse_args.
16011         (parse_auto_input): Separate inputs of automatic tests from
16012         outputs before storing in %auto_tests.
16013         * math/libm-test.inc (acos_test_data): Update call to
16014         AUTO_TESTS_f_f.
16015         (acos_test): Use ALL_RM_TEST.
16016         (acos_tonearest_test_data): Remove.
16017         (acos_test_tonearest): Likewise.
16018         (acos_towardzero_test_data): Likewise.
16019         (acos_test_towardzero): Likewise.
16020         (acos_downward_test_data): Likewise.
16021         (acos_test_downward): Likewise.
16022         (acos_upward_test_data): Likewise.
16023         (acos_test_upward): Likewise.
16024         (acosh_test_data): Update call to AUTO_TESTS_f_f.
16025         (asin_test_data): Likewise.
16026         (asin_test): Use ALL_RM_TEST.
16027         (asin_tonearest_test_data): Remove.
16028         (asin_test_tonearest): Likewise.
16029         (asin_towardzero_test_data): Likewise.
16030         (asin_test_towardzero): Likewise.
16031         (asin_downward_test_data): Likewise.
16032         (asin_test_downward): Likewise.
16033         (asin_upward_test_data): Likewise.
16034         (asin_test_upward): Likewise.
16035         (asinh_test_data): Update call to AUTO_TESTS_f_f.
16036         (atan_test_data): Likewise.
16037         (atanh_test_data): Likewise.
16038         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16039         (cabs_test_data): Update call to AUTO_TESTS_c_f.
16040         (carg_test_data): Likewise.
16041         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16042         (ccos_test_data): Update call to AUTO_TESTS_c_c.
16043         (ccosh_test_data): Likewise.
16044         (cexp_test_data): Likewise.
16045         (clog_test_data): Likewise.
16046         (clog10_test_data): Likewise.
16047         (cos_test_data): Update call to AUTO_TESTS_f_f.
16048         (cos_test): Use ALL_RM_TEST.
16049         (cos_tonearest_test_data): Remove.
16050         (cos_test_tonearest): Likewise.
16051         (cos_towardzero_test_data): Likewise.
16052         (cos_test_towardzero): Likewise.
16053         (cos_downward_test_data): Likewise.
16054         (cos_test_downward): Likewise.
16055         (cos_upward_test_data): Likewise.
16056         (cos_test_upward): Likewise.
16057         (cosh_test_data): Update call to AUTO_TESTS_f_f.
16058         (cosh_test): Use ALL_RM_TEST.
16059         (cosh_tonearest_test_data): Remove.
16060         (cosh_test_tonearest): Likewise.
16061         (cosh_towardzero_test_data): Likewise.
16062         (cosh_test_towardzero): Likewise.
16063         (cosh_downward_test_data): Likewise.
16064         (cosh_test_downward): Likewise.
16065         (cosh_upward_test_data): Likewise.
16066         (cosh_test_upward): Likewise.
16067         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16068         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16069         (ctan_test_data): Likewise.
16070         (ctan_test): Use ALL_RM_TEST.
16071         (ctan_tonearest_test_data): Remove.
16072         (ctan_test_tonearest): Likewise.
16073         (ctan_towardzero_test_data): Likewise.
16074         (ctan_test_towardzero): Likewise.
16075         (ctan_downward_test_data): Likewise.
16076         (ctan_test_downward): Likewise.
16077         (ctan_upward_test_data): Likewise.
16078         (ctan_test_upward): Likewise.
16079         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16080         (ctanh_test): Use ALL_RM_TEST.
16081         (ctanh_tonearest_test_data): Remove.
16082         (ctanh_test_tonearest): Likewise.
16083         (ctanh_towardzero_test_data): Likewise.
16084         (ctanh_test_towardzero): Likewise.
16085         (ctanh_downward_test_data): Likewise.
16086         (ctanh_test_downward): Likewise.
16087         (ctanh_upward_test_data): Likewise.
16088         (ctanh_test_upward): Likewise.
16089         (erf_test_data): Update call to AUTO_TESTS_f_f.
16090         (erfc_test_data): Likewise.
16091         (exp_test_data): Likewise.
16092         (exp_test): Use ALL_RM_TEST.
16093         (exp_tonearest_test_data): Remove.
16094         (exp_test_tonearest): Likewise.
16095         (exp_towardzero_test_data): Likewise.
16096         (exp_test_towardzero): Likewise.
16097         (exp_downward_test_data): Likewise.
16098         (exp_test_downward): Likewise.
16099         (exp_upward_test_data): Likewise.
16100         (exp_test_upward): Likewise.
16101         (exp10_test_data): Update call to AUTO_TESTS_f_f.
16102         (exp10_test): Use ALL_RM_TEST.
16103         (exp10_tonearest_test_data): Remove.
16104         (exp10_test_tonearest): Likewise.
16105         (exp10_towardzero_test_data): Likewise.
16106         (exp10_test_towardzero): Likewise.
16107         (exp10_downward_test_data): Likewise.
16108         (exp10_test_downward): Likewise.
16109         (exp10_upward_test_data): Likewise.
16110         (exp10_test_upward): Likewise.
16111         (exp2_test_data): Update call to AUTO_TESTS_f_f.
16112         (expm1_test_data): Likewise.
16113         (expm1_test): Use ALL_RM_TEST.
16114         (expm1_tonearest_test_data): Remove.
16115         (expm1_test_tonearest): Likewise.
16116         (expm1_towardzero_test_data): Likewise.
16117         (expm1_test_towardzero): Likewise.
16118         (expm1_downward_test_data): Likewise.
16119         (expm1_test_downward): Likewise.
16120         (expm1_upward_test_data): Likewise.
16121         (expm1_test_upward): Likewise.
16122         (fma_test_data): Update call to AUTO_TESTS_fff_f.
16123         (fma_test): Use ALL_RM_TEST.
16124         (fma_towardzero_test_data): Remove.
16125         (fma_test_towardzero): Likewise.
16126         (fma_downward_test_data): Likewise.
16127         (fma_test_downward): Likewise.
16128         (fma_upward_test_data): Likewise.
16129         (fma_test_upward): Likewise.
16130         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16131         (j0_test_data): Update call to AUTO_TESTS_f_f.
16132         (j1_test_data): Likewise.
16133         (jn_test_data): Update call to AUTO_TESTS_if_f.
16134         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16135         (log_test_data): Update call to AUTO_TESTS_f_f.
16136         (log10_test_data): Likewise.
16137         (log1p_test_data): Likewise.
16138         (log2_test_data): Likewise.
16139         (pow_test_data): Update call to AUTO_TESTS_ff_f.
16140         (pow_tonearest_test_data): Likewise.
16141         (sin_test_data): Update call to AUTO_TESTS_f_f.
16142         (sin_test): Use ALL_RM_TEST.
16143         (sin_tonearest_test_data): Remove.
16144         (sin_test_tonearest): Likewise.
16145         (sin_towardzero_test_data): Likewise.
16146         (sin_test_towardzero): Likewise.
16147         (sin_downward_test_data): Likewise.
16148         (sin_test_downward): Likewise.
16149         (sin_upward_test_data): Likewise.
16150         (sin_test_upward): Likewise.
16151         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16152         (sinh_test_data): Update call to AUTO_TESTS_f_f.
16153         (sinh_test): Use ALL_RM_TEST.
16154         (sinh_tonearest_test_data): Remove.
16155         (sinh_test_tonearest): Likewise.
16156         (sinh_towardzero_test_data): Likewise.
16157         (sinh_test_towardzero): Likewise.
16158         (sinh_downward_test_data): Likewise.
16159         (sinh_test_downward): Likewise.
16160         (sinh_upward_test_data): Likewise.
16161         (sinh_test_upward): Likewise.
16162         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16163         (sqrt_test): Use ALL_RM_TEST.
16164         (sqrt_tonearest_test_data): Remove.
16165         (sqrt_test_tonearest): Likewise.
16166         (sqrt_towardzero_test_data): Likewise.
16167         (sqrt_test_towardzero): Likewise.
16168         (sqrt_downward_test_data): Likewise.
16169         (sqrt_test_downward): Likewise.
16170         (sqrt_upward_test_data): Likewise.
16171         (sqrt_test_upward): Likewise.
16172         (tan_test_data): Update call to AUTO_TESTS_f_f.
16173         (tan_test): Use ALL_RM_TEST.
16174         (tan_tonearest_test_data): Remove.
16175         (tan_test_tonearest): Likewise.
16176         (tan_towardzero_test_data): Likewise.
16177         (tan_test_towardzero): Likewise.
16178         (tan_downward_test_data): Likewise.
16179         (tan_test_downward): Likewise.
16180         (tan_upward_test_data): Likewise.
16181         (tan_test_upward): Likewise.
16182         (tanh_test_data): Update call to AUTO_TESTS_f_f.
16183         (tgamma_test_data): Likewise.
16184         (y0_test_data): Likewise.
16185         (y1_test_data): Likewise.
16186         (yn_test_data): Update call to AUTO_TESTS_if_f.
16187         (main): Do not call removed functions.
16189 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16191         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16192         (ldexp_test_data): Remove.
16193         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16194         scalbn_test_data.
16195         (scalb_test): Use ALL_RM_TEST.
16197 2014-03-19  Andreas Schwab  <schwab@suse.de>
16199         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16201 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16203         [BZ #16649]
16204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16205         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16207         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16208         (__ASSUME_PREADV): Undefine.
16209         (__ASSUME_PWRITEV): Likewise.
16211 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16213         * bits/mman-linux.h: Add comment about non-Linux use.
16214         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16215         bits/mman-linux.h resting place.
16217         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16218         * bits/mman-linux.h: ... here.
16220 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16222         * conform/conformtest.pl: Add standard definition when calling C
16223         preprocessor on data files.
16224         (checknamespace): Remove unused variable.
16226 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16228         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16229         minus_oflow, plus_uflow and minus_uflow in expected results.
16230         * math/libm-test.inc (scalbn_test_data): Add more tests of
16231         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16232         minus_uflow.
16233         (scalbn_test): Use ALL_RM_TEST.
16234         (scalbln_test_data): Add more tests of negative arguments.  Use
16235         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16236         (scalbln_test): Use ALL_RM_TEST.
16238 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16240         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16242 2014-03-18  Will Newton  <will.newton@linaro.org>
16244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16245         inaccurate comment.
16247 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16249         * Makerules [!subdir] (check-abi): Exit with error status if a
16250         test failed.
16252 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16254         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16255         for rint.  Include results for all rounding modes.
16256         (nearbyint_test): Use ALL_RM_TEST.
16257         (rint_test_data): Include all tests used for nearbyint.
16259 2014-03-17  Will Newton  <will.newton@linaro.org>
16261         * nptl/sysdeps/pthread/pthread.h: Revert previous
16262         change.
16264         * sysdeps/generic/ldsodefs.h: Revert previous
16265         change.
16267         * libio/genops.c: Revert previous change.
16268         * libio/libioP.h: Likewise.
16269         * stdio-common/vfprintf.c: Likewise.
16271         * sysdeps/generic/math_private.h: Revert previous
16272         change.
16274         * sysdeps/generic/math_private.h: Check whether
16275         HAVE_RM_CTX is defined with #ifdef rather
16276         than #if.
16278         * argp/argp-fmtstream.h: Check whether
16279         __STRICT_ANSI__ is defined with #ifdef rather
16280         than #if.
16281         * argp/argp.h: Likewise.
16283         * libio/genops.c: Check whether
16284         _IO_JUMPS_OFFSET is defined with #ifdef rather
16285         than #if.
16286         * libio/libioP.h: Likewise.
16287         * stdio-common/vfprintf.c: Likewise.
16289         * sysdeps/generic/ldsodefs.h: Check whether
16290         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16291         than #if.
16293         * nptl/sysdeps/pthread/pthread.h: Check
16294         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16295         its value.
16297 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16299         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16300         setting O_APPEND.
16301         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16302         test case.
16304         [BZ #16680]
16305         * libio/fileops.c (_IO_file_open): Seek to end of file but
16306         don't cache the offset.
16307         (get_file_offset): Remove function.
16308         (do_ftell): Use cached offset when available.
16309         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16310         don't cache the offset.
16311         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16312         case.
16313         (do_one_test): Call it.
16314         (do_ftell_test): Fix up expected old offset for a+ mode.
16315         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16316         available.
16318         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16319         up test status with function return status.
16320         (do_write_test): Likewise.
16321         (do_append_test): Likewise.
16323         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16324         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16325         Remove.
16327 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16329         * math/gen-libm-test.pl (parse_args): Handle results specified for
16330         each rounding mode separately.
16331         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16332         tests and results from lrint_tonearest_test_data,
16333         lrint_towardzero_test_data, lrint_downward_test_data and
16334         lrint_upward_test_data.
16335         (lrint_test): Use ALL_RM_TEST.
16336         (lrint_tonearest_test_data): Remove.
16337         (lrint_test_tonearest): Likewise.
16338         (lrint_towardzero_test_data): Likewise.
16339         (lrint_test_towardzero): Likewise.
16340         (lrint_downward_test_data): Likewise.
16341         (lrint_test_downward): Likewise.
16342         (lrint_upward_test_data): Likewise.
16343         (lrint_test_upward): Likewise.
16344         (llrint_test_data): Merge in per-rounding-mode tests and results
16345         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16346         llrint_downward_test_data and llrint_upward_test_data.
16347         (llrint_test): Use ALL_RM_TEST.
16348         (llrint_tonearest_test_data): Remove.
16349         (llrint_test_tonearest): Likewise.
16350         (llrint_towardzero_test_data): Likewise.
16351         (llrint_test_towardzero): Likewise.
16352         (llrint_downward_test_data): Likewise.
16353         (llrint_test_downward): Likewise.
16354         (llrint_upward_test_data): Likewise.
16355         (llrint_test_upward): Likewise.
16356         (rint_test_data): Merge in per-rounding-mode tests and results
16357         from rint_tonearest_test_data, rint_towardzero_test_data,
16358         rint_downward_test_data and rint_upward_test_data.  Add
16359         per-rounding-mode results for tests not in those arrays.
16360         (rint_test): Use ALL_RM_TEST.
16361         (rint_tonearest_test_data): Remove.
16362         (rint_test_tonearest): Likewise.
16363         (rint_towardzero_test_data): Likewise.
16364         (rint_test_towardzero): Likewise.
16365         (rint_downward_test_data): Likewise.
16366         (rint_test_downward): Likewise.
16367         (rint_upward_test_data): Likewise.
16368         (rint_test_upward): Likewise.
16369         (main): Don't call removed functions.
16371 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16373         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16374         "Compiled on ..." crapola.  It is anti-useful.
16376 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16378         * scripts/evaluate-test.sh: Handle fourth argument to determine
16379         whether test run should stop on failure.
16380         * Makeconfig (stop-on-test-failure): New variable.
16381         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16382         $(stop-on-test-failure).
16383         * Makefile (tests): Give a summary of results from testing and
16384         exit with failure status if they include an ERROR or FAIL.
16385         (xtests): Likewise.
16386         * manual/install.texi (Configuring and compiling): Mention
16387         stop-on-test-failure=y.
16388         * INSTALL: Regenerated.
16390 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16392         * scripts/versionlist.awk: New file.
16393         * Makerules [$(build-shared) = yes]
16394         (postclean-generated): Add Versions.def, not Versions.def.v and
16395         Versions.def.v.i.
16396         ($(common-objpfx)Versions.def.v.i): Target removed.
16397         ($(common-objpfx)Versions.def): New target.
16398         ($(common-objpfx)Versions.all): Depend on that rather that
16399         $(common-objpfx)Versions.def.v.
16400         * Versions.def: File removed.
16402         * Makeconfig (+gccwarn): Add -Wundef.
16403         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16404         a dl-sysdep.h breaking its contract.
16405         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16406         * include/stackinfo.h: New file.
16407         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16408         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16409         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16410         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16411         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16412         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16413         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16414         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16415         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16416         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16417         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16418         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16419         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16420         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16421         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16423 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16425         [BZ #16707]
16426         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16427         implementation.
16428         * math/libm-test.inc (round_test_data): Add more tests.
16430         [BZ #16706]
16431         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16432         implementation.
16433         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16435         [BZ #16701]
16436         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16437         implementation.
16438         * math/libm-test.inc (ceil_test_data): Add more tests.
16440         * math/libm-test.inc (trunc_test_data): Add more tests related to
16441         BZ#16414.
16443 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16445         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16446         with #if rather than #ifdef.
16447         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16449 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16451         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16452         first.  Disable AVX-512 GCC support if assembler doesn't support
16453         it.
16454         * sysdeps/x86_64/configure: Regenerated.
16456 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16458         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16459         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16460         (__old_pthread_attr_setstack): Likewise.
16461         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16462         [!_STACK_GROWS_DOWN]: Likewise.
16464 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16466         * config.make.in (have-bash2): Delete.
16467         * configure.ac (libc_cv_have_bash2): Delete.
16468         * configure: Regenerate.
16469         * elf/Makefile (common-ldd-rewrite): Rename to ...
16470         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16471         (sh-ldd-rewrite): Delete.
16472         (bash-ldd-rewrite): Delete.
16473         (have-bash2): Delete checks.
16474         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16475         ldd-rewrite.
16477         * config.make.in (have-ksh): Delete.
16478         (KSH): Delete.
16479         * configure.ac (libc_cv_have_ksh): Delete.
16480         * configure: Regenerate.
16482         * elf/Makefile: Delete $(have-ksh) check.
16483         ($(objpfx)sotruss): Change KSH to BASH.
16484         * elf/sotruss.ksh: Rename to ...
16485         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16486         function style to match POSIX.  Drop ksh vim mode setting.
16488         * manual/time.texi (Specifying the Time Zone with TZ): Change
16489         Tuesday to Thursday.
16491         * debug/tst-longjmp_chk2.c: Update header comment.
16492         (stackoverflow_handler): Add comment.  Call assert on pass value.
16494 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16496         [BZ #16194]
16497         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16498         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16499         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16500         (La_x86_64_vector): Add zmm.
16501         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16502         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16503         ($(objpfx)tst-audit10): New target.
16504         ($(objpfx)tst-audit10.out): Likewise.
16505         (tst-audit10-ENV): New.
16506         (AVX512-CFLAGS): Likewise.
16507         (CFLAGS-tst-audit10.c): Likewise.
16508         (CFLAGS-tst-auditmod10a.c): Likewise.
16509         (CFLAGS-tst-auditmod10b.c): Likewise.
16510         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16511         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16512         * sysdeps/x86_64/configure: Regenerated.
16513         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16514         AVX-512 zmm register support.
16515         (_dl_x86_64_save_sse): Likewise.
16516         (_dl_x86_64_restore_sse): Likewise.
16517         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16518         size vector registers.
16519         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16520         (ZMM_SIZE): Likewise.
16521         * sysdeps/x86_64/tst-audit10.c: New file.
16522         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16523         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16525 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16527         * configure.ac (HAVE_EHDR_START): New check.
16528         * configure: Regenerated.
16529         * config.h.in (HAVE_EHDR_START): New #undef.
16530         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16531         assuming the lowest-addressed segment maps the start of the file.
16533 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16535         * INSTALL: Regenerated.
16537 2014-03-13  Will Newton  <will.newton@linaro.org>
16539         * manual/setjmp.texi (System V contexts): Improve
16540         clarity and grammar of documentation.
16542 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16544         [BZ #16381]
16545         * elf/Makefile (tests): Add tst-pie2.
16546         (tests-pie): Add tst-pie2.
16547         * elf/tst-pie2.c: New file.
16548         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16549         for ET_EXEC.
16550         * elf/rtld.c (map_doit): Load executable as lt_executable.
16551         (dl_main): Likewise.
16553 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16555         [BZ #16642]
16556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16557         (__ASSUME_PSELECT): Undefine.
16559 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16561         [BZ #16689]
16562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16563         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16564         static build.
16565         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16566         selector for static builds.
16568 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570         [BZ #16695]
16571         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16572         key in the buffer.
16574 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16576         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16577         IFUNC selector for static builds.
16579 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16581         * sysdeps/mips/math_private.h [__mips_hard_float]
16582         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16583         libc_feresetround_mips_ctx.
16584         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16585         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16586         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16588         [BZ #16677]
16589         * math/s_nextafter.c (__nextafter): Do not return value from
16590         overflowing computation.
16591         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16592         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16593         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16594         Likewise.
16595         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16596         Likewise.
16597         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16598         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16600 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16602         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16603         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16604         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16605         the new mov targetting sp.
16607 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16609         [BZ #16683]
16610         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16611         Define it for static builds as well.
16612         (NO_BZERO_IMPL): Likewise.
16614 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16616         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16617         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16618         multiarch strspn for PPC64.
16619         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16620         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16622         (__libc_ifunc_impl_list): Likewise.
16623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16624         multiarch optimizations
16625         * string/strspn.c (strspn): Using macro to redefine symbol name.
16627 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16628             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16630         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16631         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16632         multiarch strncat for PPC64.
16633         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16634         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16636         (__libc_ifunc_impl_list): Likewise.
16637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16638         multiarch optimizations
16640 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16642         [BZ #16639]
16643         * nscd/nscd.service: Make service type forking.
16645 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16647         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16648         sign in non default rounding modes.
16649         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16651 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16653         * math/libm-test.inc (ALL_RM_TEST): New macro.
16654         (ceil_test): Use ALL_RM_TEST.
16655         (cimag_test): Likewise.
16656         (conj_test): Likewise.
16657         (copysign_test): Likewise.
16658         (cproj_test): Likewise.
16659         (creal_test): Likewise.
16660         (fabs_test): Likewise.
16661         (floor_test): Likewise.
16662         (fmax_test): Likewise.
16663         (fmin_test): Likewise.
16664         (fmod_test): Likewise.
16665         (fpclassify_test): Likewise.
16666         (frexp_test): Likewise.
16667         (ilogb_test): Likewise.
16668         (isfinite_test): Likewise.
16669         (finite_test): Likewise.
16670         (isgreater_test): Likewise.
16671         (isgreaterequal_test): Likewise.
16672         (isinf_test): Likewise.
16673         (isless_test): Likewise.
16674         (islessequal_test): Likewise.
16675         (islessgreater_test): Likewise.
16676         (isnan_test): Likewise.
16677         (isnormal_test): Likewise.
16678         (issignaling_test): Likewise.
16679         (isunordered_test): Likewise.
16680         (logb_test): Likewise.
16681         (logb_downward_test_data): Remove.
16682         (logb_test_downward): Likewise.
16683         (lround_test): Use ALL_RM_TEST.
16684         (llround_test): Likewise.
16685         (modf_test): Likewise.
16686         (nexttoward_test): Likewise.
16687         (remainder_test): Likewise.
16688         (drem_test): Likewise.
16689         (remainder_tonearest_test_data): Likewise.
16690         (remainder_test_tonearest): Likewise.
16691         (drem_test_tonearest): Likewise.
16692         (remainder_towardzero_test_data): Likewise.
16693         (remainder_test_towardzero): Likewise.
16694         (drem_test_towardzero): Likewise.
16695         (remainder_downward_test_data): Likewise.
16696         (remainder_test_downward): Likewise.
16697         (drem_test_downward): Likewise.
16698         (remainder_upward_test_data): Likewise.
16699         (remainder_test_upward): Likewise.
16700         (drem_test_upward): Likewise.
16701         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16702         (round_test): Use ALL_RM_TEST.
16703         (signbit_test): Likewise.
16704         (trunc_test): Likewise.
16705         (significand_test): Likewise.
16706         (main): Don't call removed functions.
16708 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #16674]
16711         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16712         || __USE_XOPEN2K8].
16713         (ILL_ILLOPN): Likewise.
16714         (ILL_ILLADR): Likewise.
16715         (ILL_ILLTRP): Likewise.
16716         (ILL_PRVOPC): Likewise.
16717         (ILL_PRVREG): Likewise.
16718         (ILL_COPROC): Likewise.
16719         (ILL_BADSTK): Likewise.
16720         (FPE_INTDIV): Likewise.
16721         (FPE_INTOVF): Likewise.
16722         (FPE_FLTDIV): Likewise.
16723         (FPE_FLTOVF): Likewise.
16724         (FPE_FLTUND): Likewise.
16725         (FPE_FLTRES): Likewise.
16726         (FPE_FLTINV): Likewise.
16727         (FPE_FLTSUB): Likewise.
16728         (SEGV_MAPERR): Likewise.
16729         (SEGV_ACCERR): Likewise.
16730         (BUS_ADRALN): Likewise.
16731         (BUS_ADRERR): Likewise.
16732         (BUS_OBJERR): Likewise.
16733         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16734         (TRAP_TRACE): Likewise.
16735         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16736         __USE_XOPEN2K8].
16737         (CLD_KILLED): Likewise.
16738         (CLD_DUMPED): Likewise.
16739         (CLD_TRAPPED): Likewise.
16740         (CLD_STOPPED): Likewise.
16741         (CLD_CONTINUED): Likewise.
16742         (POLL_IN): Likewise.
16743         (POLL_OUT): Likewise.
16744         (POLL_MSG): Likewise.
16745         (POLL_ERR): Likewise.
16746         (POLL_PRI): Likewise.
16747         (POLL_HUP): Likewise.
16748         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16749         Likewise.
16750         (ILL_ILLOPN): Likewise.
16751         (ILL_ILLADR): Likewise.
16752         (ILL_ILLTRP): Likewise.
16753         (ILL_PRVOPC): Likewise.
16754         (ILL_PRVREG): Likewise.
16755         (ILL_COPROC): Likewise.
16756         (ILL_BADSTK): Likewise.
16757         (FPE_INTDIV): Likewise.
16758         (FPE_INTOVF): Likewise.
16759         (FPE_FLTDIV): Likewise.
16760         (FPE_FLTOVF): Likewise.
16761         (FPE_FLTUND): Likewise.
16762         (FPE_FLTRES): Likewise.
16763         (FPE_FLTINV): Likewise.
16764         (FPE_FLTSUB): Likewise.
16765         (SEGV_MAPERR): Likewise.
16766         (SEGV_ACCERR): Likewise.
16767         (BUS_ADRALN): Likewise.
16768         (BUS_ADRERR): Likewise.
16769         (BUS_OBJERR): Likewise.
16770         (BUS_MCEERR_AR): Likewise.
16771         (BUS_MCEERR_AO): Likewise.
16772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16773         (TRAP_TRACE): Likewise.
16774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16775         __USE_XOPEN2K8].
16776         (CLD_KILLED): Likewise.
16777         (CLD_DUMPED): Likewise.
16778         (CLD_TRAPPED): Likewise.
16779         (CLD_STOPPED): Likewise.
16780         (CLD_CONTINUED): Likewise.
16781         (POLL_IN): Likewise.
16782         (POLL_OUT): Likewise.
16783         (POLL_MSG): Likewise.
16784         (POLL_ERR): Likewise.
16785         (POLL_PRI): Likewise.
16786         (POLL_HUP): Likewise.
16787         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16788         (ILL_ILLOPN): Likewise.
16789         (ILL_ILLADR): Likewise.
16790         (ILL_ILLTRP): Likewise.
16791         (ILL_PRVOPC): Likewise.
16792         (ILL_PRVREG): Likewise.
16793         (ILL_COPROC): Likewise.
16794         (ILL_BADSTK): Likewise.
16795         (FPE_INTDIV): Likewise.
16796         (FPE_INTOVF): Likewise.
16797         (FPE_FLTDIV): Likewise.
16798         (FPE_FLTOVF): Likewise.
16799         (FPE_FLTUND): Likewise.
16800         (FPE_FLTRES): Likewise.
16801         (FPE_FLTINV): Likewise.
16802         (FPE_FLTSUB): Likewise.
16803         (SEGV_MAPERR): Likewise.
16804         (SEGV_ACCERR): Likewise.
16805         (BUS_ADRALN): Likewise.
16806         (BUS_ADRERR): Likewise.
16807         (BUS_OBJERR): Likewise.
16808         (BUS_MCEERR_AR): Likewise.
16809         (BUS_MCEERR_AO): Likewise.
16810         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16811         (TRAP_TRACE): Likewise.
16812         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16813         __USE_XOPEN2K8].
16814         (CLD_KILLED): Likewise.
16815         (CLD_DUMPED): Likewise.
16816         (CLD_TRAPPED): Likewise.
16817         (CLD_STOPPED): Likewise.
16818         (CLD_CONTINUED): Likewise.
16819         (POLL_IN): Likewise.
16820         (POLL_OUT): Likewise.
16821         (POLL_MSG): Likewise.
16822         (POLL_ERR): Likewise.
16823         (POLL_PRI): Likewise.
16824         (POLL_HUP): Likewise.
16825         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16826         Likewise.
16827         (ILL_ILLOPN): Likewise.
16828         (ILL_ILLADR): Likewise.
16829         (ILL_ILLTRP): Likewise.
16830         (ILL_PRVOPC): Likewise.
16831         (ILL_PRVREG): Likewise.
16832         (ILL_COPROC): Likewise.
16833         (ILL_BADSTK): Likewise.
16834         (ILL_BADIADDR): Likewise.
16835         (ILL_BREAK): Likewise.
16836         (FPE_INTDIV): Likewise.
16837         (FPE_INTOVF): Likewise.
16838         (FPE_FLTDIV): Likewise.
16839         (FPE_FLTOVF): Likewise.
16840         (FPE_FLTUND): Likewise.
16841         (FPE_FLTRES): Likewise.
16842         (FPE_FLTINV): Likewise.
16843         (FPE_FLTSUB): Likewise.
16844         (FPE_DECOVF): Likewise.
16845         (FPE_DECDIV): Likewise.
16846         (FPE_DECERR): Likewise.
16847         (FPE_INVASC): Likewise.
16848         (FPE_INVDEC): Likewise.
16849         (SEGV_MAPERR): Likewise.
16850         (SEGV_ACCERR): Likewise.
16851         (SEGV_PSTKOVF): Likewise.
16852         (BUS_ADRALN): Likewise.
16853         (BUS_ADRERR): Likewise.
16854         (BUS_OBJERR): Likewise.
16855         (BUS_MCEERR_AR): Likewise.
16856         (BUS_MCEERR_AO): Likewise.
16857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16858         (TRAP_TRACE): Likewise.
16859         (TRAP_BRANCH): Likewise.
16860         (TRAP_HWBKPT): Likewise.
16861         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16862         __USE_XOPEN2K8].
16863         (CLD_KILLED): Likewise.
16864         (CLD_DUMPED): Likewise.
16865         (CLD_TRAPPED): Likewise.
16866         (CLD_STOPPED): Likewise.
16867         (CLD_CONTINUED): Likewise.
16868         (POLL_IN): Likewise.
16869         (POLL_OUT): Likewise.
16870         (POLL_MSG): Likewise.
16871         (POLL_ERR): Likewise.
16872         (POLL_PRI): Likewise.
16873         (POLL_HUP): Likewise.
16874         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16875         (ILL_ILLOPN): Likewise.
16876         (ILL_ILLADR): Likewise.
16877         (ILL_ILLTRP): Likewise.
16878         (ILL_PRVOPC): Likewise.
16879         (ILL_PRVREG): Likewise.
16880         (ILL_COPROC): Likewise.
16881         (ILL_BADSTK): Likewise.
16882         (FPE_INTDIV): Likewise.
16883         (FPE_INTOVF): Likewise.
16884         (FPE_FLTDIV): Likewise.
16885         (FPE_FLTOVF): Likewise.
16886         (FPE_FLTUND): Likewise.
16887         (FPE_FLTRES): Likewise.
16888         (FPE_FLTINV): Likewise.
16889         (FPE_FLTSUB): Likewise.
16890         (SEGV_MAPERR): Likewise.
16891         (SEGV_ACCERR): Likewise.
16892         (BUS_ADRALN): Likewise.
16893         (BUS_ADRERR): Likewise.
16894         (BUS_OBJERR): Likewise.
16895         (BUS_MCEERR_AR): Likewise.
16896         (BUS_MCEERR_AO): Likewise.
16897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16898         (TRAP_TRACE): Likewise.
16899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16900         __USE_XOPEN2K8].
16901         (CLD_KILLED): Likewise.
16902         (CLD_DUMPED): Likewise.
16903         (CLD_TRAPPED): Likewise.
16904         (CLD_STOPPED): Likewise.
16905         (CLD_CONTINUED): Likewise.
16906         (POLL_IN): Likewise.
16907         (POLL_OUT): Likewise.
16908         (POLL_MSG): Likewise.
16909         (POLL_ERR): Likewise.
16910         (POLL_PRI): Likewise.
16911         (POLL_HUP): Likewise.
16912         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16913         (ILL_ILLOPN): Likewise.
16914         (ILL_ILLADR): Likewise.
16915         (ILL_ILLTRP): Likewise.
16916         (ILL_PRVOPC): Likewise.
16917         (ILL_PRVREG): Likewise.
16918         (ILL_COPROC): Likewise.
16919         (ILL_BADSTK): Likewise.
16920         (FPE_INTDIV): Likewise.
16921         (FPE_INTOVF): Likewise.
16922         (FPE_FLTDIV): Likewise.
16923         (FPE_FLTOVF): Likewise.
16924         (FPE_FLTUND): Likewise.
16925         (FPE_FLTRES): Likewise.
16926         (FPE_FLTINV): Likewise.
16927         (FPE_FLTSUB): Likewise.
16928         (SEGV_MAPERR): Likewise.
16929         (SEGV_ACCERR): Likewise.
16930         (BUS_ADRALN): Likewise.
16931         (BUS_ADRERR): Likewise.
16932         (BUS_OBJERR): Likewise.
16933         (BUS_MCEERR_AR): Likewise.
16934         (BUS_MCEERR_AO): Likewise.
16935         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16936         (TRAP_TRACE): Likewise.
16937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16938         __USE_XOPEN2K8].
16939         (CLD_KILLED): Likewise.
16940         (CLD_DUMPED): Likewise.
16941         (CLD_TRAPPED): Likewise.
16942         (CLD_STOPPED): Likewise.
16943         (CLD_CONTINUED): Likewise.
16944         (POLL_IN): Likewise.
16945         (POLL_OUT): Likewise.
16946         (POLL_MSG): Likewise.
16947         (POLL_ERR): Likewise.
16948         (POLL_PRI): Likewise.
16949         (POLL_HUP): Likewise.
16950         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16951         (ILL_ILLOPN): Likewise.
16952         (ILL_ILLADR): Likewise.
16953         (ILL_ILLTRP): Likewise.
16954         (ILL_PRVOPC): Likewise.
16955         (ILL_PRVREG): Likewise.
16956         (ILL_COPROC): Likewise.
16957         (ILL_BADSTK): Likewise.
16958         (FPE_INTDIV): Likewise.
16959         (FPE_INTOVF): Likewise.
16960         (FPE_FLTDIV): Likewise.
16961         (FPE_FLTOVF): Likewise.
16962         (FPE_FLTUND): Likewise.
16963         (FPE_FLTRES): Likewise.
16964         (FPE_FLTINV): Likewise.
16965         (FPE_FLTSUB): Likewise.
16966         (SEGV_MAPERR): Likewise.
16967         (SEGV_ACCERR): Likewise.
16968         (BUS_ADRALN): Likewise.
16969         (BUS_ADRERR): Likewise.
16970         (BUS_OBJERR): Likewise.
16971         (BUS_MCEERR_AR): Likewise.
16972         (BUS_MCEERR_AO): Likewise.
16973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16974         (TRAP_TRACE): Likewise.
16975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16976         __USE_XOPEN2K8].
16977         (CLD_KILLED): Likewise.
16978         (CLD_DUMPED): Likewise.
16979         (CLD_TRAPPED): Likewise.
16980         (CLD_STOPPED): Likewise.
16981         (CLD_CONTINUED): Likewise.
16982         (POLL_IN): Likewise.
16983         (POLL_OUT): Likewise.
16984         (POLL_MSG): Likewise.
16985         (POLL_ERR): Likewise.
16986         (POLL_PRI): Likewise.
16987         (POLL_HUP): Likewise.
16988         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16989         (ILL_ILLOPN): Likewise.
16990         (ILL_ILLADR): Likewise.
16991         (ILL_ILLTRP): Likewise.
16992         (ILL_PRVOPC): Likewise.
16993         (ILL_PRVREG): Likewise.
16994         (ILL_COPROC): Likewise.
16995         (ILL_BADSTK): Likewise.
16996         (ILL_DBLFLT): Likewise.
16997         (ILL_HARDWALL): Likewise.
16998         (FPE_INTDIV): Likewise.
16999         (FPE_INTOVF): Likewise.
17000         (FPE_FLTDIV): Likewise.
17001         (FPE_FLTOVF): Likewise.
17002         (FPE_FLTUND): Likewise.
17003         (FPE_FLTRES): Likewise.
17004         (FPE_FLTINV): Likewise.
17005         (FPE_FLTSUB): Likewise.
17006         (SEGV_MAPERR): Likewise.
17007         (SEGV_ACCERR): Likewise.
17008         (BUS_ADRALN): Likewise.
17009         (BUS_ADRERR): Likewise.
17010         (BUS_OBJERR): Likewise.
17011         (BUS_MCEERR_AR): Likewise.
17012         (BUS_MCEERR_AO): Likewise.
17013         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17014         (TRAP_TRACE): Likewise.
17015         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17016         __USE_XOPEN2K8].
17017         (CLD_KILLED): Likewise.
17018         (CLD_DUMPED): Likewise.
17019         (CLD_TRAPPED): Likewise.
17020         (CLD_STOPPED): Likewise.
17021         (CLD_CONTINUED): Likewise.
17022         (POLL_IN): Likewise.
17023         (POLL_OUT): Likewise.
17024         (POLL_MSG): Likewise.
17025         (POLL_ERR): Likewise.
17026         (POLL_PRI): Likewise.
17027         (POLL_HUP): Likewise.
17028         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17029         (ILL_ILLOPN): Likewise.
17030         (ILL_ILLADR): Likewise.
17031         (ILL_ILLTRP): Likewise.
17032         (ILL_PRVOPC): Likewise.
17033         (ILL_PRVREG): Likewise.
17034         (ILL_COPROC): Likewise.
17035         (ILL_BADSTK): Likewise.
17036         (FPE_INTDIV): Likewise.
17037         (FPE_INTOVF): Likewise.
17038         (FPE_FLTDIV): Likewise.
17039         (FPE_FLTOVF): Likewise.
17040         (FPE_FLTUND): Likewise.
17041         (FPE_FLTRES): Likewise.
17042         (FPE_FLTINV): Likewise.
17043         (FPE_FLTSUB): Likewise.
17044         (SEGV_MAPERR): Likewise.
17045         (SEGV_ACCERR): Likewise.
17046         (BUS_ADRALN): Likewise.
17047         (BUS_ADRERR): Likewise.
17048         (BUS_OBJERR): Likewise.
17049         (BUS_MCEERR_AR): Likewise.
17050         (BUS_MCEERR_AO): Likewise.
17051         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17052         (TRAP_TRACE): Likewise.
17053         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17054         __USE_XOPEN2K8].
17055         (CLD_KILLED): Likewise.
17056         (CLD_DUMPED): Likewise.
17057         (CLD_TRAPPED): Likewise.
17058         (CLD_STOPPED): Likewise.
17059         (CLD_CONTINUED): Likewise.
17060         (POLL_IN): Likewise.
17061         (POLL_OUT): Likewise.
17062         (POLL_MSG): Likewise.
17063         (POLL_ERR): Likewise.
17064         (POLL_PRI): Likewise.
17065         (POLL_HUP): Likewise.
17066         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17067         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17069         [BZ #16670]
17070         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17071         before #include of <time.h>.
17072         [!__USE_XOPEN2K] (__need_timespec): Likewise.
17073         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17074         (test-xfail-UNIX98/sched.h/conform): Likewise.
17076 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17078         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17079         error absence of trapping exception support.
17080         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17082 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17084         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17085         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17086         * timezone/Makefile (testdata): Move definition above include of
17087         Rules.
17088         (test-zones): New variable.
17089         (tests-special): Add zone files.
17090         (build-testdata): Use $(evaluate-test).
17092         * elf/Makefile (tests-special): Rename tests to end with .out.
17093         ($(objpfx)noload-mem): Likewise.
17094         ($(objpfx)tst-leaks1-mem): Likewise.
17095         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17096         * iconv/Makefile (xtests-special): Change test-iconvconfig to
17097         $(objpfx)test-iconvconfig.out.
17098         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
17099         set -e inside subshell and redirect output to file.
17100         * iconvdata/Makefile (generated): Rename tests to end with .out.
17101         Correct type.
17102         (tests-special): Rename tests to end with .out.
17103         ($(objpfx)mtrace-tst-loading): Likewise.
17104         * intl/Makefile (generated): Likewise.
17105         (tests-special): Likewise.
17106         ($(objpfx)mtrace-tst-gettext): Likewise.
17107         * misc/Makefile (generated): Likewise.
17108         (tests-special): Likewise.
17109         ($(objpfx)tst-error1-mem): Likewise.
17110         * nptl/Makefile (tests-special): Likewise.
17111         ($(objpfx)tst-stack3-mem): Likewise.
17112         (generated): Likewise.
17113         * posix/Makefile (generated): Likewise.
17114         (tests-special): Likewise.
17115         (xtests-special): Likewise.
17116         ($(objpfx)tst-fnmatch-mem): Likewise.
17117         ($(objpfx)bug-regex2-mem): Likewise.
17118         ($(objpfx)bug-regex14-mem): Likewise.
17119         ($(objpfx)bug-regex21-mem): Likewise.
17120         ($(objpfx)bug-regex31-mem): Likewise.
17121         ($(objpfx)tst-vfork3-mem): Likewise.
17122         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17123         ($(objpfx)tst-pcre-mem): Likewise.
17124         ($(objpfx)tst-boost-mem): Likewise.
17125         ($(objpfx)bug-ga2-mem): Likewise.
17126         ($(objpfx)bug-glob2-mem): Likewise.
17127         * resolv/Makefile (generate): Likewise.
17128         (tests-special): Likewise.
17129         (xtests-special): Likewise.
17130         (generated): Likewise.
17131         ($(objpfx)mtrace-tst-leaks): Likewise.
17132         ($(objpfx)mtrace-tst-leaks2): Likewise.
17134         * scripts/merge-test-results.sh: New file.
17135         * Makefile (tests-special-notdir): New variable.
17136         (tests): Run merge-test-results.sh.
17137         (xtests): Likewise.
17138         * Rules (tests-special-notdir): New variable.
17139         (xtests-special-notdir): Likewise.
17140         (tests): Run merge-test-results.sh
17141         (xtests): Likewise.
17143         * Makeconfig (test-xfail-name): New variable.
17144         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17145         compute variable name for expected failures.
17146         * conform/Makefile (conformtest-headers-data): New variable.
17147         (conformtest-standards): Likewise.
17148         (conformtest-headers-ISO): Likewise.
17149         (conformtest-headers-ISO99): Likewise.
17150         (conformtest-headers-ISO11): Likewise.
17151         (conformtest-headers-POSIX): Likewise.
17152         (conformtest-headers-XPG3): Likewise.
17153         (conformtest-headers-XPG4): Likewise.
17154         (conformtest-headers-UNIX98): Likewise.
17155         (conformtest-headers-XOPEN2K): Likewise.
17156         (conformtest-headers-POSIX2008): Likewise.
17157         (conformtest-headers-XOPEN2K8): Likewise.
17158         (conformtest-header-list-base): Likewise.
17159         (conformtest-header-list-tests): Likewise.
17160         (conformtest-header-base): Likewise.
17161         (conformtest-header-tests): Likewise.
17162         (tests-special): Add $(conformtest-header-list-tests).  If
17163         [$(fast-check) && !$(cross-compiling)], add
17164         $(conformtest-header-tests) instead of
17165         $(objpfx)run-conformtest.out.
17166         (generated): Add $(conformtest-header-list-base).  If
17167         [$(fast-check) && !$(cross-compiling)], add
17168         $(conformtest-header-base).  Remove previous setting.
17169         ($(conformtest-header-list-tests)): New target.
17170         (test-xfail-run-conformtest): Remove variable.
17171         ($(objpfx)run-conformtest.out): Remove target.
17172         (test-xfail-ISO11/complex.h/conform): New variable.
17173         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17174         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17175         (test-xfail-XPG3/varargs.h/conform): Likewise.
17176         (test-xfail-XPG4/varargs.h/conform): Likewise.
17177         (test-xfail-UNIX98/varargs.h/conform): Likewise.
17178         (test-xfail-XPG4/ndbm.h/conform): Likewise.
17179         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17180         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17181         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17182         (test-xfail-XPG3/fcntl.h/conform): Likewise.
17183         (test-xfail-XPG3/ftw.h/conform): Likewise.
17184         (test-xfail-XPG3/grp.h/conform): Likewise.
17185         (test-xfail-XPG3/langinfo.h/conform): Likewise.
17186         (test-xfail-XPG3/limits.h/conform): Likewise.
17187         (test-xfail-XPG3/pwd.h/conform): Likewise.
17188         (test-xfail-XPG3/search.h/conform): Likewise.
17189         (test-xfail-XPG3/signal.h/conform): Likewise.
17190         (test-xfail-XPG3/stdio.h/conform): Likewise.
17191         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17192         (test-xfail-XPG3/string.h/conform): Likewise.
17193         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17194         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17195         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17196         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17197         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17198         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17199         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17200         (test-xfail-XPG3/termios.h/conform): Likewise.
17201         (test-xfail-XPG3/time.h/conform): Likewise.
17202         (test-xfail-XPG3/unistd.h/conform): Likewise.
17203         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17204         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17205         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17206         (test-xfail-XPG4/netdb.h/conform): Likewise.
17207         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17208         (test-xfail-XPG4/signal.h/conform): Likewise.
17209         (test-xfail-XPG4/stdio.h/conform): Likewise.
17210         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17211         (test-xfail-XPG4/stropts.h/conform): Likewise.
17212         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17213         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17214         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17215         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17216         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17217         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17218         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17219         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17220         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17221         (test-xfail-XPG4/termios.h/conform): Likewise.
17222         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17223         (test-xfail-XPG4/unistd.h/conform): Likewise.
17224         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17225         (test-xfail-POSIX/sched.h/conform): Likewise.
17226         (test-xfail-POSIX/signal.h/conform): Likewise.
17227         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17228         (test-xfail-POSIX/tar.h/conform): Likewise.
17229         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17230         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17231         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17232         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17233         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17234         (test-xfail-UNIX98/sched.h/conform): Likewise.
17235         (test-xfail-UNIX98/signal.h/conform): Likewise.
17236         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17237         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17238         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17239         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17240         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17241         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17242         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17243         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17244         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17245         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17246         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17247         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17248         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17249         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17250         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17251         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17252         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17253         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17254         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17255         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17256         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17257         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17258         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17259         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17260         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17261         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17262         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17263         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17264         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17265         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17266         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17267         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17268         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17269         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17270         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17271         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17272         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17273         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17274         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17275         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17276         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17277         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17278         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17279         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17280         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17281         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17282         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17283         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17284         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17285         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17286         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17287         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17288         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17289         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17290         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17291         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17292         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17293         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17294         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17295         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17296         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17297         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17298         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17299         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17300         (conformtest-cc-flags): Likewise.
17301         ($(conformtest-header-tests): New target.
17302         * conform/check-header-lists.sh: New file.
17303         * conform/run-conformtest.sh: Remove.
17305         * conform/conformtest.pl: Allow ' and \ in values given for
17306         constants.
17307         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17308         inclusion.
17309         [POSIX] (sys/types.h): Likewise.
17310         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17311         inclusion.
17312         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17313         inclusion.
17314         * conform/data/signal.h-data (SIGIO): Remove expectation.
17315         [XPG3] (SIGBUS): Do not expect.
17316         [POSIX || XPG3] (SIGPOLL): Likewise.
17317         [POSIX || XPG3] (SIGPROF): Likewise.
17318         [POSIX || XPG3] (SIGSYS): Likewise.
17319         [XPG3] (SIGTRAP): Likewise.
17320         [POSIX || XPG3] (SIGURG): Likewise.
17321         [POSIX || XPG3] (SIGVTALRM): Likewise.
17322         [POSIX || XPG3] (SIGXCPU): Likewise.
17323         [POSIX || XPG3] (SIGXFSZ): Likewise.
17324         [POSIX] (SA_SIGINFO): Expect.
17325         [XPG3] (siginfo_t): Do not expect type or contents.
17326         [POSIX] (si_pid): Do not expect element.
17327         [POSIX] (si_uid): Likewise.
17328         [POSIX] (si_addr): Likewise.
17329         [POSIX] (si_status): Likewise.
17330         [POSIX] (si_band): Likewise.
17331         [XPG4] (si_value): Likewise.
17332         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17333         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17334         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17335         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17336         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17337         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17338         [POSIX || XPG3] (ILL_COPROC): Likewise.
17339         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17340         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17341         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17342         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17343         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17344         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17345         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17346         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17347         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17348         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17349         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17350         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17351         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17352         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17353         [POSIX || XPG3] (CLD_EXITED): Likewise.
17354         [POSIX || XPG3] (CLD_KILLED): Likewise.
17355         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17356         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17357         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17358         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17359         [POSIX || XPG3] (POLL_IN): Likewise.
17360         [POSIX || XPG3] (POLL_OUT): Likewise.
17361         [POSIX || XPG3] (POLL_MSG): Likewise.
17362         [POSIX || XPG3] (POLL_ERR): Likewise.
17363         [POSIX || XPG3] (POLL_PRI): Likewise.
17364         [POSIX || XPG3] (POLL_HUP): Likewise.
17365         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17366         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17367         (SIG*): Do not allow.
17368         [XPG3] (si_*): Likewise.
17369         [XPG3] (SI_*): Likewise.
17370         [XPG3 || XPG4] (sigev_*): Likewise.
17371         [XPG3 || XPG4] (SIGEV_*): Likewise.
17372         [XPG3 || XPG4] (sival_*): Likewise.
17373         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17374         [POSIX || XPG3] (BUS_*): Likewise.
17375         [POSIX || XPG3] (CLD_*): Likewise.
17376         [POSIX || XPG3] (FPE_*): Likewise.
17377         [POSIX || XPG3] (ILL_*): Likewise.
17378         [POSIX || XPG3] (POLL_*): Likewise.
17379         [POSIX || XPG3] (SEGV_*): Likewise.
17380         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17381         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17382         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17383         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17384         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17385         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17386         Specify type and value.
17387         (TVERSLEN): Likewise.
17388         (REGTYPE): Likewise.
17389         (AREGTYPE): Likewise.
17390         (LNKTYPE): Likewise.
17391         (SYMTYPE): Likewise.
17392         (CHRTYPE): Likewise.
17393         (BLKTYPE): Likewise.
17394         (DIRTYPE): Likewise.
17395         (FIFOTYPE): Likewise.
17396         (CONTTYPE): Likewise.
17397         (TSUID): Likewise.
17398         (TSGID): Likewise.
17399         (TSVTX): Likewise.
17400         (TUREAD): Likewise.
17401         (TUWRITE): Likewise.
17402         (TUEXEC): Likewise.
17403         (TGREAD): Likewise.
17404         (TGWRITE): Likewise.
17405         (TGEXEC): Likewise.
17406         (TOREAD): Likewise.
17407         (TOWRITE): Likewise.
17408         (TOEXEC): Likewise.
17409         [POSIX] (TSVTX): Expect constant.
17411 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17413         * Makefile (tests): Change dependencies to ....
17414         (tests-special): ... additions to this variable.
17415         (tests): Depend on $(tests-special).
17416         * Makerules (check-abi-list): New variable.
17417         (check-abi): Depend on $(check-abi-list).
17418         [$(subdir) = elf] (tests-special): Add
17419         $(objpfx)check-abi-libc.out.
17420         [$(build-shared) = yes && subdir] (tests-special): Add
17421         $(check-abi-list).
17422         [$(build-shared) = yes && subdir] (tests): Do not depend on
17423         check-abi.
17424         * Rules (tests): Depend on $(tests-special).
17425         (xtests): Depend on $(xtests-special).
17426         * catgets/Makefile (tests): Change dependencies to ....
17427         (tests-special): ... additions to this variable.
17428         * conform/Makefile (tests): Change dependencies to ....
17429         (tests-special): ... additions to this variable.
17430         * elf/Makefile (tests): Change dependencies to ....
17431         (tests-special): ... additions to this variable.
17432         * grp/Makefile (tests): Change dependencies to ....
17433         (tests-special): ... additions to this variable.
17434         * iconv/Makefile (xtests): Change dependencies to ....
17435         (xtests-special): ... additions to this variable.
17436         * iconvdata/Makefile (tests): Change dependencies to ....
17437         (tests-special): ... additions to this variable.
17438         * intl/Makefile (tests): Change dependencies to ....
17439         (tests-special): ... additions to this variable.  Also add
17440         $(objpfx)tst-gettext.out.
17441         * io/Makefile (tests): Change dependencies to ....
17442         (tests-special): ... additions to this variable.
17443         * libio/Makefile (tests): Change dependencies to ....
17444         (tests-special): ... additions to this variable.
17445         * malloc/Makefile (tests): Change dependencies to ....
17446         (tests-special): ... additions to this variable.
17447         * misc/Makefile (tests): Change dependencies to ....
17448         (tests-special): ... additions to this variable.
17449         * nptl/Makefile (tests): Change dependencies to ....
17450         (tests-special): ... additions to this variable.
17451         * nptl_db/Makefile (tests): Change dependencies to ....
17452         (tests-special): ... additions to this variable.
17453         * posix/Makefile (tests): Change dependencies to ....
17454         (tests-special): ... additions to this variable.
17455         (xtests): Change dependencies to ....
17456         (xtests-special): ... additions to this variable.
17457         * resolv/Makefile (tests): Change dependencies to ....
17458         (tests-special): ... additions to this variable.
17459         (xtests): Change dependencies to ....
17460         (xtests-special): ... additions to this variable.
17461         * stdio-common/Makefile (tests): Change dependencies to ....
17462         (tests-special): ... additions to this variable.
17463         (do-tst-unbputc): Remove target.
17464         (do-tst-printf): Likewise.
17465         * stdlib/Makefile (tests): Change dependencies to ....
17466         (tests-special): ... additions to this variable.
17467         * string/Makefile (tests): Change dependencies to ....
17468         (tests-special): ... additions to this variable.
17469         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17470         (tests-special): ... additions to this variable.
17472         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17473         whole file.
17474         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17475         whole file.
17476         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17477         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17479         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17480         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17481         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17482         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17483         * conform/data/libgen.h-data [XPG3]: Likewise.
17484         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17485         * conform/data/ndbm.h-data [XPG3]: Likewise.
17486         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17487         * conform/data/netdb.h-data [XPG3]: Likewise.
17488         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17489         * conform/data/poll.h-data [XPG3]: Likewise.
17490         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17491         * conform/data/strings.h-data [XPG3]: Likewise.
17492         * conform/data/stropts.h-data [XPG3]: Likewise.
17493         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17494         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17495         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17496         Likewise.
17497         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17498         * conform/data/sys/time.h-data [XPG3]: Likewise.
17499         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17500         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17501         * conform/data/sys/un.h-data [XPG3]: Likewise.
17502         * conform/data/syslog.h-data [XPG3]: Likewise.
17503         * conform/data/ucontext.h-data [XPG3]: Likewise.
17504         * conform/data/utmpx.h-data [XPG3]: Likewise.
17505         * conform/data/varargs.h-data [UNIX98]: Enable file.
17507         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17509         * math/libm-test.inc (struct test_f_f_data): Move expected results
17510         into structure for each rounding mode.
17511         (struct test_ff_f_data): Likewise.
17512         (struct test_ff_f_data_nexttoward): Likewise.
17513         (struct test_fi_f_data): Likewise.
17514         (struct test_fl_f_data): Likewise.
17515         (struct test_if_f_data): Likewise.
17516         (struct test_fff_f_data): Likewise.
17517         (struct test_c_f_data): Likewise.
17518         (struct test_f_f1_data): Likewise.
17519         (struct test_fF_f1_data): Likewise.
17520         (struct test_ffI_f1_data): Likewise.
17521         (struct test_c_c_data): Likewise.
17522         (struct test_cc_c_data): Likewise.
17523         (struct test_f_i_data): Likewise.
17524         (struct test_ff_i_data): Likewise.
17525         (struct test_f_l_data): Likewise.
17526         (struct test_f_L_data): Likewise.
17527         (struct test_fFF_11_data): Likewise.
17528         (RM_): New macro.
17529         (RM_FE_DOWNWARD): Likewise.
17530         (RM_FE_TONEAREST): Likewise.
17531         (RM_FE_TOWARDZERO): Likewise.
17532         (RM_FE_UPWARD): Likewise.
17533         (RUN_TEST_LOOP_f_f): Update references to expected results.
17534         (RUN_TEST_LOOP_2_f): Likewise.
17535         (RUN_TEST_LOOP_fff_f): Likewise.
17536         (RUN_TEST_LOOP_c_f): Likewise.
17537         (RUN_TEST_LOOP_f_f1): Likewise.
17538         (RUN_TEST_LOOP_fF_f1): Likewise.
17539         (RUN_TEST_LOOP_fI_f1): Likewise.
17540         (RUN_TEST_LOOP_ffI_f1): Likewise.
17541         (RUN_TEST_LOOP_c_c): Likewise.
17542         (RUN_TEST_LOOP_cc_c): Likewise.
17543         (RUN_TEST_LOOP_f_i): Likewise.
17544         (RUN_TEST_LOOP_f_i_tg): Likewise.
17545         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17546         (RUN_TEST_LOOP_f_b): Likewise.
17547         (RUN_TEST_LOOP_f_b_tg): Likewise.
17548         (RUN_TEST_LOOP_f_l): Likewise.
17549         (RUN_TEST_LOOP_f_L): Likewise.
17550         (RUN_TEST_LOOP_fFF_11): Likewise.
17551         * math/gen-libm-test.pl (parse_args): Output four copies of
17552         expected results for each test.
17554         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17555         (__ASSUME_UTIMES): Remove.
17556         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17557         (__ASSUME_UTIMES): Likewise.
17559         * math/gen-auto-libm-tests.c: Update comment on output format.
17560         (output_for_one_input_case): Generate before-rounding and
17561         after-rounding information as conditions on output flags not
17562         floating-point format.
17563         * math/auto-libm-test-out: Regenerated.
17564         * math/gen-libm-test.pl (cond_value): New function.
17565         (or_cond_value): Use cond_value.
17566         (generate_testfile): Handle conditional exceptions.
17568 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17570         * math/libm-test.inc (max_valid_error): New variable.
17571         (init_max_error): Take new argument specifying whether function
17572         results are exactly determined.  Set max_valid_error and bound
17573         other variables for errors based on this argument.
17574         (set_max_error): Do not record results above max_valid_error.
17575         (check_float_internal): Only accept errors of up to 0.5ulps if
17576         also at most max_valid_error.
17577         (START): Take new argument EXACT and pass it to init_max_error.
17578         (acos_test): Update call to START.
17579         (acos_test_tonearest): Likewise.
17580         (acos_test_towardzero): Likewise.
17581         (acos_test_downward): Likewise.
17582         (acos_test_upward): Likewise.
17583         (acosh_test): Likewise.
17584         (asin_test): Likewise.
17585         (asin_test_tonearest): Likewise.
17586         (asin_test_towardzero): Likewise.
17587         (asin_test_downward): Likewise.
17588         (asin_test_upward): Likewise.
17589         (asinh_test): Likewise.
17590         (atan_test): Likewise.
17591         (atanh_test): Likewise.
17592         (atan2_test): Likewise.
17593         (cabs_test): Likewise.
17594         (cacos_test): Likewise.
17595         (cacosh_test): Likewise.
17596         (carg_test): Likewise.
17597         (casin_test): Likewise.
17598         (casinh_test): Likewise.
17599         (catan_test): Likewise.
17600         (catanh_test): Likewise.
17601         (cbrt_test): Likewise.
17602         (ccos_test): Likewise.
17603         (ccosh_test): Likewise.
17604         (ceil_test): Likewise.
17605         (cexp_test): Likewise.
17606         (cimag_test): Likewise.
17607         (clog_test): Likewise.
17608         (clog10_test): Likewise.
17609         (conj_test): Likewise.
17610         (copysign_test): Likewise.
17611         (cos_test): Likewise.
17612         (cos_test_tonearest): Likewise.
17613         (cos_test_towardzero): Likewise.
17614         (cos_test_downward): Likewise.
17615         (cos_test_upward): Likewise.
17616         (cosh_test): Likewise.
17617         (cosh_test_tonearest): Likewise.
17618         (cosh_test_towardzero): Likewise.
17619         (cosh_test_downward): Likewise.
17620         (cosh_test_upward): Likewise.
17621         (cpow_test): Likewise.
17622         (cproj_test): Likewise.
17623         (creal_test): Likewise.
17624         (csin_test): Likewise.
17625         (csinh_test): Likewise.
17626         (csqrt_test): Likewise.
17627         (ctan_test): Likewise.
17628         (ctan_test_tonearest): Likewise.
17629         (ctan_test_towardzero): Likewise.
17630         (ctan_test_downward): Likewise.
17631         (ctan_test_upward): Likewise.
17632         (ctanh_test): Likewise.
17633         (ctanh_test_tonearest): Likewise.
17634         (ctanh_test_towardzero): Likewise.
17635         (ctanh_test_downward): Likewise.
17636         (ctanh_test_upward): Likewise.
17637         (erf_test): Likewise.
17638         (erfc_test): Likewise.
17639         (exp_test): Likewise.
17640         (exp_test_tonearest): Likewise.
17641         (exp_test_towardzero): Likewise.
17642         (exp_test_downward): Likewise.
17643         (exp_test_upward): Likewise.
17644         (exp10_test): Likewise.
17645         (exp10_test_tonearest): Likewise.
17646         (exp10_test_towardzero): Likewise.
17647         (exp10_test_downward): Likewise.
17648         (exp10_test_upward): Likewise.
17649         (pow10_test): Likewise.
17650         (exp2_test): Likewise.
17651         (expm1_test): Likewise.
17652         (expm1_test_tonearest): Likewise.
17653         (expm1_test_towardzero): Likewise.
17654         (expm1_test_downward): Likewise.
17655         (expm1_test_upward): Likewise.
17656         (fabs_test): Likewise.
17657         (fdim_test): Likewise.
17658         (floor_test): Likewise.
17659         (fma_test): Likewise.
17660         (fma_test_towardzero): Likewise.
17661         (fma_test_downward): Likewise.
17662         (fma_test_upward): Likewise.
17663         (fmax_test): Likewise.
17664         (fmin_test): Likewise.
17665         (fmod_test): Likewise.
17666         (fpclassify_test): Likewise.
17667         (frexp_test): Likewise.
17668         (hypot_test): Likewise.
17669         (ilogb_test): Likewise.
17670         (isfinite_test): Likewise.
17671         (finite_test): Likewise.
17672         (isgreater_test): Likewise.
17673         (isgreaterequal_test): Likewise.
17674         (isinf_test): Likewise.
17675         (isless_test): Likewise.
17676         (islessequal_test): Likewise.
17677         (islessgreater_test): Likewise.
17678         (isnan_test): Likewise.
17679         (isnormal_test): Likewise.
17680         (issignaling_test): Likewise.
17681         (isunordered_test): Likewise.
17682         (j0_test): Likewise.
17683         (j1_test): Likewise.
17684         (jn_test): Likewise.
17685         (ldexp_test): Likewise.
17686         (lgamma_test): Likewise.
17687         (gamma_test): Likewise.
17688         (lrint_test): Likewise.
17689         (lrint_test_tonearest): Likewise.
17690         (lrint_test_towardzero): Likewise.
17691         (lrint_test_downward): Likewise.
17692         (lrint_test_upward): Likewise.
17693         (llrint_test): Likewise.
17694         (llrint_test_tonearest): Likewise.
17695         (llrint_test_towardzero): Likewise.
17696         (llrint_test_downward): Likewise.
17697         (llrint_test_upward): Likewise.
17698         (log_test): Likewise.
17699         (log10_test): Likewise.
17700         (log1p_test): Likewise.
17701         (log2_test): Likewise.
17702         (logb_test): Likewise.
17703         (logb_test_downward): Likewise.
17704         (lround_test): Likewise.
17705         (llround_test): Likewise.
17706         (modf_test): Likewise.
17707         (nearbyint_test): Likewise.
17708         (nextafter_test): Likewise.
17709         (nexttoward_test): Likewise.
17710         (pow_test): Likewise.
17711         (pow_test_tonearest): Likewise.
17712         (pow_test_towardzero): Likewise.
17713         (pow_test_downward): Likewise.
17714         (pow_test_upward): Likewise.
17715         (remainder_test): Likewise.
17716         (drem_test): Likewise.
17717         (remainder_test_tonearest): Likewise.
17718         (drem_test_tonearest): Likewise.
17719         (remainder_test_towardzero): Likewise.
17720         (drem_test_towardzero): Likewise.
17721         (remainder_test_downward): Likewise.
17722         (drem_test_downward): Likewise.
17723         (remainder_test_upward): Likewise.
17724         (drem_test_upward): Likewise.
17725         (remquo_test): Likewise.
17726         (rint_test): Likewise.
17727         (rint_test_tonearest): Likewise.
17728         (rint_test_towardzero): Likewise.
17729         (rint_test_downward): Likewise.
17730         (rint_test_upward): Likewise.
17731         (round_test): Likewise.
17732         (scalb_test): Likewise.
17733         (scalbn_test): Likewise.
17734         (scalbln_test): Likewise.
17735         (signbit_test): Likewise.
17736         (sin_test): Likewise.
17737         (sin_test_tonearest): Likewise.
17738         (sin_test_towardzero): Likewise.
17739         (sin_test_downward): Likewise.
17740         (sin_test_upward): Likewise.
17741         (sincos_test): Likewise.
17742         (sinh_test): Likewise.
17743         (sinh_test_tonearest): Likewise.
17744         (sinh_test_towardzero): Likewise.
17745         (sinh_test_downward): Likewise.
17746         (sinh_test_upward): Likewise.
17747         (sqrt_test): Likewise.
17748         (sqrt_test_tonearest): Likewise.
17749         (sqrt_test_towardzero): Likewise.
17750         (sqrt_test_downward): Likewise.
17751         (sqrt_test_upward): Likewise.
17752         (tan_test): Likewise.
17753         (tan_test_tonearest): Likewise.
17754         (tan_test_towardzero): Likewise.
17755         (tan_test_downward): Likewise.
17756         (tan_test_upward): Likewise.
17757         (tanh_test): Likewise.
17758         (tgamma_test): Likewise.
17759         (trunc_test): Likewise.
17760         (y0_test): Likewise.
17761         (y1_test): Likewise.
17762         (yn_test): Likewise.
17763         (significand_test): Likewise.
17765         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17766         individual tests in comment.
17767         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17768         (prev_max_error): New variable.
17769         (prev_real_max_error): Likewise.
17770         (prev_imag_max_error): Likewise.
17771         (compare_ulp_data): Don't refer to test names in comment.
17772         (find_test_ulps): Remove function.
17773         (find_function_ulps): Likewise.
17774         (find_complex_function_ulps): Likewise.
17775         (init_max_error): Take function name as argument.  Look up ulps
17776         for that function.
17777         (print_ulps): Remove function.
17778         (print_max_error): Use prev_max_error instead of calling
17779         find_function_ulps.
17780         (print_complex_max_error): Use prev_real_max_error and
17781         prev_imag_max_error instead of calling find_complex_function_ulps.
17782         (check_float_internal): Take max_ulp parameter instead of calling
17783         find_test_ulps.  Don't call print_ulps.
17784         (check_float): Update call to check_float_internal.
17785         (check_complex): Update calls to check_float_internal.
17786         (START): Pass argument to init_max_error.
17787         * math/gen-libm-test.pl (%results): Don't include "kind"
17788         information.
17789         (parse_ulps): Don't handle ulps of individual tests.
17790         (print_ulps_file): Likewise.
17791         (output_ulps): Likewise.
17792         * math/README.libm-test: Update.
17793         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17794         individual tests.
17795         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17796         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17797         * sysdeps/arm/libm-test-ulps: Likewise.
17798         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17799         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17800         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17801         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17802         * sysdeps/microblaze/libm-test-ulps: Likewise.
17803         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17804         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17806         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17808         * sysdeps/sh/libm-test-ulps: Likewise.
17809         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17810         * sysdeps/tile/libm-test-ulps: Likewise.
17811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17813 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17815         * math/libm-test.inc (print_complex_max_error): Check separately
17816         whether real and imaginary errors are within allowed range and
17817         pass 0 to print_complex_function_ulps instead of value within
17818         allowed range.
17820 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17822         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17823         formatting.
17824         (get_handles_fopen): Likewise.
17825         (do_write_test): Likewise.
17827         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17829         * libio/fileops.c (do_ftell): Use cached offset when
17830         available.
17831         * libio/iofwide.c (do_ftell_wide): Likewise.
17832         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17833         _IO_file_attach.
17834         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17836         [BZ #16532]
17837         * libio/libioP.h (get_file_offset): New function.
17838         * libio/fileops.c (get_file_offset): Likewise.
17839         (do_ftell): Likewise.
17840         (_IO_new_file_seekoff): Split out ftell logic.
17841         * libio/wfileops.c (do_ftell_wide): Likewise.
17842         (_IO_wfile_seekoff): Split out ftell logic.
17843         * libio/tst-ftell-active-handler.c: New test case.
17844         * libio/Makefile (tests): Add it.
17846 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17848         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17849         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17851 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17853         [BZ #16639]
17854         * nscd/connections.c (nscd_init): Call do_exit.
17855         (start_threads): Call do_exit and notify_parent.
17856         (begin_drop_privileges): Call do_exit.
17857         (finish_drop_privileges): Likewise.
17858         * nscd/selinux.c (preserve_capabilities): Likewise.
17859         (install_real_capabilities): Likewise.
17860         (nscd_selinux_enabled): Likewise.
17861         (avc_create_thread): Likewise.
17862         (avc_alloc_lock): Likewise.
17863         (nscd_avc_init): Likewise.
17864         * nscd/nscd.c (parent_fd): New static variable.
17865         (main): Create a pipe between parent and child processes.
17866         Skip closing parent_fd.
17867         (monitor_child): New function.
17868         (do_exit): Likewise.
17869         (notify_parent): Likewise.
17870         * nscd/nscd.h (notify_parent): Likewise.
17871         (do_exit): Likewise.
17873 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17875         * malloc/malloc.c (__libc_calloc): Revert last change.
17877 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17881 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17883         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17885         implementation.
17886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17887         (__libc_ifunc_impl_list): Likewise.
17888         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17889         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17890         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17891         * string/strrchr.c: Define STRRCHR.
17893 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17895         * benchtest/bench-strtok.c (simple_strtok): Delete.
17896         (strtok_string): Use as benchmark.
17897         * string/strtok (STRTOK): New macro.
17899 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17901         * manual/threads.texi: Add header and standard comments to all
17902         functions.
17904         * elf/dl-lookup.c (check_match): New function.
17905         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17906         (do_lookup_x): Remove nested function check_match. Use non-nested
17907         function check_match.
17909 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17911         * csu/Makefile (generated, before-compile): Use += rather than =.
17912         * catgets/Makefile (generated, generated-dirs): Likewise.
17913         * debug/Makefile (generated): Likewise.
17914         * dlfcn/Makefile (generated): Likewise.
17915         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17916         * iconvdata/Makefile (before-compile, generated): Likewise.
17917         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17918         * libio/Makefile (generated): Likewise.
17919         * malloc/Makefile (generated): Likewise.
17920         * manual/Makefile (generated, generated-dirs): Likewise.
17921         * misc/Makefile (generated): Likewise.
17922         * posix/Makefile (generated): Likewise.
17923         * resolv/Makefile (generated): Likewise.
17924         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17925         * timezone/Makefile (generated, generated-dirs): Likewise.
17927         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17929 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17932         power8 implementation.
17933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17934         file: POWER8 llround ifunc implementation.
17935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17936         (__lllround): Add POWER8 implementation.
17937         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17938         POWER8 llround implementation.
17940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17941         power8 implementation.
17942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17943         file: POWER8 llrint ifunc implementation.
17944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17945         Add POWER8 implementation.
17946         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17947         POWER8 llrint implementation.
17949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17950         power8 implementation.
17951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17952         file: POWER8 finite ifunc implementation.
17953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17954         Add POWER8 implementation.
17955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17956         Likewise.
17957         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17958         POWER8 finite implementation.
17959         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17962         power8 implementation.
17963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17964         file: POWER8 isinf ifunc implementation.
17965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17966         POWER8 implementation.
17967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17968         Likewise.
17969         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17970         isinf implementation.
17971         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17973         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17974         (INIT_ARCH): Add hwcap2 initialization.
17975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17976         power8 implementation.
17977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17978         file: POWER8 isnan ifunc implementation.
17979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17980         POWER8 implementation.
17981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17982         Likewise.
17983         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17984         isnan implementation.
17985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17987 2014-02-27  Joey Ye  <joey.ye@arm.com>
17989         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17990         (_FP_NANFRAC_Q): Set to zero.
17992 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17994         [BZ #16623]
17995         * math/auto-libm-test-in: New test inputs.
17996         * math/auto-libm-test-out: Regenerate.
17997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17998         and DA.
17999         (__cos): Likewise.
18000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18002 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
18004         * scripts/evaluate-test.sh: Take new argument indicating whether
18005         failure is expected.
18006         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18007         indicating whether failure is expected.
18008         * conform/Makefile (test-xfail-run-conformtest): New variable.
18009         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18010         level.
18011         * posix/Makefile (test-xfail-annexc): New variable.
18012         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18014 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
18016         * argp/Makefile: Include Makeconfig immediately after defining
18017         subdir.
18018         * assert/Makefile: Likewise.
18019         * benchtests/Makefile: Likewise.
18020         * catgets/Makefile: Likewise.
18021         * conform/Makefile: Likewise.
18022         * crypt/Makefile: Likewise.
18023         * csu/Makefile: Likewise.
18024         (all): Remove target.
18025         * ctype/Makefile: Include Makeconfig immediately after defining
18026         subdir.
18027         * debug/Makefile: Likewise.
18028         * dirent/Makefile: Likewise.
18029         * dlfcn/Makefile: Likewise.
18030         * gmon/Makefile: Likewise.
18031         * gnulib/Makefile: Likewise.
18032         * grp/Makefile: Likewise.
18033         * gshadow/Makefile: Likewise.
18034         * hesiod/Makefile: Likewise.
18035         * hurd/Makefile: Likewise.
18036         (all): Remove target.
18037         * iconvdata/Makefile: Include Makeconfig immediately after
18038         defining subdir.
18039         * inet/Makefile: Likewise.
18040         * intl/Makefile: Likewise.
18041         * io/Makefile: Likewise.
18042         * libio/Makefile: Likewise.
18043         (all): Remove target.
18044         * locale/Makefile: Include Makeconfig immediately after defining
18045         subdir.
18046         * login/Makefile: Likewise.
18047         * mach/Makefile: Likewise.
18048         (all): Remove target.
18049         * malloc/Makefile: Include Makeconfig immediately after defining
18050         subdir.
18051         (all): Remove target.
18052         * manual/Makefile: Include Makeconfig immediately after defining
18053         subdir.
18054         * math/Makefile: Likewise.
18055         * misc/Makefile: Likewise.
18056         * nis/Makefile: Likewise.
18057         * nss/Makefile: Likewise.
18058         * po/Makefile: Likewise.
18059         (all): Remove target.
18060         * posix/Makefile: Include Makeconfig immediately after defining
18061         subdir.
18062         * pwd/Makefile: Likewise.
18063         * resolv/Makefile: Likewise.
18064         * resource/Makefile: Likewise.
18065         * rt/Makefile: Likewise.
18066         * setjmp/Makefile: Likewise.
18067         * shadow/Makefile: Likewise.
18068         * signal/Makefile: Likewise.
18069         * socket/Makefile: Likewise.
18070         * soft-fp/Makefile: Likewise.
18071         * stdio-common/Makefile: Likewise.
18072         * stdlib/Makefile: Likewise.
18073         * streams/Makefile: Likewise.
18074         * string/Makefile: Likewise.
18075         * sunrpc/Makefile: Likewise.
18076         (all): Remove target.
18077         * sysvipc/Makefile: Include Makeconfig immediately after defining
18078         subdir.
18079         * termios/Makefile: Likewise.
18080         * time/Makefile: Likewise.
18081         * timezone/Makefile: Likewise.
18082         (all): Remove target.
18083         * wcsmbs/Makefile: Include Makeconfig immediately after defining
18084         subdir.
18085         * wctype/Makefile: Likewise.
18087 2014-02-26  Steve Ellcey  <sellcey@mips.com>
18089         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18090         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18091         (libc_feholdexcept_setround_mips): Ditto.
18092         (libc_feholdsetround): New.
18093         (libc_feholdsetroundf): New.
18094         (libc_feholdsetroundl): New.
18095         (libc_feupdateenv_test_mips): New.
18096         (libc_feupdateenv_test): New.
18097         (libc_feupdateenv_testf): New.
18098         (libc_feupdateenv_testl): New.
18099         (libc_feresetround): New.
18100         (libc_feresetroundf): New.
18101         (libc_feresetroundl): New.
18102         (libc_fetestexcept_mips): New.
18103         (libc_fetestexcept): New.
18104         (libc_fetestexceptf): New.
18105         (libc_fetestexceptl): New.
18106         (HAVE_RM_CTX): New.
18107         (libc_feholdexcept_setround_mips_ctx): New.
18108         (libc_feholdexcept_setround_ctx): New.
18109         (libc_feholdexcept_setroundf_ctx): New.
18110         (libc_feholdexcept_setroundl_ctx): New.
18111         (libc_fesetenv_mips_ctx): New.
18112         (libc_fesetenv_ctx): New.
18113         (libc_fesetenv_ctxf): New.
18114         (libc_fesetenv_ctxl): New.
18115         (libc_feupdateenv_mips_ctx): New.
18116         (libc_feupdateenv_ctx): New.
18117         (libc_feupdateenvf_ctx): New.
18118         (libc_feupdateenvl_ctx): New.
18119         (libc_feholdsetround_mips_ctx): New.
18120         (libc_feholdsetround_ctx): New.
18121         (libc_feholdsetroundf_ctx): New.
18122         (libc_feholdsetroundl_ctx): New.
18123         (libc_feresetround_mips_ctx): New.
18124         (libc_feresetround_ctx): New.
18125         (libc_feresetroundf_ctx): New.
18126         (libc_feresetroundl_ctx): New.
18128 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
18130         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18132         * manual/ipc.texi: New file.
18133         * manual/Makefile (chapters): Add ipc.
18134         * manual/job.texi: Add "Inter-Process Communication" to next.
18135         * manual/process.texi: Add "Inter-Process Communication" to prev.
18137 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18141 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
18143         * malloc/malloc.c (__libc_calloc): Simplify implementation.
18145         * manual/arith.texi: Fix spaces after sentences.
18146         * manual/charset.texi: Likewise.
18147         * manual/errno.texi: Likewise.
18148         * manual/install.texi: Likewise.
18149         * manual/llio.texi: Likewise.
18150         * manual/locale.texi: Likewise.
18151         * manual/maint.texi: Likewise.
18152         * manual/math.texi: Likewise.
18153         * manual/memory.texi: Likewise.
18154         * manual/message.texi: Likewise.
18155         * manual/probes.texi: Likewise.
18156         * manual/resource.texi: Likewise.
18157         * manual/signal.texi: Likewise.
18158         * manual/socket.texi: Likewise.
18159         * manual/stdio.texi: Likewise.
18160         * manual/string.texi: Likewise.
18161         * manual/time.texi: Likewise.
18162         * manual/users.texi: Likewise.
18164 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
18166         [BZ #16632]
18167         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18168         _DEFAULT_SOURCE is defined.
18170 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
18171             Carlos O'Donell  <carlos@redhat.com>
18173         [BZ #16613]
18174         * elf/dl-tls.c (_dl_count_modids): New function.
18175         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18176         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18177         audit library and increment generation counter.
18178         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18179         * elf/tst-audit9.c: New file.
18180         * elf/tst-auditmod9a.c: New file.
18181         * elf/tst-auditmod9b.c: New file.
18182         * elf/Makefile: Add rules to build and run tst-audit9.
18184 2014-02-25  Florian Weimer  <fweimer@redhat.com>
18186         [BZ #15347]
18187         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18189 2014-02-25  Will Newton  <will.newton@linaro.org>
18191         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18192         (__longjmp): Restore sp and lr before restoring callee
18193         saved registers.  Add longjmp and longjmp_target
18194         SystemTap probe point.
18195         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18196         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18197         Define to zero to match jmpbuf layout.
18198         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18199         (__sigsetjmp): Save sp and lr before saving callee
18200         saved registers.  Add setjmp SystemTap probe point.
18202 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18206 2014-02-24  Andreas Schwab  <schwab@suse.de>
18208         [BZ #15804]
18209         * elf/pldd.c (wait_for_ptrace_stop): New function.
18210         (main): Call it after attaching.
18212 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18214         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18215         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18216         Versions files is now verboten.
18217         * hurd/Versions (libc: GLIBC_2.0):
18218         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18219         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18220         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18221         * mach/Versions: Likewise.
18223         * csu/Versions: Remove unused %include.
18224         * resolv/Versions: Likewise.
18226 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18228         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18229         ($(objpfx)check-local-headers.out): Likewise.
18230         ($(objpfx)begin-end-check.out): Likewise.
18231         * Makerules (check-abi-%.out): Likewise.
18232         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18233         ($(objpfx)test2.cat): Likewise.
18234         ($(objpfx)de/libc.cat): Likewise.
18235         ($(objpfx)test-gencat.out): Likewise.
18236         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18237         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18238         ($(objpfx)noload-mem): Likewise.
18239         ($(objpfx)tst-pathopt.out): Likewise.
18240         ($(objpfx)tst-rtld-load-self.out): Likewise.
18241         ($(objpfx)tst-array1-cmp.out): Likewise.
18242         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18243         ($(objpfx)tst-array2-cmp.out): Likewise.
18244         ($(objpfx)tst-array3-cmp.out): Likewise.
18245         ($(objpfx)tst-array4-cmp.out): Likewise.
18246         ($(objpfx)tst-array5-cmp.out): Likewise.
18247         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18248         ($(objpfx)check-textrel.out): Likewise.
18249         ($(objpfx)check-execstack.out): Likewise.
18250         ($(objpfx)check-localplt.out): Likewise.
18251         ($(objpfx)order2-cmp.out): Likewise.
18252         ($(objpfx)tst-leaks1-mem): Likewise.
18253         ($(objpfx)tst-leaks1-static-mem): Likewise.
18254         ($(objpfx)tst-initorder-cmp.out): Likewise.
18255         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18256         ($(objpfx)tst-unused-dep.out): Likewise.
18257         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18258         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18259         * iconv/Makefile (test-iconvconfig): Likewise.
18260         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18261         ($(objpfx)iconv-test.out): Likewise.
18262         ($(objpfx)tst-tables.out): Likewise.
18263         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18264         ($(objpfx)tst-gettext.out): Likewise.
18265         ($(objpfx)tst-translit.out): Likewise.
18266         ($(objpfx)tst-gettext2.out): Likewise.
18267         ($(objpfx)tst-gettext4.out): Likewise.
18268         ($(objpfx)tst-gettext6.out): Likewise.
18269         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18270         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18271         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18272         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18273         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18274         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18275         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18276         ($(objpfx)wordexp-tst.out): Likewise.
18277         ($(objpfx)annexc.out): Likewise.
18278         ($(objpfx)tst-fnmatch-mem): Likewise.
18279         ($(objpfx)bug-regex2-mem): Likewise.
18280         ($(objpfx)bug-regex14-mem): Likewise.
18281         ($(objpfx)bug-regex21-mem): Likewise.
18282         ($(objpfx)bug-regex31-mem): Likewise.
18283         ($(objpfx)tst-vfork3-mem): Likewise.
18284         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18285         ($(objpfx)tst-pcre-mem): Likewise.
18286         ($(objpfx)tst-boost-mem): Likewise.
18287         ($(objpfx)tst-getconf.out): Likewise.
18288         ($(objpfx)bug-ga2-mem): Likewise.
18289         ($(objpfx)bug-glob2-mem): Likewise.
18290         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18291         ($(objpfx)mtrace-tst-leaks2): Likewise.
18292         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18293         ($(objpfx)tst-printf.out): Likewise.
18294         ($(objpfx)tst-setvbuf1.out): Likewise.
18295         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18296         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18297         ($(objpfx)tst-fmtmsg.out): Likewise.
18298         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18299         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18301         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18302         * bits/sigaction.h [__USE_MISC]: Likewise.
18303         * bits/waitstatus.h: Update #endif comments.
18304         * ctype/ctype.h: Likewise.
18305         * dirent/dirent.h: Likewise.
18306         [__USE_MISC]: Remove redundant conditionals.
18307         * grp/grp.h: Update #endif comments.
18308         [__USE_GNU]: Remove redundant conditionals.
18309         [__USE_MISC]: Likewise.
18310         * inet/netinet/in.h [__USE_GNU]: Likewise.
18311         * io/sys/stat.h [__USE_MISC]: Likewise.
18312         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18313         * libio/bits/stdio.h: Update #endif comments.
18314         [__USE_MISC]: Remove redundant conditionals.
18315         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18316         * libio/stdio.h: Update #endif comments.
18317         [__USE_MISC]: Remove redundant conditionals.
18318         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18319         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18320         * math/math.h: Update #else and #endif comments.
18321         [__USE_MISC]: Remove redundant conditionals.
18322         * misc/sys/uio.h: Update #endif comments.
18323         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18324         * posix/glob.h [__USE_MISC]: Likewise.
18325         * posix/sys/types.h: Update #endif comments.
18326         [__USE_MISC]: Remove redundant conditionals.
18327         * posix/sys/wait.h: Update #endif comments.
18328         [__USE_MISC]: Remove redundant conditionals.
18329         * posix/unistd.h: Update #endif comments.
18330         [__USE_MISC]: Remove redundant conditionals.
18331         * pwd/pwd.h [__USE_GNU]: Likewise.
18332         [__USE_MISC]: Likewise.
18333         * resolv/netdb.h [__USE_GNU]: Likewise.
18334         * signal/signal.h: Update #endif comments.
18335         [__USE_MISC]: Remove redundant conditionals.
18336         * stdlib/stdlib.h: Update #else and #endif comments.
18337         [__USE_MISC]: Remove redundant conditionals.
18338         [__USE_GNU]: Likewise.
18339         * string/bits/string2.h [__USE_MISC]: Likewise.
18340         * string/string.h: Update #endif comments.
18341         [__USE_MISC]: Remove redundant conditionals.
18342         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18343         Likewise.
18344         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18345         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18346         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18347         Likewise.
18348         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18349         Likewise.
18350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18351         comments.
18352         [__USE_MISC]: Remove redundant conditionals.
18353         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18354         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18355         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18356         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18357         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18358         Likewise.
18359         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18360         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18361         Likewise.
18362         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18363         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18364         Likewise.
18365         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18366         Likewise.
18367         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18368         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18369         Likewise.
18370         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18371         Likewise.
18372         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18373         * sysdeps/x86/bits/string.h: Update #endif comments.
18374         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18375         conditionals.
18376         * time/sys/time.h: Update #endif comments.
18377         * time/time.h: Likewise.
18378         [__USE_MISC]: Remove redundant conditionals.
18380 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18382         [BZ #16600]
18383         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18385 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18387         * Versions.def (librt): Add GLIBC_2.17.
18389 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18391         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18392         synonym for _SYS_AUXV_H to allow direct inclusion.
18393         * sysdeps/sparc/bits/hwcap.h: Likewise.
18394         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18395         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18396         * sysdeps/sparc/sysdep.h: Likewise.
18398 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18400         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18402 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18404         * benchtests/bench-strrchr.c: Print length instead of position.
18406 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #16611]
18409         * sysdeps/unix/sysv/linux/kernel-features.h
18410         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18411         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18412         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18413         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18414         Likewise.
18415         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18416         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18417         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18418         (__ASSUME_SENDMMSG): Define instead of using previous
18419         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18421         (__ASSUME_SENDMMSG_SYSCALL): Define.
18422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18423         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18424         Likewise.
18425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18426         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18427         Likewise.
18428         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18429         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18430         Likewise.
18431         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18432         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18433         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18434         [__ASSUME_SENDMMSG]: Change conditionals to
18435         [__ASSUME_SENDMMSG_SOCKETCALL].
18436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18437         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18438         Define.
18439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18440         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18441         Likewise.
18442         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18443         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18444         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18445         [!__ASSUME_SENDMMSG]: Change conditional to
18446         [!__ASSUME_SENDMMSG_SOCKETCALL].
18447         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18449         Define.
18451         [BZ #16610]
18452         * sysdeps/unix/sysv/linux/kernel-features.h
18453         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18454         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18455         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18456         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18457         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18458         [__i386__ || __sparc__]
18459         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18460         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18461         (__ASSUME_RECVMMSG): Define instead of using previous
18462         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18463         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18464         (__ASSUME_RECVMMSG_SYSCALL): Define.
18465         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18467         Likewise.
18468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18470         Likewise.
18471         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18472         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18473         Likewise.
18474         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18475         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18476         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18477         [__ASSUME_RECVMMSG]: Change condition to
18478         [__ASSUME_RECVMMSG_SOCKETCALL].
18479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18480         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18481         Define.
18482         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18484         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18485         Likewise.
18486         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18487         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18488         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18489         [!__ASSUME_RECVMMSG]: Change condition to
18490         [!__ASSUME_RECVMMSG_SOCKETCALL].
18491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18492         (__ASSUME_RECVMMSG_SYSCALL): Define.
18494         [BZ #16609]
18495         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18496         __powerpc__ || __s390__ || __sh__ || __sparc__]
18497         (__ASSUME_SOCKETCALL): Define.
18498         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18499         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18500         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18501         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18502         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18503         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18504         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18505         (__ASSUME_ACCEPT4): Define instead of using previous
18506         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18507         __powerpc__ || __sparc__ || __s390__)] condition.
18508         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18509         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18510         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18511         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18512         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18513         [!__ASSUME_ACCEPT4]: Change condition to
18514         [!__ASSUME_ACCEPT4_SOCKETCALL].
18515         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18517         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18518         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18519         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18520         __ASSUME_ACCEPT4_SYSCALL.
18521         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18522         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18523         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18524         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18525         __ASSUME_ACCEPT4_SYSCALL.
18526         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18527         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18528         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18529         [__ASSUME_ACCEPT4]: Change condition to
18530         [__ASSUME_ACCEPT4_SOCKETCALL].
18531         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18532         (__ASSUME_SOCKETCALL): Define.
18533         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18534         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18535         (__ASSUME_SOCKETCALL): Define.
18536         (__ASSUME_ACCEPT4): Remove.
18537         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18538         Define.
18539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18540         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18541         Likewise.
18542         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18543         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18545         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18546         macro.
18547         (HWCAP_ARM_LPAE): Likewise.
18548         (HWCAP_ARM_EVTSTRM): Likewise.
18549         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18550         Add vpfd32, lpae and evtstrm.
18551         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18552         Increase to 22.
18554 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18556         * math/auto-libm-test-in: Add tests of clog10.
18557         * math/auto-libm-test-out: Regenerated.
18558         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18559         * sysdeps/i386/fpu/libm-test-ulps: Update.
18560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18562 2014-02-18  Andreas Schwab  <schwab@suse.de>
18564         [BZ #16574]
18565         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18566         Store non-zero if the second buffer was newly allocated.
18567         (send_dg): Likewise.
18568         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18569         to send_vc and send_dg.
18570         (res_nsend): Pass NULL for ansp2_malloced.
18571         * resolv/res_query.c (__libc_res_nquery): Add parameter
18572         answerp2_malloced and pass it down to __libc_res_nsend.
18573         (res_nquery): Pass additional NULL to __libc_res_nquery.
18574         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18575         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18576         second answer buffer if answerp2_malloced was set.
18577         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18578         (__libc_res_nquerydomain): Add parameter
18579         answerp2_malloced and pass it down to __libc_res_nquery.
18580         (res_nquerydomain): Pass additional NULL to
18581         __libc_res_nquerydomain.
18582         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18583         additional NULL to __libc_res_nsend and __libc_res_nquery.
18584         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18585         additional NULL to __libc_res_nsearch.
18586         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18587         parameter of __libc_res_nsearch to check for separately allocated
18588         second buffer.
18589         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18590         __libc_res_nquery.
18591         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18592         additional NULL to __libc_res_nquery.
18593         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18594         __libc_res_nsearch.
18595         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18596         * include/resolv.h: Update prototypes of __libc_res_nquery,
18597         __libc_res_nsearch, __libc_res_nsend.
18599 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18601         * math/auto-libm-test-in: Add tests of fma.
18602         * math/auto-libm-test-out: Regenerated.
18603         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18604         (fma_towardzero_test_data): Likewise.
18605         (fma_downward_test_data): Likewise.
18606         (fma_upward_test_data): Likewise.
18607         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18608         mpc_mode.
18609         (rounding_modes): Add values for new field.
18610         (func_calc_method): Add value mpfr_fff_f.
18611         (func_calc_desc): Add mpfr_fff_f union field.
18612         (test_function): Add field exact_args.
18613         (FUNC): Add macro argument EXACT_ARGS.
18614         (FUNC_mpfr_f_f): Update call to FUNC.
18615         (FUNC_mpfr_f_f): Likewise.
18616         (FUNC_mpfr_ff_f): Likewise.
18617         (FUNC_mpfr_if_f): Likewise.
18618         (FUNC_mpc_c_f): Likewise.
18619         (FUNC_mpc_c_c): Likewise.
18620         (test_functions): Add fma.  Update calls to FUNC.
18621         (handle_input_arg): Add argument exact_args.
18622         (add_test): Update call to handle_input_arg.
18623         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18624         (output_for_one_input_case): Update call to calc_generic_results.
18625         Recalculate exact zero results in each rounding mode.
18627         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18628         non-negative before setting low bit.
18629         * math/auto-libm-test-in: Mark one asin test possibly having
18630         spurious underflow.
18631         * math/auto-libm-test-out: Regenerated.
18632         * sysdeps/i386/fpu/libm-test-ulps: Update.
18633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18635 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18637         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18638         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18639         ports/sysdeps/unix/sysv/linux/microblaze.
18640         * README: Add missing listing for microblaze*-*-linux-gnu.
18642 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18645         duplicate code
18647 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18649         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18650         * sysdeps/unix/sysv/linux/ia64: Move directory from
18651         ports/sysdeps/unix/sysv/linux/ia64.
18652         * README: Update listing for ia64-*-linux-gnu.
18654 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18655             Joseph Myers  <joseph@codesourcery.com>
18657         * Makeconfig (test-name): New variable.
18658         (evaluate-test): Likewise.
18659         * Makerules (do-test-clean): Remove .test-result files.
18660         (common-mostlyclean): Likewise.
18661         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18662         * scripts/evaluate-test.sh: New file.
18664 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18666         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18667         separate $(objpfx)tst-fopenloc-cmp.out and
18668         $(objpfx)tst-fopenloc-mem.out targets.
18669         (tests): Update dependencies.
18670         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18671         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18672         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18673         (tst-rxspencer-no-utf8-ARGS): New variable.
18674         (tst-rxspencer-no-utf8-ENV): Likewise.
18675         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18676         instead of $(objpfx)tst-rxspencer-mem.
18677         ($(objpfx)tst-rxspencer-mem): Change target to
18678         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18679         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18680         * posix/tst-rxspencer-no-utf8.c: New file.
18682         * elf/Makefile ($(objpfx)order.out): Remove rule.
18683         [$(run-built-tests) = yes] (tests): Depend on
18684         $(objpfx)order-cmp.out.
18685         ($(objpfx)order-cmp.out): New rule.
18686         [$(run-built-tests) = yes] (tests): Depend on
18687         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18688         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18689         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18690         $(objpfx)tst-array5-static-cmp.out.
18691         ($(objpfx)tst-array1.out): Remove rule.
18692         ($(objpfx)tst-array1-cmp.out): New rule.
18693         ($(objpfx)tst-array1-static.out): Remove rule.
18694         ($(objpfx)tst-array1-static-cmp.out): New rule.
18695         ($(objpfx)tst-array2.out): Remove rule.
18696         ($(objpfx)tst-array2-cmp.out): New rule.
18697         ($(objpfx)tst-array3.out): Remove rule.
18698         ($(objpfx)tst-array3-cmp.out): New rule.
18699         ($(objpfx)tst-array4.out): Remove rule.
18700         ($(objpfx)tst-array4-cmp.out): New rule.
18701         ($(objpfx)tst-array5.out): Remove rule.
18702         ($(objpfx)tst-array5-cmp.out): New rule.
18703         ($(objpfx)tst-array5-static.out): Remove rule.
18704         ($(objpfx)tst-array5-static-cmp.out): New rule.
18705         [$(run-built-tests) = yes] (tests): Depend on
18706         $(objpfx)order2-cmp.out.
18707         ($(objpfx)order2.out): Remove rule.
18708         ($(objpfx)order2-cmp.out): New rule.
18709         ($(objpfx)tst-initorder.out): Remove rule.
18710         [$(run-built-tests) = yes] (tests): Depend on
18711         $(objpfx)tst-initorder-cmp.out.
18712         ($(objpfx)tst-initorder-cmp.out): New rule.
18713         ($(objpfx)tst-initorder2.out): Remove rule.
18714         [$(run-built-tests) = yes] (tests): Depend on
18715         $(objpfx)tst-initorder2-cmp.out.
18716         ($(objpfx)tst-initorder2-cmp.out): New rule.
18717         [$(run-built-tests) = yes] (tests): Depend on
18718         $(objpfx)tst-unused-dep-cmp.out.
18719         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18720         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18721         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18722         on $(objpfx)tst-setvbuf1-cmp.out.
18723         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18724         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18725         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18726         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18727         ($(objpfx)tst-svc.out): Remove rule.
18728         ($(objpfx)tst-svc-cmp.out): New rule.
18730 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18732         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18733         * ctype/ctype.h [__USE_MISC]: Likewise.
18734         * dirent/dirent.h [__USE_MISC]: Likewise.
18735         * grp/grp.h [__USE_MISC]: Likewise.
18736         * io/fcntl.h [__USE_MISC]: Likewise.
18737         * io/sys/stat.h [__USE_MISC]: Likewise.
18738         * libio/stdio.h [__USE_MISC]: Likewise.
18739         * posix/unistd.h [__USE_MISC]: Likewise.
18740         * pwd/pwd.h [__USE_MISC]: Likewise.
18741         * stdlib.h [__USE_MISC]: Likewise.
18742         * string/bits/string2.h [__USE_MISC]: Likewise.
18743         * string/string.h [__USE_MISC]: Likewise.
18744         * time/time.h [__USE_MISC]: Likewise.
18746 2014-02-13  Andreas Schwab  <schwab@suse.de>
18748         [BZ #16574]
18749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18750         second answer buffer if it was separately allocated.
18752 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18754         * sysdeps/mips/math-tests.h: Include <features.h>.
18755         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18756         (ROUNDING_TESTS_long_double): Do not define.
18757         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18758         (EXCEPTION_TESTS_long_double): Likewise.
18759         * sysdeps/mips/mips64/libm-test-ulps: Update.
18761         * include/features.h (__USE_BSD): Remove macro definitions.
18762         (__USE_SVID): Likewise.
18763         (_BSD_SOURCE): Likewise.
18764         (_SVID_SOURCE): Likewise.
18765         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18766         from definition of _DEFAULT_SOURCE.
18767         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18768         [_DEFAULT_SOURCE].
18769         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18770         * bits/mman.h [__USE_BSD]: Likewise.
18771         * bits/termios.h [__USE_BSD]: Likewise.
18772         * bits/waitstatus.h [__USE_BSD]: Likewise.
18773         * ctype/ctype.h [__USE_SVID]: Likewise.
18774         * dirent/dirent.h [__USE_BSD]: Likewise.
18775         * grp/grp.h [__USE_SVID]: Likewise.
18776         [__USE_BSD]: Likewise.
18777         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18778         * io/fcntl.h [__USE_BSD]: Likewise.
18779         * io/ftw.h [__USE_BSD]: Likewise.
18780         * io/sys/stat.h [__USE_BSD]: Likewise.
18781         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18782         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18783         * libio/stdio.h [__USE_SVID]: Likewise.
18784         [__USE_BSD]: Likewise.
18785         * math/math.h [__USE_SVID]: Likewise.
18786         [__USE_BSD]: Likewise.
18787         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18788         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18789         * misc/search.h [__USE_SVID]: Likewise.
18790         * misc/sys/mman.h [__USE_BSD]: Likewise.
18791         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18792         * misc/sys/uio.h [__USE_BSD]: Likewise.
18793         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18794         * posix/glob.h [__USE_BSD]: Likewise.
18795         * posix/regex.h [__USE_BSD]: Likewise.
18796         * posix/sys/types.h [__USE_BSD]: Likewise.
18797         [__USE_SVID]: Likewise.
18798         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18799         * posix/sys/wait.h [__USE_BSD]: Likewise.
18800         [__USE_SVID]: Likewise.
18801         * posix/unistd.h [__USE_BSD]: Likewise.
18802         [__USE_SVID]: Likewise.
18803         * pwd/pwd.h [__USE_SVID]: Likewise.
18804         * resolv/netdb.h [__USE_BSD]: Likewise.
18805         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18806         * signal/signal.h [__USE_BSD]: Likewise.
18807         [__USE_SVID]: Likewise.
18808         * socket/sys/socket.h [__USE_BSD]: Likewise.
18809         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18810         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18811         [__USE_SVID]: Likewise.
18812         * string/bits/string2.h [__USE_BSD]: Likewise.
18813         [__USE_SVID]: Likewise.
18814         * string/bits/string3.h [__USE_BSD]: Likewise.
18815         * string/endian.h [__USE_BSD]: Likewise.
18816         * string/string.h [__USE_SVID]: Likewise.
18817         [__USE_BSD]: Likewise.
18818         * string/strings.h [__USE_BSD]: Likewise.
18819         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18820         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18821         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18822         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18823         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18824         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18825         Likewise.
18826         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18827         Likewise.
18828         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18829         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18830         Likewise.
18831         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18832         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18833         Likewise.
18834         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18835         Likewise.
18836         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18837         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18838         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18839         Likewise.
18840         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18841         Likewise.
18842         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18843         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18844         * termios/termios.h [__USE_BSD]: Likewise.
18845         * time/sys/time.h [__USE_BSD]: Likewise.
18846         * time/time.h [__USE_BSD]: Likewise.
18847         [__USE_SVID]: Likewise.
18849         * Makefile (subdir_targets): Remove subdir_lint.out.
18851         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18852         (do-tst-printf): Likewise.
18853         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18854         $(objpfx)tst-printf.out.
18856         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18858         * Makerules (check-abi-%): Change target to
18859         $(objpfx)check-abi-%.out.
18860         (check-abi target): Update dependencies.
18861         (check-abi-pattern variable): Redirect output of diff to $@.
18862         (check-abi variable): Likewise.
18863         * elf/Makefile (check-abi): Update dependencies.
18865         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18866         unused.
18867         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18868         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18869         subnormal range.
18870         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18871         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18872         value has largest subnormal exponent.
18873         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18874         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18875         * sysdeps/aarch64/soft-fp/sfp-machine.h
18876         (_FP_TININESS_AFTER_ROUNDING): New macro.
18877         * sysdeps/alpha/soft-fp/sfp-machine.h
18878         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18879         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18880         Likewise.
18881         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18882         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18883         * sysdeps/mips/soft-fp/sfp-machine.h
18884         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18885         * sysdeps/powerpc/soft-fp/sfp-machine.h
18886         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18887         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18888         Likewise.
18889         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18890         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18891         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18892         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18893         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18894         Likewise.
18896 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18898         [BZ #16545]
18899         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18900         model 1.
18902 2014-02-12  Richard Henderson  <rth@redhat.com>
18904         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18905         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18906         * sysdeps/unix/sysv/linux/alpha: Move directory from
18907         ports/sysdeps/unix/sysv/linux/alpha.
18908         * README: Update listing for alpha-*-linux-gnu.
18910 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18912         * include/features.h: Update comment documenting feature test
18913         macros.
18914         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18915         _DEFAULT_SOURCE.
18916         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18917         (_SVID_SOURCE): Likewise.
18918         (_DEFAULT_SOURCE): Update description of default features.
18919         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18920         with _GNU_SOURCE.
18921         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18922         (S_ISVTX): Likewise.
18923         * manual/math.texi (Mathematical Constants): Likewise.
18924         * manual/signal.texi (Interrupted Primitives): Likewise.
18925         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18926         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18927         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18928         Don't refer to _SVID_SOURCE in warning text.
18930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18932         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18933         already defined.
18934         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18935         * sysdeps/mips/dl-lookup.c: Remove.
18936         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18938 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18940         [BZ #16447]
18941         * math/auto-libm-test-in: Add testcase for expl.
18942         * math/auto-libm-test-out: Regenerate.
18943         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18944         calculation of unsafe.
18945         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18947 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18949         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18950         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18951         ports/sysdeps/unix/sysv/linux/aarch64.
18952         * README: Update listing for aarch64*-*-linux-gnu.
18954 2014-02-11  Will Newton  <will.newton@linaro.org>
18956         * manual/probes.texi (Mathematical Function Probes): Use
18957         "triggered" instead of "hit".
18959         * manual/probes.texi (Internal Probes): Add documentation
18960         of setjmp, longjmp and longjmp_target probes.
18962         * include/stap-probe.h: Add comment about probe argument
18963         format.
18965         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18966         definition.  (tr_where, tr_freehook, tr_mallochook,
18967         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18969 2014-02-11  David S. Miller  <davem@davemloft.net>
18971         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18972         processing int_tests.
18974 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18976         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18977         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18978         * sysdeps/unix/sysv/linux/mips: Move directory from
18979         ports/sysdeps/unix/sysv/linux/mips.
18980         * README: Update listing for mips-*-linux-gnu and
18981         mips64-*-linux-gnu.
18983 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18985         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18986         * sysdeps/unix/sysv/linux/m68k: Move directory from
18987         ports/sysdeps/unix/sysv/linux/m68k.
18988         * README: Update listing for m68k-*-linux-gnu.
18990 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18992         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18993         * sysdeps/unix/sysv/linux/generic: Move directory from
18994         ports/sysdeps/unix/sysv/linux/generic.
18995         * sysdeps/unix/sysv/linux/tile: Move directory from
18996         ports/sysdeps/unix/sysv/linux/tile.
18997         * README: Update listing for tile*-*-linux-gnu.
18999 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
19001         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19002         __builtin_expect.
19003         * benchtests/bench-memmem.c (simple_memmem): Likewise.
19004         * catgets/open_catalog.c (__open_catalog): Likewise.
19005         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19006         * debug/confstr_chk.c: Likewise.
19007         * debug/fread_chk.c (__fread_chk): Likewise.
19008         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19009         * debug/getgroups_chk.c: Likewise.
19010         * debug/mbsnrtowcs_chk.c: Likewise.
19011         * debug/mbsrtowcs_chk.c: Likewise.
19012         * debug/mbstowcs_chk.c: Likewise.
19013         * debug/memcpy_chk.c: Likewise.
19014         * debug/memmove_chk.c: Likewise.
19015         * debug/mempcpy_chk.c: Likewise.
19016         * debug/memset_chk.c: Likewise.
19017         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19018         * debug/strcat_chk.c (__strcat_chk): Likewise.
19019         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19020         * debug/strncat_chk.c (__strncat_chk): Likewise.
19021         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19022         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19023         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19024         * debug/wcpncpy_chk.c: Likewise.
19025         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19026         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19027         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19028         * debug/wcsncpy_chk.c: Likewise.
19029         * debug/wcsnrtombs_chk.c: Likewise.
19030         * debug/wcsrtombs_chk.c: Likewise.
19031         * debug/wcstombs_chk.c: Likewise.
19032         * debug/wmemcpy_chk.c: Likewise.
19033         * debug/wmemmove_chk.c: Likewise.
19034         * debug/wmempcpy_chk.c: Likewise.
19035         * debug/wmemset_chk.c: Likewise.
19036         * dirent/scandirat.c (SCANDIRAT): Likewise.
19037         * dlfcn/dladdr1.c (dladdr1): Likewise.
19038         * dlfcn/dladdr.c (dladdr): Likewise.
19039         * dlfcn/dlclose.c (dlclose_doit): Likewise.
19040         * dlfcn/dlerror.c (__dlerror): Likewise.
19041         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19042         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19043         * dlfcn/dlopen.c (dlopen_doit): Likewise.
19044         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19045         * dlfcn/dlsym.c (dlsym_doit): Likewise.
19046         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19047         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19048         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19049         Likewise.
19050         * elf/dl-conflict.c: Likewise.
19051         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19052         * elf/dl-dst.h: Likewise.
19053         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19054         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19055         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19056         * elf/dl-init.c (call_init, _dl_init): Likewise.
19057         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19058         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19059         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19060         Likewise.
19061         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19062         Likewise.
19063         * elf/dl-minimal.c (__libc_memalign): Likewise.
19064         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19065         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19066         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19067         * elf/dl-sym.c (do_sym): Likewise.
19068         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19069         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19070         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19071         * elf/dl-writev.h (_dl_writev): Likewise.
19072         * elf/ldconfig.c (search_dir): Likewise.
19073         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19074         (dl_main): Likewise.
19075         * elf/setup-vdso.h (setup_vdso): Likewise.
19076         * grp/compat-initgroups.c (compat_call): Likewise.
19077         * grp/fgetgrent.c (fgetgrent): Likewise.
19078         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19079         * grp/putgrent.c (putgrent): Likewise.
19080         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19081         Likewise.
19082         * hurd/hurdinit.c: Likewise.
19083         * iconvdata/8bit-gap.c (struct): Likewise.
19084         * iconvdata/ansi_x3.110.c : Likewise.
19085         * iconvdata/big5.c : Likewise.
19086         * iconvdata/big5hkscs.c : Likewise.
19087         * iconvdata/cp1255.c: Likewise.
19088         * iconvdata/cp1258.c : Likewise.
19089         * iconvdata/cp932.c : Likewise.
19090         * iconvdata/euc-cn.c: Likewise.
19091         * iconvdata/euc-jisx0213.c : Likewise.
19092         * iconvdata/euc-jp.c: Likewise.
19093         * iconvdata/euc-jp-ms.c : Likewise.
19094         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19095         * iconvdata/gb18030.c : Likewise.
19096         * iconvdata/gbbig5.c (const): Likewise.
19097         * iconvdata/gbgbk.c: Likewise.
19098         * iconvdata/gbk.c : Likewise.
19099         * iconvdata/ibm1364.c : Likewise.
19100         * iconvdata/ibm930.c : Likewise.
19101         * iconvdata/ibm932.c: Likewise.
19102         * iconvdata/ibm933.c : Likewise.
19103         * iconvdata/ibm935.c : Likewise.
19104         * iconvdata/ibm937.c : Likewise.
19105         * iconvdata/ibm939.c : Likewise.
19106         * iconvdata/ibm943.c: Likewise.
19107         * iconvdata/iso_11548-1.c: Likewise.
19108         * iconvdata/iso-2022-cn.c : Likewise.
19109         * iconvdata/iso-2022-cn-ext.c : Likewise.
19110         * iconvdata/iso-2022-jp-3.c: Likewise.
19111         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19112         * iconvdata/iso-2022-kr.c : Likewise.
19113         * iconvdata/iso646.c (gconv_end): Likewise.
19114         * iconvdata/iso_6937-2.c : Likewise.
19115         * iconvdata/iso_6937.c : Likewise.
19116         * iconvdata/iso8859-1.c: Likewise.
19117         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19118         * iconvdata/shift_jisx0213.c : Likewise.
19119         * iconvdata/sjis.c : Likewise.
19120         * iconvdata/t.61.c : Likewise.
19121         * iconvdata/tcvn5712-1.c : Likewise.
19122         * iconvdata/tscii.c: Likewise.
19123         * iconvdata/uhc.c : Likewise.
19124         * iconvdata/unicode.c (gconv_end): Likewise.
19125         * iconvdata/utf-16.c (gconv_end): Likewise.
19126         * iconvdata/utf-32.c (gconv_end): Likewise.
19127         * iconvdata/utf-7.c (base64): Likewise.
19128         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19129         * iconv/gconv_close.c (__gconv_close): Likewise.
19130         * iconv/gconv_open.c (__gconv_open): Likewise.
19131         * iconv/gconv_simple.c (internal_ucs4_loop_single)
19132         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19133         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19134         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19135         (ucs4le_internal_loop_single): Likewise.
19136         * iconv/iconv.c (iconv): Likewise.
19137         * iconv/iconv_close.c: Likewise.
19138         * iconv/loop.c (SINGLE): Likewise.
19139         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19140         * include/atomic.h: Likewise.
19141         * inet/inet6_option.c (option_alloc): Likewise.
19142         * intl/bindtextdom.c (set_binding_values): Likewise.
19143         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19144         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19145         * intl/localealias.c (read_alias_file): Likewise.
19146         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19147         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19148         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19149         * libio/fmemopen.c (fmemopen): Likewise.
19150         * libio/iofgets.c (_IO_fgets): Likewise.
19151         * libio/iofgets_u.c (fgets_unlocked): Likewise.
19152         * libio/iofgetws.c (fgetws): Likewise.
19153         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19154         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19155         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19156         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19157         * locale/findlocale.c (_nl_find_locale): Likewise.
19158         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19159         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19160         Likewise.
19161         * locale/setlocale.c (setlocale): Likewise.
19162         * login/programs/pt_chown.c (main): Likewise.
19163         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19164         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19165         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19166         (mmap, mmap64, mremap, munmap): Likewise.
19167         * math/e_exp2l.c: Likewise.
19168         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19169         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19170         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19171         * math/s_catan.c (__catan): Likewise.
19172         * math/s_catanf.c (__catanf): Likewise.
19173         * math/s_catanh.c (__catanh): Likewise.
19174         * math/s_catanhf.c (__catanhf): Likewise.
19175         * math/s_catanhl.c (__catanhl): Likewise.
19176         * math/s_catanl.c (__catanl): Likewise.
19177         * math/s_ccosh.c (__ccosh): Likewise.
19178         * math/s_ccoshf.c (__ccoshf): Likewise.
19179         * math/s_ccoshl.c (__ccoshl): Likewise.
19180         * math/s_cexp.c (__cexp): Likewise.
19181         * math/s_cexpf.c (__cexpf): Likewise.
19182         * math/s_cexpl.c (__cexpl): Likewise.
19183         * math/s_clog10.c (__clog10): Likewise.
19184         * math/s_clog10f.c (__clog10f): Likewise.
19185         * math/s_clog10l.c (__clog10l): Likewise.
19186         * math/s_clog.c (__clog): Likewise.
19187         * math/s_clogf.c (__clogf): Likewise.
19188         * math/s_clogl.c (__clogl): Likewise.
19189         * math/s_csin.c (__csin): Likewise.
19190         * math/s_csinf.c (__csinf): Likewise.
19191         * math/s_csinh.c (__csinh): Likewise.
19192         * math/s_csinhf.c (__csinhf): Likewise.
19193         * math/s_csinhl.c (__csinhl): Likewise.
19194         * math/s_csinl.c (__csinl): Likewise.
19195         * math/s_csqrt.c (__csqrt): Likewise.
19196         * math/s_csqrtf.c (__csqrtf): Likewise.
19197         * math/s_csqrtl.c (__csqrtl): Likewise.
19198         * math/s_ctan.c (__ctan): Likewise.
19199         * math/s_ctanf.c (__ctanf): Likewise.
19200         * math/s_ctanh.c (__ctanh): Likewise.
19201         * math/s_ctanhf.c (__ctanhf): Likewise.
19202         * math/s_ctanhl.c (__ctanhl): Likewise.
19203         * math/s_ctanl.c (__ctanl): Likewise.
19204         * math/w_pow.c: Likewise.
19205         * math/w_powf.c: Likewise.
19206         * math/w_powl.c: Likewise.
19207         * math/w_scalb.c (sysv_scalb): Likewise.
19208         * math/w_scalbf.c (sysv_scalbf): Likewise.
19209         * math/w_scalbl.c (sysv_scalbl): Likewise.
19210         * misc/error.c (error_tail): Likewise.
19211         * misc/pselect.c (__pselect): Likewise.
19212         * nis/nis_callback.c (__nis_create_callback): Likewise.
19213         * nis/nis_call.c (__nisfind_server): Likewise.
19214         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19215         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19216         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19217         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19218         * nis/nis_lookup.c (nis_lookup): Likewise.
19219         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19220         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19221         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19222         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19223         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19224         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19225         * nis/nss_compat/compat-initgroups.c (add_group)
19226         (internal_getgrent_r): Likewise.
19227         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19228         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19229         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19230         (internal_getspnam_r): Likewise.
19231         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19232         (_nss_nis_getaliasbyname_r): Likewise.
19233         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19234         (_nss_nis_getntohost_r): Likewise.
19235         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19236         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19237         (_nss_nis_getgrgid_r): Likewise.
19238         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19239         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19240         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19241         (_nss_nis_gethostbyname4_r): Likewise.
19242         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19243         (initgroups_netid): Likewise.
19244         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19245         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19246         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19247         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19248         (_nss_nis_getprotobynumber_r): Likewise.
19249         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19250         (_nss_nis_getsecretkey): Likewise.
19251         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19252         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19253         (_nss_nis_getpwuid_r): Likewise.
19254         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19255         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19256         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19257         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19258         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19259         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19260         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19261         Likewise.
19262         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19263         (_nss_nisplus_getntohost_r): Likewise.
19264         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19265         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19266         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19267         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19268         Likewise.
19269         * nis/nss_nisplus/nisplus-initgroups.c
19270         (_nss_nisplus_initgroups_dyn): Likewise.
19271         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19272         (_nss_nisplus_getnetbyaddr_r): Likewise.
19273         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19274         (_nss_nisplus_getprotobynumber_r): Likewise.
19275         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19276         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19277         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19278         Likewise.
19279         * nis/nss_nisplus/nisplus-service.c
19280         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19281         (_nss_nisplus_getservbyport_r): Likewise.
19282         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19283         (_nss_nisplus_getspnam_r): Likewise.
19284         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19285         Likewise.
19286         * nscd/aicache.c (addhstaiX): Likewise.
19287         * nscd/cache.c (cache_search, prune_cache): Likewise.
19288         * nscd/connections.c (register_traced_file, send_ro_fd)
19289         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19290         (main_loop_epoll): Likewise.
19291         * nscd/grpcache.c (addgrbyX): Likewise.
19292         * nscd/hstcache.c (addhstbyX): Likewise.
19293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19294         * nscd/mem.c (gc, mempool_alloc): Likewise.
19295         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19296         (addinnetgrX): Likewise.
19297         * nscd/nscd-client.h (__nscd_acquire_maplock)
19298         (__nscd_drop_map_ref): Likewise.
19299         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19300         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19301         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19302         Likewise.
19303         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19304         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19305         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19306         (__nscd_get_map_ref): Likewise.
19307         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19308         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19309         Likewise.
19310         * nscd/pwdcache.c (addpwbyX): Likewise.
19311         * nscd/selinux.c (preserve_capabilities): Likewise.
19312         * nscd/servicescache.c (addservbyX): Likewise.
19313         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19314         * posix/fnmatch.c (fnmatch): Likewise.
19315         * posix/getopt.c (_getopt_internal_r): Likewise.
19316         * posix/glob.c (glob, glob_in_dir): Likewise.
19317         * posix/wordexp.c (exec_comm_child): Likewise.
19318         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19319         (getanswer_r, gaih_getanswer_slice): Likewise.
19320         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19321         * resolv/res_init.c: Likewise.
19322         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19323         * resolv/res_query.c (__libc_res_nquery): Likewise.
19324         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19325         Likewise.
19326         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19327         * stdio-common/perror.c (perror): Likewise.
19328         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19329         * stdio-common/tmpnam.c (tmpnam): Likewise.
19330         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19331         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19332         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19333         Likewise.
19334         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19335         * stdlib/putenv.c (putenv): Likewise.
19336         * stdlib/setenv.c (__add_to_environ): Likewise.
19337         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19338         * stdlib/strtol_l.c (INTERNAL): Likewise.
19339         * string/memmem.c (memmem): Likewise.
19340         * string/strerror.c (strerror): Likewise.
19341         * string/strnlen.c (__strnlen): Likewise.
19342         * string/test-memmem.c (simple_memmem): Likewise.
19343         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19344         * sunrpc/pm_getport.c (__get_socket): Likewise.
19345         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19346         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19347         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19348         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19349         Likewise.
19350         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19351         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19352         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19353         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19354         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19355         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19356         Likewise.
19357         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19358         Likewise.
19359         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19360         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19361         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19362         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19363         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19365         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19366         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19367         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19368         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19369         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19370         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19371         Likewise.
19372         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19373         Likewise.
19374         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19375         Likewise.
19376         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19377         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19379         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19380         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19381         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19382         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19383         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19385         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19386         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19388         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19389         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19391         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19392         Likewise.
19393         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19394         Likewise.
19395         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19396         Likewise.
19397         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19398         Likewise.
19399         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19401         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19402         Likewise.
19403         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19404         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19405         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19406         * sysdeps/posix/sleep.c: Likewise.
19407         * sysdeps/posix/tempname.c: Likewise.
19408         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19409         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19410         Likewise.
19411         * sysdeps/powerpc/powerpc32/dl-machine.h
19412         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19413         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19415         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19416         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19417         Likewise.
19418         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19419         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19420         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19421         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19422         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19423         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19424         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19425         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19426         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19427         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19429         (elf_machine_lazy_rel): Likewise.
19430         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19432         (elf_machine_lazy_rel): Likewise.
19433         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19434         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19435         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19436         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19437         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19438         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19439         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19441         Likewise.
19442         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19443         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19444         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19445         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19446         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19447         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19448         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19449         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19450         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19451         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19452         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19453         Likewise.
19454         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19455         (__posix_fallocate64_l64): Likewise.
19456         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19457         (posix_fallocate): Likewise.
19458         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19459         Likewise.
19460         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19461         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19462         (getifaddrs_internal): Likewise.
19463         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19464         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19465         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19466         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19467         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19468         (__posix_fallocate64_l64): Likewise.
19469         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19470         Likewise.
19471         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19472         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19473         (__get_clockfreq): Likewise.
19474         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19475         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19476         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19479         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19480         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19481         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19482         Likewise.
19483         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19484         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19485         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19486         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19487         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19488         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19489         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19490         Likewise.
19491         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19492         (posix_fallocate): Likewise.
19493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19494         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19495         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19496         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19497         (elf_machine_rela, elf_machine_rela_relative)
19498         (elf_machine_lazy_rel): Likewise.
19499         * time/asctime.c (asctime_internal): Likewise.
19500         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19501         * time/tzset.c (__tzset_parse_tz): Likewise.
19502         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19503         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19504         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19505         * wcsmbs/wcsmbsload.h: Likewise.
19507         [BZ #15894]
19508         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19510         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19511         (arena_get2): Remove THREAD_STATS conditionals.
19512         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19513         (__malloc_stats, int): Likewise.
19515 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19517         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19518         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19520         * manual/setjmp.texi: Fix typos/grammar errors.
19522         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19523         Only return early when n is <= 0.  Delete unused return statement.
19525         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19526         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19527         * debug/tst-longjmp_chk3.c: New file.
19529         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19530         (test_main): Replace code with set_fortify_handler call.
19531         * debug/test-strcpy_chk.c: Likewise.
19532         * debug/tst-chk1.c: Likewise.
19533         * debug/tst-longjmp_chk.c: Likewise.
19534         * test-skeleton.c: Include fcntl.h & paths.h
19535         (set_fortify_handler): Define.
19537         * debug/tst-longjmp_chk.c: Add header comment and include
19538         ../test-skeleton.c.
19539         (do_test): Mark static.
19540         (TEST_FUNCTION): Define.
19542         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19543         (IP_PMTUDISC_INTERFACE): Likewise.
19544         (IP_MULTICAST_IF): Likewise.
19545         (IP_MULTICAST_TTL): Likewise.
19546         (IP_MULTICAST_LOOP): Likewise.
19547         (IP_ADD_MEMBERSHIP): Likewise.
19548         (IP_DROP_MEMBERSHIP): Likewise.
19549         (IP_UNBLOCK_SOURCE): Likewise.
19550         (IP_BLOCK_SOURCE): Likewise.
19551         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19552         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19553         (IP_MSFILTER): Likewise.
19554         (MCAST_JOIN_GROUP): Likewise.
19555         (MCAST_BLOCK_SOURCE): Likewise.
19556         (MCAST_UNBLOCK_SOURCE): Likewise.
19557         (MCAST_LEAVE_GROUP): Likewise.
19558         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19559         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19560         (MCAST_MSFILTER): Likewise.
19561         (IP_MULTICAST_ALL): Likewise.
19562         (IP_UNICAST_IF): Likewise.
19564         * timezone/Makefile: Delete $(have-ksh) check.
19565         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19566         * timezone/tzselect.ksh: Add +x mode bits.
19568         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19569         (ANON_INODE_FS_MAGIC): Likewise.
19570         (BDEVFS_MAGIC): Likewise.
19571         (BINFMTFS_MAGIC): Likewise.
19572         (BTRFS_TEST_MAGIC): Likewise.
19573         (CRAMFS_MAGIC_WEND): Likewise.
19574         (DEBUGFS_MAGIC): Likewise.
19575         (ECRYPTFS_SUPER_MAGIC): Likewise.
19576         (EXT3_SUPER_MAGIC): Likewise.
19577         (EXT4_SUPER_MAGIC): Likewise.
19578         (FUTEXFS_SUPER_MAGIC): Likewise.
19579         (HOSTFS_SUPER_MAGIC): Likewise.
19580         (HUGETLBFS_MAGIC): Likewise.
19581         (MINIX3_SUPER_MAGIC): Likewise.
19582         (MTD_INODE_FS_MAGIC): Likewise.
19583         (NILFS_SUPER_MAGIC): Likewise.
19584         (OPENPROM_SUPER_MAGIC): Likewise.
19585         (PIPEFS_MAGIC): Likewise.
19586         (PSTOREFS_MAGIC): Likewise.
19587         (QNX6_SUPER_MAGIC): Likewise.
19588         (RAMFS_MAGIC): Likewise.
19589         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19590         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19591         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19592         (SECURITYFS_MAGIC): Likewise.
19593         (SELINUX_MAGIC): Likewise.
19594         (SMACK_MAGIC): Likewise.
19595         (SOCKFS_MAGIC): Likewise.
19596         (SQUASHFS_MAGIC): Likewise.
19597         (STACK_END_MAGIC): Likewise.
19598         (TMPFS_MAGIC): Likewise.
19599         (USBDEVICE_SUPER_MAGIC): Likewise.
19600         (V9FS_MAGIC): Likewise.
19601         (XENFS_SUPER_MAGIC): Likewise.
19602         (CRAMFS_MAGIC): Fix typo in comment.
19603         (EXT2_SUPER_MAGIC): Update comment.
19604         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19606 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19608         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19609         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19610         * sysdeps/unix/sysv/linux/arm: Move directory from
19611         ports/sysdeps/unix/sysv/linux/arm.
19612         * README: Update listing for arm-*-linux-gnueabi.
19614         * README: Remove mention of am33.
19616 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19618         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19619         than the comma operator, to avoid "rhs of comma has no effect"
19620         compiler warnings.
19621         (__sigfillset, __sigandset, __sigorset): Likewise.
19622         * include/signal.h (__sigemptyset): Likewise.
19623         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19625 2014-02-07  Allan McRae  <allan@archlinux.org>
19627         * version.h (RELEASE): Set to "development".
19628         (VERSION): Set to "2.19.90"
19629         * NEWS: Add 2.20 section.
19631 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19633         [BZ #16529]
19634         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19636 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19638         * manual/contrib.texi: Update entry for Carlos O'Donell,
19639         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19641 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19643         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19645         * sysdeps/unix/sysv/linux/kernel-features.h
19646         [__LINUX_KERNEL_VERSION >= 0x020621]
19647         (__ASSUME_PROC_PID_TASK_COMM): Define.
19649 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19651         [BZ #16398]
19652         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19653         conversion when destination buffer does not have enough space.
19654         * libio/tst-ftell-partial-wide.c: New test case.
19655         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19657         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19658         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19659         Leonard and Allan McRae.
19661 2014-02-04  David S. Miller  <davem@davemloft.net>
19663         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19664         32-bit.
19666 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19669         New file
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19671         New file
19672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19673         New file.
19674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19675         New file.
19676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19677         New file.
19678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19679         New file.
19680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19681         New file.
19682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19683         New file.
19684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19685         New file.
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19687         New file.
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19689         New file.
19690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19691         New file.
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19693         New file.
19695 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19697         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19698         * shlib-versions: Likewise.
19700 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19703         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19704         (abilist-pattern): New variable, set to %-le.abilist.
19706         * Makerules (abilist-pattern): New variable.
19707         (vpath): Use $(abilist-pattern) in place of %.abilist.
19708         (check-abi-% pattern rule): Likewise.
19709         (check-abi, update-abi): Likewise.
19711 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19715 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19717         * manual/startup.texi: Add next, previous, and top entries for
19718         the `Program Arguments' and `Environment Variables' nodes.
19720 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19722         * manual/macros.texi: Add comments before MTASC-safety macros.
19724         * manual/users.texi: Document MTASC-safety properties.
19726         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19727         (pthread_getspecific, pthread_setspecific): Format with
19728         @deftypefun, and add @safety note.
19729         * manual/signal.texi: Move comments that analyze the above
19730         functions to their home place.
19732 2014-02-03  Allan McRae  <allan@archlinux.org>
19734         * po/sl.po: Update Slovenian translation from translation project.
19736 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19738         * manual/time.texi (timegm): Add missing blank after @c.
19739         Reported by Joseph Myers <joseph@codesourcery.com>.
19741 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19743         * manual/check-safety.sh: New.
19744         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19746         * manual/terminal.texi: Document MTASC-safety properties.
19748         * manual/filesys.texi: Document MTASC-safety properties.
19750         * manual/errno.texi: Document MTASC-safety properties.
19752         * manual/intro.texi: Document safety identifiers and
19753         conditionals.
19755         * manual/string.texi (wcstok): Fix prototype.
19756         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19758         * manual/time.texi: Document MTASC-safety properties.
19760         * manual/string.texi: Document MTASC-safety properties.
19762         * manual/threads.texi: Document MTASC-safety properties.
19764         * manual/stdio.texi: Document MTASC-safety properties.
19766         * manual/syslog.texi: Document MTASC-safety properties.
19768         * manual/sysinfo.texi: Document MTASC-safety properties.
19770         * manual/startup.texi: Document MTASC-safety properties.
19772         * manual/socket.texi: Document MTASC-safety properties.
19774         * manual/signal.texi: Document MTASC-safety properties.
19776 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19778         * manual/setjmp.texi: Document MTASC-safety properties.
19780         * manual/search.texi: Document MTASC-safety properties.
19782         * manual/resource.texi: Document MTASC-safety properties.
19784         * manual/process.texi: Document MTASC-safety properties.
19786         * manual/platform.texi: Document MTASC-safety properties.
19788         * manual/pipe.texi: Document MTASC-safety properties.
19790         * manual/pattern.texi: Document MTASC-safety properties.
19792         * manual/message.texi: Document MTASC-safety properties.
19794         [BZ #12751]
19795         * manual/memory.texi: Document MTASC-safety properties.
19797         * manual/math.texi: Document MTASC-safety properties.
19799         * manual/locale.texi: Document MTASC-safety properties.
19801         * manual/llio.texi: Document MTASC-safety properties.
19803         * manual/libdl.texi: New.
19805         * manual/lang.texi: Document MTASC-safety properties.
19807         * manual/job.texi: Document MTASC-safety properties.
19809         * manual/getopt.texi: Document MTASC-safety properties.
19811         * manual/ctype.texi: Document MTASC-safety properties.
19813 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19815         [BZ #16046]
19816         * csu/libc-tls.c (static_map): Remove variable.
19817         (__libc_setup_tls): Use main executable's link map for TLS data.
19818         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19819         casing for LM_ID_BASE and GL(dl_nns).
19820         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19821         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19822         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19823         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19824         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19825         member.
19826         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19827         l_phnum members.
19829 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19831         * manual/debug.texi: Document MTASC-safety properties.
19833 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19835         [BZ #16510]
19836         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19837         of __x86_64__ when disabling x87 inline functions.
19839 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19841         * manual/charset.texi: Document MTASC-safety properties.
19843         * manual/crypt.texi: Document MTASC-safety properties.
19845         * manual/conf.texi: Document MTASC-safety properties.
19847         * manual/arith.texi: Document MTASC-safety properties.
19849         * manual/argp.texi: Document MTASC-safety properties.
19851         * manual/macros.texi: Introduce macros to document multi
19852         thread, asynchronous signal and asynchronous cancellation
19853         safety properties.
19854         * manual/intro.texi: Introduce the properties themselves.
19856 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19858         * sysdeps/sh/sh4/Makefile: New file.
19860 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19862         * math/gen-libm-test.pl ($srcdir): New variable.
19863         ($auto_input): Use it.
19865 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19867         [BZ #16506]
19868         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19869         access beyond array bounds when parsing netgroups file.
19871         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19872         the old buffer before realloc.
19874 2014-01-27  Allan McRae  <allan@archlinux.org>
19876         * po/fr.po: Update French translation from translation project.
19878 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19880         * sysdeps/sh/libm-test-ulps: Regenerate.
19882 2014-01-24  David S. Miller  <davem@davemloft.net>
19884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19886 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19888         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19889         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19891 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19893         [BZ #16474]
19894         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19895         string pointers after reallocation.
19897 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19899         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19900         __SH4A__ instead of __SH_FPU_ANY__.
19902 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19904         * sysdeps/sh/fpu_control.h: New file.
19905         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19906         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19907         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19908         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19909         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19910         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19911         * sysdeps/sh/sys/ucontext.h: Remove.
19912         * sysdeps/sh/sys: Remove directory.
19914 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19916         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19917         s390/sys/ucontext.h.
19918         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19919         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19921 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19923         [BZ #15605]
19924         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19926 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19928         [BZ#16431]
19929         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19930         Adjust the vDSO correctly for internal calls.
19931         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19933 2014-01-20  Allan McRae  <allan@archlinux.org>
19935         * po/ca.po: Update Catalan translation from translation project.
19937 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19939         * sysdeps/s390/sotruss-lib.c: New file.
19941 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19943         [BZ#16430]
19944         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19945         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19946         local calls issues by not having a PLT stub required for IFUNC calls.
19947         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19949 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19951         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19952         * math/test-fpucw-static.c: Likewise.
19954 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19956         [BZ #16453]
19957         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19959 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19961         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19962         implementation for powerpc.
19964 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19966         [BZ #14782]
19967         * sysdeps/posix/system.c (__libc_system): Do not enable
19968         asynchronous cancellation.
19970 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19972         [BZ #16427]
19973         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19974         handling only for numbers special also in the IEEE case.
19976 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19978         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19980 2014-01-11  Allan McRae  <allan@archlinux.org>
19982         * po/bg.po: Update Bulgarian translation from translation project.
19984         * po/de.po: Update German translation from translation project.
19986 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19988         * sysdeps/generic/gcc-compat.h: New file.
19990 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19992         * benchtests/asin-inputs: Correct slow inputs.
19993         * benchtests/acos-inputs: Likewise.
19995 2014-01-10  Allan McRae  <allan@archlinux.org>
19997         * po:sv.po: Update Swedish translation from translation project.
19999         * po/vi.po: Update Vietnamese translation from translation project.
20001         * po/eo.po: Update Esperanto translation from translation project.
20003         * po/cs.po: Update Czech translation from translation project.
20005         * po/nl.po: Update Dutch translation from translation project.
20007         * po/pl.po: Update Polish translation from translation project.
20009         * po/ru.po: Update Russian translation from translation project.
20011         * po/uk.po: Update Ukrainian translation from translation project.
20013 2014-01-08  Brooks Moses  <bmoses@google.com>
20015         * elf/dl-load.c: Fix comment typo.
20017 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
20019         * po/header.pot: Rename to...
20020         * po/pot.header: ... this.
20021         * po/Makefile: Use pot.header.
20023 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
20024             Maxim Kuvyrkov  <maxim@kugelworks.com>
20026         [BZ #16394]
20027         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20028         SRC and DEST against LEN.
20030 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20032         [BZ #16414]
20033         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20034         implementation.
20035         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20037 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20041 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
20043         [BZ #16408]
20044         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20045         for large positive arguments.
20047 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
20049         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20051         * math/auto-libm-test-in: Mark various tests with
20052         xfail-rounding:ldbl-128ibm.
20053         * math/auto-libm-test-out: Regenerated.
20055         [BZ #16407]
20056         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20057         Increase overflow threshold.
20059 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
20061         [BZ #14286]
20062         * stdio-common/vfprintf.c: Check for integer overflow.
20064 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20066         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20067         the first argument and return value of __tls_get_addr_internal.
20069 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20071         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20072         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20074 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20076         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20077         * sysdeps/s390/rtld-global-offsets.sym: New file.
20078         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20079         GLIBC_2.19 symbol.
20080         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20081         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20082         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20083         ... this.
20084         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20085         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20086         ... this.
20087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20088         Regenerate.
20089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20090         Regenerate.
20091         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20092         halfs of GPRs for high_gprs contexts.
20093         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20094         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
20095         field.
20096         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20097         uc_flags field.
20098         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20099         64 bit versions:
20100         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20101         for high GPRs (uc_high_gprs) and for future extensions
20102         (__reserved).
20103         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20104         for future extensions (__reserved).
20105         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20106         64 bit versions:
20107         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20108         SC_HIGHGPRS offset definition.
20109         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20110         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20112         * Versions.def: Add GLIBC_2.19 for libpthread.
20113         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20114         siglongjmp for libpthread with GLIBC_2.19 symver.
20115         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20116         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20117         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20118         * sysdeps/s390/__longjmp.c: New file.
20119         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20120         * sysdeps/s390/longjmp.c: New file.
20121         * sysdeps/s390/setjmp.S: New file.
20122         * sysdeps/s390/sigjmp.S: New file.
20123         * sysdeps/s390/v1-longjmp.c: New file.
20124         * sysdeps/s390/v1-setjmp.h: New file.
20125         * sysdeps/s390/v1-sigjmp.c: New file.
20126         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20127         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20128         GLIBC_2.19 version.
20129         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20130         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20131         versioned symbols for ____longjmp_chk.
20132         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20133         Likewise.
20134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20135         Regenerate.
20136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20137         Regenerate.
20138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20139         Regenerate.
20140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20141         Regenerate.
20142         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20143         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20144         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20145         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20146         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20147         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20148         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20149         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20150         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20151         * sysdeps/s390/rtld-__longjmp.c: New file.
20152         * sysdeps/s390/rtld-setjmp.S: New file.
20154 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
20156         [BZ #16400]
20157         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20158         Return -__logl (x) for small positive arguments without evaluating
20159         a polynomial.
20161 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
20163         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20164         Rename to ...
20165         (__ptrace_peeksiginfo_args): ... this.
20166         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20167         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20168         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20170 2014-01-06  Allan McRae  <allan@archlinux.org>
20172         * inet/netinet/in.h: Fix typo in comment.
20174 2014-01-05  Andreas Jaeger  <aj@suse.de>
20176         * sysdeps/i386/fpu/libm-test-ulps: Update.
20178 2014-01-05  Allan McRae  <allan@archlinux.org>
20180         * po/libc.pot: Regenerated.
20182         * malloc/memusagestat.c: Fix gettext call formatting.
20184 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
20186         * nscd/nscd.c: Improve usage() output.
20188 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20190         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20191         * sysdeps/unix/sysv/linux/configure: Regenerated.
20192         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20193         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20195 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20197         [BZ #16390]
20198         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20199         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20201 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20203         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20204         extra tokens at end of #undef directive.
20205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20206         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20207         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20209 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20211         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20213         * math/auto-libm-test-in: Mark various tests with
20214         xfail-rounding:ldbl-128ibm.
20215         * math/auto-libm-test-out: Regenerated.
20217 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20219         [BZ #16386]
20220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20221         numbers with subnormal high part when calculating exponent.
20223         [BZ #16385]
20224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20225         fabs.
20227         [BZ #16384]
20228         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20229         M_LN2l.
20230         (__ieee754_acoshl): Use __log1pl not __log1p.
20232 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20234         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20235         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20236         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20237         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20238         (reused_arena, arena_get2): Convert to GNU style.
20239         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20240         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20241         (memalign_check, __malloc_set_state): Likewise.
20242         * malloc/mallocbug.c (main): Likewise.
20243         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20244         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20245         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20246         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20247         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20248         (__posix_memalign, malloc_info): Likewise.
20249         * malloc/malloc.h: Likewise.
20250         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20251         (mallochook, memalignhook, reallochook, mabort): Likewise.
20252         * malloc/mcheck.h: Likewise.
20253         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20254         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20255         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20256         * malloc/morecore.c (__default_morecore): Likewise.
20257         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20258         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20259         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20260         (print_and_abort): Likewise.
20261         * malloc/obstack.h: Likewise.
20262         * malloc/set-freeres.c (__libc_freeres): Likewise.
20263         * malloc/tst-mallocstate.c (main): Likewise.
20264         * malloc/tst-mtrace.c (main): Likewise.
20265         * malloc/tst-realloc.c (do_test): Likewise.
20267 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20269         [BZ #16366]
20270         * nscd/netgroupcache.c (do_notfound): New function.
20271         (addgetnetgrentX): Use it.
20273         [BZ # 16365]
20274         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20275         NSS_STATUS_NOTFOUND.
20277 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20279         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282 2014-01-01  Allan McRae  <allan@archlinux.org>
20284         * scripts/update-copyrights: Update configure input file suffix.
20286         * NEWS: Update copyright year.
20287         * catgets/gencat.c: Likewise.
20288         * csu/version.c: Likewise.
20289         * debug/catchsegv.sh: Likewise.
20290         * debug/pcprofiledump.c: Likewise.
20291         * debug/xtrace.sh: Likewise.
20292         * elf/ldconfig.c: Likewise.
20293         * elf/ldd.bash.in: Likewise.
20294         * elf/pldd.c: Likewise.
20295         * elf/sotruss.ksh: Likewise.
20296         * elf/sprof.c: Likewise.
20297         * iconv/iconv_prog.c: Likewise.
20298         * iconv/iconvconfig.c: Likewise.
20299         * locale/programs/locale.c: Likewise.
20300         * locale/programs/localedef.c: Likewise.
20301         * login/programs/pt_chown.c: Likewise.
20302         * malloc/memusage.sh: Likewise.
20303         * malloc/memusagestat.c: Likewise.
20304         * malloc/mtrace.pl: Likewise.
20305         * manual/libc.texinfo: Likewise.
20306         * nscd/nscd.c: Likewise.
20307         * nss/getent.c: Likewise.
20308         * nss/makedb.c: Likewise.
20309         * posix/getconf.c: Likewise.
20310         * scripts/test-installation.pl: Likewise.
20312         * All files with FSF copyright notices: Update copyright dates
20313         using scripts/update-copyrights.
20314         * intl/plural.c: Regenerated.
20315         * locale/programs/charmap-kw.h: Likewise.
20316         * locale/programs/locfile-kw.h: Likewise.
20318 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20320         * sysdeps/unix/sysv/linux/configure: Regenerated.
20321         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20322         the linux/fanotify.h header.
20323         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20324         HAVE_LINUX_FANOTIFY_H is defined.
20326 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20328         * benchtests/cos-inputs: New inputs.
20329         * benchtests/sin-inputs: Likewise.
20331         * benchtests/atan-inputs: New inputs. Fix name of multiple
20332         precision fallback inputs.
20334         * benchtests/atanh-inputs: New inputs.
20335         * benchtests/tanh-inputs: Likewise.
20337         * benchtests/acosh-inputs: New inputs.
20338         * benchtests/asinh-inputs: Likewise.
20340         * benchtests/cosh-inputs: New inputs.
20341         * benchtests/sinh-inputs: Likewise.
20343         * benchtests/acos-inputs: Add more inputs.
20344         * benchtests/asin-inputs: Likewise.
20346 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20348         [BZ #16375]
20349         * manual/arith.texi: Fix spelling.
20350         * manual/charset.texi: Likewise.
20351         * manual/errno.texi: Likewise.
20352         * manual/filesys.texi: Likewise.
20353         * manual/lang.texi: Likewise.
20354         * manual/llio.texi: Likewise.
20355         * manual/locale.texi: Likewise.
20356         * manual/message.texi: Likewise.
20357         * manual/resource.texi: Likewise.
20358         * manual/search.texi: Likewise.
20359         * manual/setjmp.texi: Likewise.
20360         * manual/stdio.texi: Likewise.
20361         * manual/string.texi: Likewise.
20362         * manual/sysinfo.texi: Likewise.
20363         * manual/time.texi: Likewise.
20365 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20367         * po/sl.po: New file.
20369 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20371         * .gitignore: Add core/.gdbinit/.gdb_history.
20373 2013-12-27  Allan McRae  <allan@archlinux.org>
20375         [BZ #16369]
20376         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20377         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20379 2013-12-24  Brooks Moses  <bmoses@google.com>
20381         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20382         all compilers that claim C++98 compliance, not just GCC.
20383         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20384         Likewise.
20386 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20388         * NEWS: Restore accidentally deleted bug-fix entries.
20390 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20391             Ondřej Bílka  <neleai@seznam.cz>
20393         [BZ #15073]
20394         * malloc/malloc.c (_int_free): Perform sanity check only if we
20395         have_lock.
20397 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20399         [BZ #12986]
20400         * manual/stdio.texi (String Input Conversions): Clarify that character
20401         classes are not supported.
20403 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20407 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20409         [BZ #16337]
20410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20411         Calculate results for small negative arguments directly rather
20412         than using reflection formula with special underflow handling.
20414         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20415         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20416         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20417         (fchflags): Likewise.
20418         (revoke): Likewise.
20419         (setlogin): Likewise.
20420         (sigaltstack): Likewise.
20421         (wait4): Likewise.
20422         (sigblock): Remove.
20423         (sigsetmask): Likewise.
20424         (wait3): Likewise.
20425         (waitpid): Likewise.
20426         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20427         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20428         file.
20429         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20430         * sysdeps/unix/bsd/Makefile: ... here.
20431         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20432         * sysdeps/unix/bsd/Versions: ... here.
20433         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20434         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20435         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20436         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20437         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20438         * sysdeps/unix/bsd/sigblock.c: ... here.
20439         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20440         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20441         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20442         * sysdeps/unix/bsd/sigvec.c: ... here.
20443         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20444         * sysdeps/unix/bsd/tcdrain.c: ... here.
20445         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20446         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20447         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20448         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20449         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20450         * sysdeps/unix/bsd/wait.c: ... here.
20451         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20452         * sysdeps/unix/bsd/wait3.c: ... here.
20453         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20454         * sysdeps/unix/bsd/waitpid.c: ... here.
20456 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20458         [BZ #16356]
20459         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20460         round-to-nearest for [!USE_AS_EXPM1L].
20461         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20462         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20463         more tests of exp and exp10.  Expect some exp10 tests to miss
20464         exceptions or fail in directed rounding modes.
20465         * math/auto-libm-test-out: Regenerated.
20466         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20467         (exp10_test_tonearest): New function.
20468         (exp10_towardzero_test_data): New array.
20469         (exp10_test_towardzero): New function.
20470         (exp10_downward_test_data): New array.
20471         (exp10_test_downward): New function.
20472         (exp10_upward_test_data): New array.
20473         (exp10_test_upward): New function.
20474         (main): Call the new functions.
20475         * sysdeps/i386/fpu/libm-test-ulps: Update.
20476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20478 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20480         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20481         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20482         * math/auto-libm-test-out: Regenerated.
20483         * math/libm-test.inc (acosh_test_data): Add more tests.
20484         (atanh_test_data): Likewise.
20485         (ceil_test_data): Likewise.
20486         (copysign_test_data): Likewise.
20487         * sysdeps/i386/fpu/libm-test-ulps: Update.
20488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20490         * timezone/checktab.awk: Update from tzcode 2013i.
20491         * timezone/private.h: Likewise.
20492         * timezone/scheck.c: Likewise.
20493         * timezone/tzfile.h: Likewise.
20494         * timezone/tzselect.ksh: Likewise.
20495         * timezone/zdump.c: Likewise.
20496         * timezone/zic.c: Likewise.
20498         * math/auto-libm-test-in: Add tests of cpow.
20499         * math/auto-libm-test-out: Regenerated.
20500         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20502         mpc_cc_c.
20503         (func_calc_desc): Add mpc_cc_c union field.
20504         (test_functions): Add cpow.
20505         (special_fill_2pi): New function.
20506         (special_real_inputs): Add 2pi.
20507         (calc_generic_results): Handle mpc_cc_c.
20508         * sysdeps/i386/fpu/libm-test-ulps: Update.
20509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20511         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20512         csqrt, ctan and ctanh.
20513         * math/auto-libm-test-out: Regenerated.
20514         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20515         (TEST_COND_x86): Likewise.
20516         (ccos_test_data): Use AUTO_TESTS_c_c.
20517         (ccosh_test_data): Likewise.
20518         (cexp_test_data): Likewise.
20519         (clog_test_data): Likewise.
20520         (csqrt_test_data): Likewise.
20521         (ctan_test_data): Likewise.
20522         (ctan_tonearest_test_data): Likewise.
20523         (ctan_towardzero_test_data): Likewise.
20524         (ctan_downward_test_data): Likewise.
20525         (ctan_upward_test_data): Likewise.
20526         (ctanh_test_data): Likewise.
20527         (ctanh_tonearest_test_data): Likewise.
20528         (ctanh_towardzero_test_data): Likewise.
20529         (ctanh_downward_test_data): Likewise.
20530         (ctanh_upward_test_data): Likewise.
20531         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20532         mpc_c_c.
20533         (func_calc_desc): Add mpc_c_c union field.
20534         (FUNC_mpc_c_c): New macro.
20535         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20536         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20537         ctanh.
20538         (special_fill_min_subnorm_p120): New function.
20539         (special_real_inputs): Add min_subnorm_p120.
20540         (calc_generic_results): Handle mpc_c_c.
20541         * sysdeps/i386/fpu/libm-test-ulps: Update.
20542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20546         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20547         (do_sin_slow): New functions.
20548         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20549         (cslow2, csloww1, csloww2): Use the new functions.
20551         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20552         Use M to change sign of result instead of X.  Assume X is
20553         positive.
20554         (csloww1): Likewise.
20555         (__sin): Adjust.
20556         (__cos): Adjust.
20558         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20559         arguments A and DA.
20560         (__sin): Adjust.
20561         (__cos): Likewise.
20563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20564         (__cos): Likewise.
20565         (sloww1): Don't adjust sign of DX.
20566         (csloww1): Likewise.
20567         (sloww2): Use X directly and don't adjust sign of DX.
20568         (csloww2): Likewise.
20570 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20572         * math/auto-libm-test-in: Add tests of cabs and carg.
20573         * math/auto-libm-test-out: Regenerated.
20574         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20575         (carg_test_data): Likewise.
20576         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20577         mpc_c_f.
20578         (func_calc_desc): Add mpc_c_f union field.
20579         (test_functions): Add cabs and carg.
20580         (calc_generic_results): Handle mpc_c_f.
20582         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20583         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20584         as a macro and a compat symbol.
20585         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20586         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20587         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20588         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20589         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20590         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20591         not use .hidden.
20592         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20593         Likewise.
20594         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20595         Likewise.
20596         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20597         Likewise.
20598         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20599         Likewise.
20600         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20601         Likewise.
20602         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20603         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20604         from GLIBC_2.3.2.
20606 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20610 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20612         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20613         trailing whitespace removed.
20614         * scripts/config.guess: Update to version 2013-11-29.
20615         * scripts/config.sub: Update to version 2013-10-01.
20617         * math/auto-libm-test-in: Add tests of sincos.
20618         * math/auto-libm-test-out: Regenerated.
20619         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20621         mpfr_f_11.
20622         (func_calc_desc): Add mpfr_f_11 union field.
20623         (test_functions): Add sincos.
20624         (calc_generic_results): Handle mpfr_f_11.
20625         * sysdeps/i386/fpu/libm-test-ulps: Update.
20626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20628 2013-12-19  Andreas Schwab  <schwab@suse.de>
20630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20631         CALL_MCOUNT.
20632         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20633         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20634         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20636 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20638         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20639         * sysdeps/i386/fpu/libm-test-ulps: Update.
20640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20642         [BZ #16293]
20643         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20644         round-to-nearest mode when using frndint.
20645         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20646         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20647         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20648         Likewise.
20649         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20650         sinh test to fail.
20651         * math/auto-libm-test-out: Regenerated.
20652         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20653         (TEST_COND_x86): Likewise.
20654         (expm1_tonearest_test_data): New array.
20655         (expm1_test_tonearest): New function.
20656         (expm1_towardzero_test_data): New array.
20657         (expm1_test_towardzero): New function.
20658         (expm1_downward_test_data): New array.
20659         (expm1_test_downward): New function.
20660         (expm1_upward_test_data): New array.
20661         (expm1_test_upward): New function.
20662         (main): Run the new test functions.
20663         * sysdeps/i386/fpu/libm-test-ulps: Update.
20664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20666         * include/features.h: Update comment documenting feature test
20667         macros.  Mention _DEFAULT_SOURCE in comment.
20668         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20669         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20670         _BSD_SOURCE and _SVID_SOURCE.
20671         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20672         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20673         !_SVID_SOURCE]: Likewise.
20674         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20675         (__USE_POSIX_IMPLICITLY): Define.
20676         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20677         (_POSIX_SOURCE): Undefine and redefine.
20678         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20679         (_POSIX_C_SOURCE): Likewise.
20680         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20681         (Feature Test Macros): Update documentation of default features.
20683 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20685         * benchtests/Makefile: Add bench-strtok.
20686         * benchtests/bench-strtok.c: New file: strtok benchtest.
20688 2013-12-19  Allan McRae  <allan@archlinux.org>
20690         * manual/install.texi: Suppress menu for plain text output.
20691         * INSTALL: Regenerated.
20693 2013-12-18  Brooks Moses  <bmoses@google.com>
20695         [BZ #15846]
20696         * misc/getauxval.c: Include errno.h.
20697         (__getauxval): Set errno to ENOENT if the requested type is not
20698         found.
20699         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20700         don't declare with __attribute_const__.
20701         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20702         * manual/startup.texi: Document that getauxval sets errno.
20704 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20706         * math/auto-libm-test-in: Add tests of jn and yn.
20707         * math/auto-libm-test-out: Regenerated.
20708         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20709         (yn_test_data): Likewise.
20710         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20711         mpfr_if_f.
20712         (func_calc_desc): Add mpfr_if_f union field.
20713         (FUNC_mpfr_if_f): New macro.
20714         (test_functions): Add jn and yn.
20715         (calc_generic_results): Assert type of second input for
20716         mpfr_ff_f.  Handle mpfr_if_f.
20717         (output_for_one_input_case): Disable all checking for arguments
20718         fitting floating-point types in case of an integer argument.
20719         * sysdeps/i386/fpu/libm-test-ulps: Update.
20720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20723         Don't expect fegetround reference in libm.so.
20725 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20727         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20728         $(config-cflags-nofma).
20730 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20732         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20733         * math/auto-libm-test-out: Regenerated.
20735         [BZ #16338]
20736         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20737         to determine exponent and adjust argument to have exponent of -1.
20738         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20739         log2.
20740         * math/auto-libm-test-out: Regenerated.
20741         * sysdeps/i386/fpu/libm-test-ulps: Update.
20742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20744 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20746         * manual/probes.texi: Remove cases when per-thread arenas are
20747         disabled.
20749 2013-12-18  Andreas Schwab  <schwab@suse.de>
20751         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20752         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20753         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20754         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20755         * sysdeps/i386/i686/multiarch/Makefile: Update.
20756         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20758 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20760         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20761         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20763 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20765         [BZ #15968]
20766         Support TZ transition times < 00:00:00.
20767         This is needed for version-3 tz-format files; it supports time
20768         stamps past 2037 for America/Godthab (the only entry in the tz
20769         database for which this change is relevant).
20770         * manual/time.texi (TZ Variable): Document transition times
20771         from -167:59:59 through -00:00:01.
20772         * time/tzset.c (tz_rule): Time of day is now signed.
20773         (__tzset_parse_tz): Parse negative time of day.
20775         Document TZ transition times >= 25:00:00.
20776         * manual/time.texi (TZ Variable): Document transition times from
20777         25:00:00 through 167:59:59.  These are already supported, and this
20778         support will help with version-3 tz-format files.
20780         * manual/time.texi (TZ Variable): Modernize North America example
20781         to reflect current (i.e., 2007-and-later) daylight saving rules.
20783         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20785 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20787         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20788         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20789         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20791         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20792         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20793         * sysdeps/unix/bsd/clock.c: Likewise.
20794         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20795         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20796         * sysdeps/unix/bsd/init-posix.c: Likewise.
20797         * sysdeps/unix/bsd/poll.c: Likewise.
20798         * sysdeps/unix/bsd/ptsname.c: Likewise.
20799         * sysdeps/unix/bsd/seekdir.c: Likewise.
20800         * sysdeps/unix/bsd/setegid.c: Likewise.
20801         * sysdeps/unix/bsd/seteuid.c: Likewise.
20802         * sysdeps/unix/bsd/setgid.c: Likewise.
20803         * sysdeps/unix/bsd/setrgid.c: Likewise.
20804         * sysdeps/unix/bsd/setruid.c: Likewise.
20805         * sysdeps/unix/bsd/setsid.c: Likewise.
20806         * sysdeps/unix/bsd/setuid.c: Likewise.
20807         * sysdeps/unix/bsd/sigaction.c: Likewise.
20808         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20809         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20810         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20811         * sysdeps/unix/bsd/telldir.c: Likewise.
20812         * sysdeps/unix/bsd/times.c: Likewise.
20813         * sysdeps/unix/bsd/usleep.c: Likewise.
20815         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20816         ($(objpfx)libbsd-compat.a): Remove rule.
20818         * include/features.h (__FAVOR_BSD): Do not define.
20819         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20820         features conflicting with POSIX.
20821         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20822         (_BSD_SOURCE): Remove description of not being a subset of other
20823         feature test macros.
20824         * manual/job.texi (getpgrp): Do not document BSD version.
20825         (getpgid): Do not document by reference to BSD getpgrp.
20826         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20827         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20828         * signal/signal.h [__FAVOR_BSD]: Likewise.
20829         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20830         instead of making contents conditional on [__FAVOR_BSD].
20831         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20833 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20837 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20839         [BZ #16314]
20840         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20841         values below 2**-450, not 2**-500.
20842         * math/auto-libm-test-in: Don't allow spurious underflow from
20843         hypot.
20844         * math/auto-libm-test-out: Regenerated.
20846         [BZ #16316]
20847         [BZ #16330]
20848         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20849         values of ha and hb and sort them after adjusting subnormal
20850         arguments.
20851         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20852         Likewise.
20853         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20854         values of ea and eb and sort them after adjusting subnormal
20855         arguments.
20856         * math/auto-libm-test-in: Do not expect some hypot tests of
20857         subnormals to fail.  Add more hypot tests.
20858         * math/auto-libm-test-out: Regenerated.
20860 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20862         [BZ #13304]
20863         * sysdeps/sh/s_fma.c: New file.
20864         * sysdeps/sh/s_fmaf.c: New file.
20865         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20866         version.
20867         * sysdeps/sh/Implies: Add sh/soft-fp.
20869 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20871         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20872         level of indirection to members `objname', `errstring', `malloced'.
20873         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20874         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20875         it as the __longjmp argument (just pass 1 instead).
20876         (_dl_catch_error): Initialize C with argument pointers and address of
20877         volatile local ERRCODE rather than copying values out of C at return.
20879 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20881         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20882         * math/auto-libm-test-out: Regenerated.
20883         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20884         (hypot_test_data): Likewise.
20885         (pow_test_data): Likewise.
20886         (pow_tonearest_test_data): Likewise.
20887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20888         mpfr_ff_f.
20889         (func_calc_desc): Add mpfr_ff_f union field.
20890         (FUNC_mpfr_ff_f): New macro.
20891         (test_functions): Add atan2, hypot and pow.
20892         (special_fill_min): New function.
20893         (special_fill_minus_min): Likewise.
20894         (special_fill_min_subnorm): Likewise.
20895         (special_fill_minus_min_subnorm): Likewise.
20896         (special_real_inputs): Add min, -min, min_subnorm and
20897         -min_subnorm.
20898         (calc_generic_results): Handle mpfr_ff_f.
20899         * sysdeps/i386/fpu/libm-test-ulps: Update.
20900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20902 2013-12-16  Will Newton  <will.newton@linaro.org>
20904         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20905         (Aligned Memory Blocks): Add documentation for aligned_alloc
20906         and suggest it as an alternative to posix_memalign.
20907         (Hooks for Malloc): Document __memalign_hook is also called
20908         for aligned_alloc.  (Summary of Malloc): Add summary for
20909         aligned alloc.  Document __memalign_hook is also called
20910         for aligned_alloc.
20912 2013-12-16  Will Newton  <will.newton@linaro.org>
20914         * manual/memory.texi (Malloc Examples): Clarify default
20915         alignment documentation.  Suggest posix_memalign rather
20916         than memalign or valloc.
20917         (Aligned Memory Blocks): Remove suggestion to use memalign
20918         or valloc.  Remove obsolete comment about BSD.
20919         Document memalign errno values and mark the function obsolete.
20920         Document posix_memalign returned error codes.  Mark valloc
20921         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20922         called for posix_memalign and valloc.
20923         (Summary of Malloc): Add posix_memalign to function summary.
20924         __memalign_hook is also called for posix_memalign and valloc.
20926 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20928         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20929         TAYLOR_SIN.
20930         (__sin): Adjust.
20931         (__cos): Likewise.
20932         (sloww): Use mynumber union.  Expand ternary operator into
20933         if-else statements.
20934         (cslow): use mynumber union.
20936 2013-12-16  Allan McRae  <allan@archlinux.org>
20938         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20939         * configure: Regenerated.
20941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20943         [BZ #14120]
20944         * configure.ac: Added --enable-maintainer-mode. Check for
20945         autoconf when enabled.
20946         * configure: Regenerated.
20948         * nscd/nscd.service: New file.
20949         * nscd/nscd.tmpfiles: New file.
20951 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20953         [BZ #12100]
20954         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20955         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20956         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20957         (strstr): Add __strstr_sse2_unaligned ifunc.
20958         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20959         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20960         (strcasestr): Remove __strcasestr_sse42 ifunc.
20961         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20965 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20967         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20968         * sysdeps/sh/bits/fenv.h: ... here.
20969         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20971 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20973         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20976         hypotf multiarch implementations.
20977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20980         multiarch hypot for PPC64.
20981         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20984         multiarch hypotf for PPC64.
20986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20987         modff multiarch implementations.
20988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20991         multiarch modf for PPC64.
20992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20995         multiarch modff for PPC64.
20997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20998         and logl multiarch implementations.
20999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21002         multiarch logb for PPC64.
21003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21006         multiarch logb for PPC64.
21007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21010         multiarch logb for PPC64.
21012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21013         isinff multiarch implementation.
21014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21015         file.
21016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21018         multiarch isinf for PPC64.
21019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21020         file.
21021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21022         multiarch isinff for PPC64.
21024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21025         finitef multiarch implementation.
21026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21027         file.
21028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21030         multiarch finite for PPC64.
21031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21032         file.
21033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21034         multiarch finitef for PPC64.
21036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21037         lrint multiarch implementation.
21038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21039         file.
21040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21042         multiarch llrint for PPC64.
21043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21044         multiarch lrint for PPC64.
21046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21047         copysignf multiarch implementation.
21048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21049         file.
21050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21051         file.
21052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21053         multiarch copysign for PPC64.
21054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21055         multiarch copysignf for PPC64.
21057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21058         multiarch implementation.
21059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21060         file.
21061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21062         file.
21063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21064         file.
21065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21066         file.
21067         multiarch llround for PPC64.
21068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21069         multiarch trunc for PPC64.
21070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21071         multiarch truncf for PPC64.
21073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21074         multiarch implementation.
21075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21076         file.
21077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21078         file.
21079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21080         file.
21081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21082         file.
21083         multiarch llround for PPC64.
21084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21085         multiarch round for PPC64.
21086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21087         multiarch roundf for PPC64.
21089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21090         multiarch implementation.
21091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21092         file.
21093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21094         file.
21095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21096         file.
21097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21098         file.
21099         multiarch llround for PPC64.
21100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21101         multiarch floor for PPC64.
21102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21103         multiarch floorf for PPC64.
21105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21106         multiarch implementation.
21107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21108         file.
21109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21110         file.
21111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21112         file.
21113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21114         file.
21115         multiarch llround for PPC64.
21116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21117         multiarch ceil for PPC64.
21118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21119         multiarch ceilf for PPC64.
21121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21122         multiarch implementation.
21123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21124         file.
21125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21126         file.
21127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21128         file.
21129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21130         multiarch llround for PPC64.
21131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21132         multiarch lround for PPC64.
21134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21135         multiarch implementation.
21136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21139         file.
21140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21143         multiarch isnan for PPC64.
21144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21145         multiarch isnanf for PPC64.
21147         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21148         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21149         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21150         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21151         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21154         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21155         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21160         multiarch implementations.
21161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21162         (__libc_ifunc_impl_list): Likewise.
21163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21166         multiarch stpcpy for PPC64.
21168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21169         multiarch implementations.
21170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21171         (__libc_ifunc_impl_list): Likewise.
21172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21174         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21175         multiarch strcpy for PPC64.
21177         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21178         redefine function name.
21179         (_wordcopy_fwd_dest_aligned): Likewise.
21180         (_wordcopy_bwd_aligned): Likewise.
21181         (_wordcopy_bwd_dest_aligned): Likewise.
21182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21183         multiarch implementations.
21184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21185         (__libc_ifunc_impl_list): Likewise.
21186         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21187         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21188         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21190         multiarch wcscpy for PPC64.
21192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21193         multiarch implementations.
21194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21195         (__libc_ifunc_impl_list): Likewise.
21196         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21197         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21198         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21200         multiarch wcscpy for PPC64.
21202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21203         multiarch implementations.
21204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21205         (__libc_ifunc_impl_list): Likewise.
21206         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21207         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21208         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21209         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21210         multiarch wcsrchr for PPC64.
21212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21213         multiarch implementations.
21214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21215         (__libc_ifunc_impl_list): Likewise.
21216         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21217         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21218         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21219         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21220         multiarch wcschr for PPC64.
21222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21223         multiarch implementations.
21224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21225         (__libc_ifunc_impl_list): Likewise.
21226         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21227         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21228         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21229         multiarch strchrnul for PPC64.
21231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21232         implementations.
21233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21234         (__libc_ifunc_impl_list): Likewise.
21235         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21236         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21237         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21238         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21239         strchr for PPC64.
21241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21242         implementations.
21243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21244         (__libc_ifunc_impl_list): Likewise.
21245         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21246         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21247         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21248         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21249         strncmp for PPC64.
21251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21252         multiarch implementations.
21253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21254         (__libc_ifunc_impl_list): Likewise.
21255         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21256         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21257         strncasecmp for PPC64.
21258         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21259         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21260         multiarch strncasecmp_l for PPC64.
21262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21263         multiarch implementations.
21264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21265         (__libc_ifunc_impl_list): Likewise.
21266         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21267         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21268         multiarch strcasecmp for PPC64.
21269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21270         file.
21271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21272         multiarch strcasecmp_l for PPC64.
21274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21275         implementations.
21276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21277         (__libc_ifunc_impl_list): Likewise.
21278         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21279         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21280         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21281         strnlen for PPC64.
21283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21284         implementations.
21285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21286         (__libc_ifunc_impl_list): Likewise.
21287         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21288         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21289         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21290         strlen for PPC64.
21292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21293         implementations.
21294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21295         (__libc_ifunc_impl_list): Likewise.
21296         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21297         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21298         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21299         rawmemrchr for PPC64.
21301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21302         implementation.
21303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21304         (__libc_ifunc_impl_list): Likewise.
21305         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21306         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21307         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21308         memrchr for PPC64.
21310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21311         implementation.
21312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21313         (__libc_ifunc_impl_list): Likewise.
21314         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21315         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21316         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21317         memchr for PPC64.
21319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21320         implementation.
21321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21322         (__libc_ifunc_impl_list): Likewise.
21323         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21324         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21325         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21326         mempcpy for PPC64.
21328         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21329         avoid cretion of __bzero symbol.
21330         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21331         Likewise.
21332         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21333         Likewise.
21334         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21335         Likewise.
21336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21337         multiarch implementations.
21338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21339         (__libc_ifunc_impl_list): Likewise.
21340         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21341         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21342         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21343         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21344         bzero for PPC32.
21345         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21346         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21347         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21348         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21349         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21350         memset for PPC64.
21351         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21353         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21355         implementations.
21356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21357         (__libc_ifunc_impl_list): Likewise.
21358         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21359         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21360         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21361         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21362         memcmp for PPC64.
21364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21365         multiarch for POWER/PPC64.
21366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21367         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21368         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21370         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21374         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21375         memcpy for PPC64.
21377         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21378         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21379         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21380         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21381         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21382         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21383         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21384         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21385         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21386         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21387         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21388         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21389         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21390         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21391         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21400 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21402         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21404 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21406         * benchtests/Makefile (bench): Add exp2 and log2.
21407         (LDLIBS-bench-exp2): Add -lm.
21408         (LDLIBS-bench-log2): Likewise.
21409         * benchtests/exp2-inputs: New inputs file.
21410         * benchtests/log2-inputs: New inputs file.
21411         * benchtests/log-inputs: Add new inputs.
21412         * benchtests/tan-inputs: Likewise.
21414 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21416         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21417         definition...
21418         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21419         (csloww2): ... from here.
21421         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21422         instead of structures.
21423         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21424         (POLYNOMIAL): Likewise.
21425         (TAYLOR_SLOW): Likewise.
21426         (__sin): Likewise.
21427         (__cos): Likewise.
21428         (slow1): Likewise.
21429         (slow2): Likewise.
21430         (sloww): Likewise.
21431         (sloww1); Likewise.
21432         (sloww2): Likewise.
21433         (bsloww1): Likewise.
21434         (bsloww2): Likewise.
21435         (cslow2): Likewise.
21436         (csloww): Likewise.
21437         (csloww1): Likewise.
21438         (csloww2): Likewise.
21440 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21442         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21443         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21444         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21445         * malloc/hooks.c (realloc_check): Likewise.
21447         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21448         * malloc/arena.c: Remove PER_THREAD conditional.
21449         [!PER_THREAD]: Remove code.
21450         (ptmalloc_unlock_all2): Likewise.
21451         (ptmalloc_init): Likewise.
21452         (_int_new_arena): Likewise.
21453         (arena_get2): Likewise.
21454         * malloc/hooks.c (__malloc_get_state): Likewise.
21455         (__malloc_set_state): Likewise.
21456         * malloc/malloc.c: Likewise.
21457         (struct malloc_state): Likewise.
21458         (struct malloc_par): Likewise.
21459         (__libc_realloc): Likewise.
21460         (__libc_mallopt): Likewise.
21462 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21464         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21466 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21468         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21469         macro to a function.  Check for zero perturb_byte.
21470         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21472         * malloc/malloc.c: (force_reg): Remove.
21473         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21474         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21475         force_reg by atomic_forced_read.
21476         * malloc/arena.c (ptmalloc_init): Likewise.
21477         * malloc/hooks.c (top_check): Likewise.
21479 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21483 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21487 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21489         * math/auto-libm-test-in: Add tests of lgamma.
21490         * math/auto-libm-test-out: Regenerated.
21491         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21492         (M_LOG_2_SQRT_PIl): Likewise.
21493         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21494         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21495         mpfr_f_f1.
21496         (func_calc_desc): Add mpfr_f_f1 union field.
21497         (ARGS1): New macro.
21498         (ARGS2): Likewise.
21499         (ARGS3): Likewise.
21500         (ARGS4): Likewise.
21501         (RET1): Likewise.
21502         (RET2): Likewise.
21503         (CALC): Likewise.
21504         (FUNC): Likewise.
21505         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21506         (test_functions): Add lgamma.
21507         (calc_generic_results): Handle mpfr_f_f1.
21508         * sysdeps/i386/fpu/libm-test-ulps: Update.
21509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21511 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21513         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21514         __mpn_add_n for PowerPC64/POWER7.
21515         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21516         __mpn_sub_n for PowerPC64/POWER7.
21518         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21519         __mpn_addmul_1 for PowerPC64.
21520         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21521         __mpn_submul_1 for PowerPC64.
21522         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21523         for PowerPC64.
21524         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21525         for PowerPC64.
21527 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21529         [BZ #15089]
21530         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21532 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21534         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21536         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21537         add multiarch folders.
21538         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21539         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21540         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21541         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21542         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21543         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21544         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21545         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21546         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21547         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21548         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21557         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21559         New file.
21560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21561         New file.
21562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21563         multiarch __ieee754_hypot for PowerPC32.
21564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21565         New file.
21566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21567         New file.
21568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21569         multiarch __ieee754_hypotf for PowerPC32.
21571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21572         long_double_symbol only if __logbl is defined.
21573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21574         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21575         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21576         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21578         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21579         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21580         path for implementation.
21581         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21582         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21584         logb, and logbl multiarch implementations for PowerPC32.
21585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21586         file.
21587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21588         file.
21589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21590         multiarch logb for PowerPC32.
21591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21592         file.
21593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21594         file.
21595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21596         multiarch logbf for PowerPC32.
21597         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21599         file.
21600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21601         multiarch logbl implementation for PowerPC32.
21603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21604         and modff multiarch implementations.
21605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21606         New file.
21607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21608         New file.
21609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21610         multiarch modf for PowerPC32.
21611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21612         New file.
21613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21614         New file.
21615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21616         multiarch modff for PowerPC32.
21618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21619         and lrintf multiarch implementations.
21620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21621         New file.
21622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21623         New file.
21624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21625         multiarch lrint for PowerPC32.
21626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21627         file: multiarch lrintf for PowerPC32.
21629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21630         and lroundf multiarch implementations.
21631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21632         New file.
21633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21634         New file.
21635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21636         New file.
21637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21638         multiarch lround for PowerPC32.
21639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21640         file: multiarch lroundf for PowerPC32.
21642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21643         copysign and copysignf multiarch implementations.
21644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21645         New file.
21646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21647         New file.
21648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21649         file: multiarch copysign for PowerPC32.
21650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21651         file: multiarch copysignf for PowerPC32.
21653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21654         and truncf multiarch implementations.
21655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21656         New file.
21657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21658         file.
21659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21660         multiarch trunc for PowerPC32.
21661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21662         New file.
21663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21664         New file.
21665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21666         multiarch truncf for PowerPC32.
21668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21669         and roundf multiarch implementations.
21670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21671         New file.
21672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21673         file.
21674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21675         multiarch round for PowerPC32.
21676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21677         New file.
21678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21679         New file.
21680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21681         multiarch roundf for PowerPC32.
21683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21684         and floorf multiarch implementations.
21685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21686         New file.
21687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21688         file.
21689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21690         multiarch floor for PowerPC32.
21691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21692         New file.
21693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21694         New file.
21695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21696         multiarch floorf for PowerPC32.
21698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21699         and ceilf multiarch implementations.
21700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21701         New file.
21702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21703         file.
21704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21705         multiarch ceil for PowerPC32.
21706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21707         New file.
21708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21709         file.
21710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21711         multiarch ceilf for PowerPC32.
21713         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21714         is defined.
21715         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21716         FINITEF is defined.
21717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21718         and finitef multiarch implementations.
21719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21720         New file.
21721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21722         file.
21723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21724         multiarch finite for PowerPC32.
21725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21726         New file.
21727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21728         file: multiarch finitef for PowerPC32.
21730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21731         and isinff multiarch implementations.
21732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21733         file.
21734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21735         file.
21736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21737         multiarch isinf for PowerPC32.
21738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21739         New file.
21740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21741         multiarch isinff for PowerPC32.
21743         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21744         alias when __isnan is defined.
21745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21746         and isnanf multiarch implementations.
21747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21748         file.
21749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21750         file.
21751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21752         file.
21753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21754         file.
21755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21756         multiarch isnan for PowerPC32.
21757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21758         New file.
21759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21760         New file.
21761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21762         multiarch isnanf for PowerPC32.
21764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21765         and sqrtf multiarch implementations.
21766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21767         file.
21768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21769         file.
21770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21771         multiarch sqrt for PowerPC32.
21772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21773         file.
21774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21775         file.
21776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21777         multiarch sqrtf for PowerPC32.
21779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21780         and llroundf multiarch implementations.
21781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21782         New file.
21783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21784         New file.
21785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21786         New file.
21787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21788         file: multiarch llround for PowerPC32.
21789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21790         file: multiarch llroundf for PowerPC32.
21792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21793         multiarch PowerPC32 fpu implementations.
21794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21795         New file.
21796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21797         New file.
21798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21799         multiarch llrint for PowerPC32.
21800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21801         New file.
21802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21803         New file.
21804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21805         file.
21807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21809         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21810         file.
21811         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21812         file.
21813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21814         file.
21815         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21816         multiarch wordcopy for PPC32.
21817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21818         wordcopy objects.
21819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21820         (__libc_ifunc_impl_list): Likewise.
21821         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21822         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21823         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21824         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21825         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21826         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21828         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21830         file.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21832         file.
21833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21834         file.
21835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21836         multiarch wcscpy for PPC32.
21837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21838         multiarch objects.
21839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21840         (__libc_ifunc_impl_list): Likewise.
21841         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21842         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21843         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21844         sysdeps/powerpc/power6/wcscpy.c.
21846         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21848         file.
21849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21850         file.
21851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21852         file.
21853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21854         multiarch wcsrchr for PPC32.
21855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21856         multiarch objects.
21857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21858         (__libc_ifunc_impl_list): Likewise.
21859         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21860         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21861         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21862         sysdeps/powerpc/power6/wcsrchr.c.
21864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21865         file.
21866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21867         file.
21868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21870         multiarch wcschr for PPc32.
21871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21872         multiarch objects.
21873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21874         (__libc_ifunc_impl_list): Likewise.
21875         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21876         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21877         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21878         sysdeps/powerpc/power6/wcschr.c.
21880         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21881         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21882         file.
21883         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21884         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21885         file: multiarch strchr for PPC32.
21886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21887         multiarch objects.
21888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21889         (__libc_ifunc_impl_list): Likewise.
21891         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21892         name.
21893         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21894         file.
21895         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21896         file.
21897         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21898         multiarch strchrnul for PPC32.
21899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21900         multiarch objects.
21901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21902         (__libc_ifunc_impl_list): Likewise.
21904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21905         file.
21906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21907         multiarch strncasecmp for PPC32.
21908         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21909         file.
21910         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21911         multiarch strncasecmp_l for PPC32.
21912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21913         strncasecmp multiarch objects.
21914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21915         (__libc_ifunc_impl_list): Likewise.
21917         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21918         file.
21919         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21920         multiarch strncasecmp for PPC32.
21921         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21922         New file.
21923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21924         multiarch strcasecmp_l for PPC32.
21925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21926         multiarch objects.
21927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21928         (__libc_ifunc_impl_list): Likewise.
21930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21931         file.
21932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21933         file.
21934         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21935         multiarch strncmp for PPC32.
21936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21937         multiarch objects.
21938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21939         (__libc_ifunc_impl_list): Likewise.
21941         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21942         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21943         file.
21944         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21945         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21947         multiarch objects.
21948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21949         (__libc_ifunc_impl_list): Likewise.
21951         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21952         file.
21953         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21954         file.
21955         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21957         multiarch objects.
21958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21959         (__libc_ifunc_impl_list): Likewise.
21961         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21962         file.
21963         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21964         file.
21965         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21966         multiarch rawmemchr for PPC32.
21967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21968         multiarch objects.
21969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21970         (__libc_ifunc_impl_list): Likewise.
21972         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21973         file.
21974         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21975         file.
21976         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21977         file: memrchr multiarch for PPC32.
21978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21979         multiarch objects.
21980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21981         (__libc_ifunc_impl_list): Likewise.
21983         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21985         file.
21986         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21988         multiarch memchr for PPC32.
21989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21990         multiarch objects.
21991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21992         (__libc_ifunc_impl_list): Likewise.
21994         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21995         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21996         file.
21997         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21998         file.
21999         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22000         file: multiarch mempcpy for PPC32.
22001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22002         multiarch objects.
22003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22004         (__libc_ifunc_impl_list): Likewise.
22006         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22008         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22010         multiarch bzero for PPC32.
22011         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22012         file.
22013         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22014         file.
22015         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22016         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22017         file: multiarch memset for PPC32.
22018         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22020         memset multiarch objects.
22021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22022         (__libc_ifunc_impl_list): Likewise.
22024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22025         file.
22026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22028         memcmp for PPC32.
22029         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22031         multiarch objects.
22032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22033         (__libc_ifunc_impl_list): Likewise.
22035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22038         file.
22039         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22040         file.
22041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22042         file.
22043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22044         multiarch memcpy for PPC32.
22045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22046         multiarch objects.
22047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22048         (__libc_ifunc_impl_list): Likewise.
22050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22051         support multiarch for POWER/PPC32.
22052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22053         Likewise.
22054         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22056         Implies file to make multiarch folder appers before the fpu and
22057         default folder for power4 configuration.
22059 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22061         * scripts/bench.pl: Append volatile keyword to type.
22063 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22065         * sysdeps/sh/sotruss-lib.c: New file.
22066         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22068 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22072 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
22074         [BZ #6810]
22075         * math/w_tgamma.c: Include <errno.h>.
22076         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
22077         * math/w_tgammaf.c: Include <errno.h>.
22078         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
22079         * math/w_tgammal.c: Include <errno.h>.
22080         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
22081         * math/auto-libm-test-in: Do not allow missing errno on tgamma
22082         underflow.  Add more tgamma tests.
22083         * math/auto-libm-test-out: Regenerated.
22084         * sysdeps/i386/fpu/libm-test-ulps: Update.
22085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22088         sin, sinh, tan, tanh, tgamma, y0 and y1.
22089         * math/auto-libm-test-out: Regenerated.
22090         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22091         (TEST_COND_x86): Likewise.
22092         (M_E2l): Remove macro.
22093         (M_E3l): Likewise.
22094         (M_2_SQRT_PIl): Likewise.
22095         (M_SQRT_PIl): Likewise.
22096         (M_1_DIV_El): Likewise.
22097         (log_test_data): Use AUTO_TESTS_f_f.
22098         (log10_test_data): Likewise.
22099         (log1p_test_data): Likewise.
22100         (log2_test_data): Likewise.
22101         (sin_test_data): Likewise.
22102         (sin_tonearest_test_data): Likewise.
22103         (sin_towardzero_test_data): Likewise.
22104         (sin_downward_test_data): Likewise.
22105         (sin_upward_test_data): Likewise.
22106         (sinh_test_data): Likewise.
22107         (sinh_tonearest_test_data): Likewise.
22108         (sinh_towardzero_test_data): Likewise.
22109         (sinh_downward_test_data): Likewise.
22110         (sinh_upward_test_data): Likewise.
22111         (tan_test_data): Likewise.
22112         (tan_tonearest_test_data): Likewise.
22113         (tan_towardzero_test_data): Likewise.
22114         (tan_downward_test_data): Likewise.
22115         (tan_upward_test_data): Likewise.
22116         (tanh_test_data): Likewise.
22117         (tgamma_test_data): Likewise.
22118         (y0_test_data): Likewise.
22119         (y1_test_data): Likewise.
22120         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22121         (special_real_inputs): Add pi/4.
22122         * sysdeps/i386/fpu/libm-test-ulps: Update.
22123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22125 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22127         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22128         "longjmp_target" static probes.
22129         (__longjmp): Rename to __longjmp_symbol.
22130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22131         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22132         on which longjmp to generate.
22133         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22134         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22135         probe.
22136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22137         (__sigjmp_save): Rename to __sigjmp_save_symbol.
22138         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22139         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22140         and __sigjmp_save_symbol based on which sigsetjmp to generated.
22141         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22143         __longjmp_symbol based on which __longjmp to generate.
22144         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22145         probe.
22146         (setjmp): Rename to setjmp_symbol.
22147         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22148         (_setjmp): Rename to _setjmp_symbol.
22149         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22150         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22151         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22152         which setjmp to generate.
22153         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22154         "longjmp_target" static probes.
22156 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22158         * benchtests/README: Add note about output arguments.
22159         * benchtests/bench-sincos.c: Remove file.
22160         * benchtests/sincos-inputs: New file.
22161         * scripts/bench.pl: Identify output arguments and define
22162         static variables for them.
22164         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22166         [BZ #15941]
22167         * Makefile (INSTALL): Add install-plain.texi as the primary
22168         dependency.
22169         * manual/install-plain.texi: New file.
22170         * manual/install.texi: Include node directive only for
22171         non-plaintext output.
22173 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
22175         * stdlib/longlong.h: Update from GCC.
22177         [BZ #6807]
22178         [BZ #15901]
22179         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22180         * math/w_j0f.c (y0f): Likewise.
22181         * math/w_j0l.c (__y0l): Likewise.
22182         * math/w_j1.c (y1): Likewise.
22183         * math/w_j1f.c (y1f): Likewise.
22184         * math/w_j1l.c (__y1l): Likewise
22185         * math/w_jn.c (yn): Likewise.
22186         * math/w_jnf.c (ynf): Likewise.
22187         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22188         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22189         value for Bessel function domain errors outside _SVID_ mode.
22190         Adjust sign of return value for yn (negative integer, 0).
22191         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22192         by zero in return for negative x and set sign appropriately for
22193         negative n.
22194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22196         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22197         expectations in error cases.
22198         (y1_test_data): Likewise.
22199         (yn_test_data): Likewise.
22200         * sysdeps/i386/fpu/libm-test-ulps: Update.
22201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22203 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22205         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22206         "64" to "64-v1".  Add "64-v2".
22207         (abi-64-options): Rename to ...
22208         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22209         (abi-64-condition): Rename to ...
22210         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22211         (abi-64-ld-soname): Rename to ...
22212         (abi-64-v1-ld-soname): ... this.
22213         (abi-64-v2-options): Define.
22214         (abi-64-v2-condition): Likewise.
22215         (abi-64-v2-ld-soname): Likewise.
22216         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22217         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22222 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22223             Alan Modra  <amodra@gmail.com>
22225         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22226         New versions for use with the ELFv2 ABI.
22227         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22228         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22229         declaration.
22230         (struct La_ppc64v2_retval): Likewise.
22231         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22232         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22233         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22234         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22235         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22236         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22237         Do not save or restore CR.
22238         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22239         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22240         return values for ELFv2 ABI.  Fix location of FPR return registers.
22241         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22242         updated values for _CALL_ELF == 2.
22243         (La_regs, La_retval, int_retval): Likewise.
22245 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22247         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22248         (FRAME_MIN_SIZE_PARM): Likewise.
22249         (FRAME_BACKCHAIN): Likewise.
22250         (FRAME_CR_SAVE): Likewise.
22251         (FRAME_LR_SAVE): Likewise.
22252         (FRAME_TOC_SAVE): Likewise.
22253         (FRAME_PARM_SAVE): Likewise.
22254         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22255         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22256         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22257         (call_mcount_parm_offset): New macro.
22258         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22259         (PROF): Use symbolic stack frame offsets.
22260         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22262         Redefine in terms of FRAME_MIN_SIZE.
22263         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22264         (_dl_profile_resolve): Likewise.  Update comment.
22265         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22266         symbols stack frame offsets.
22267         (__sigsetjmp): Likewise.
22268         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22269         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22270         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22271         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22274         (FRAME_BACKCHAIN): Remove.
22275         (FRAME_CR_SAVE): Likewise.
22276         (FRAME_LR_SAVE): Likewise.
22277         (FRAME_COMPILER_DW): Likewise.
22278         (FRAME_LINKER_DW): Likewise.
22279         (FRAME_TOC_SAVE): Likewise.
22280         (FRAME_PARM_SAVE): Likewise.
22281         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22282         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22283         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22285         (CHECK_SP): Use symbolic stack frame offsets.
22286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22287         zone" instead of caller's parameter save area for temp storage.
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22289         Likewise.  Also, use symbolic stack frame offsets.
22290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22291         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22292         our own stack frame instead of the caller's.
22293         (__socket): Use symbolic stack frame offsets.
22295 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22296             Alan Modra  <amodra@gmail.com>
22298         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22299         Define.
22300         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22301         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22302         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22303         New function.
22304         (elf_machine_fixup_plt): Call it.
22305         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22306         reloc arguments.
22307         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22308         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22309         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22310         r2 before calling target.
22312 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22313             Alan Modra  <amodra@gmail.com>
22315         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22316         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22317         versions of macros to support ELFv2 ABI.
22318         (LOCALENTRY): New macro.
22319         (ENTRY, EALIGN): Use it.
22320         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22321         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22322         fall through into ENTRY entry point.
22323         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22324         Only define if _CALL_ELF != 2.
22326         (elf_machine_matches_host): Verify ABI version matches.
22327         (RTLD_START): Use LOCALENTRY.
22328         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22329         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22330         (PLT_ENTRY_WORDS): New macro.
22331         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22332         (elf_machine_runtime_setup): Support ELFv2 ABI.
22333         (elf_machine_fixup_plt): Likewise.
22334         (elf_machine_plt_conflict): Likewise.
22335         (resolve_ifunc): Likewise.
22336         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22337         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22338         Likewise.
22339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22340         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22342         (makecontext): Support ELFv2 ABI.
22343         * elf/elf.h (EF_PPC64_ABI): Define.
22345 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22347         * sysdeps/powerpc/powerpc64/sysdep.h
22348         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22349         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22350         (ENTRY) [ASSEMBLER]: ... but instead here ...
22351         (EALIGN) [ASSEMBLER]: ... and here.
22352         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22353         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22354         (ENTRY_2) [!ASSEMBLER]: Use it.
22355         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22356         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22357         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22358         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22359         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22361         Use PPC64_LOAD_FUNCPTR.
22363         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22365 2013-12-04  Alan Modra  <amodra@gmail.com>
22367         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22368         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22369         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22370         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22373         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22374         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22375         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22376         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22377         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22379 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22382         (__makecontext): Fix incorrect CFI when backtracing out of
22383         context created via makecontext.
22384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22385         (__setcontext): Fix incorrect CFI during switch to new context.
22386         (__novec_setcontext): Likewise.
22388 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22390         [BZ #4772]
22391         * time/strptime_l.c (__strptime_internal): Allow modifiers
22392         in strptime.
22393         * time/tst-strptime.c (day_tests): Add testcase.
22395 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22397         * scripts/bench.pl: Skip over blank lines.
22399 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22401         [BZ #926]
22402         * manual/time.texi (Calendar Time): Clarify what timezone functions
22403         use.
22405 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22409 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22411         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22412         implementation.
22413         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22414         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22415         * debug/memset_chk.c (__memset_chk): Likewise.
22416         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22417         * debug/strncpy_chk.c: Likewise.
22419 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22421         [BZ #15268]
22422         [BZ #15425]
22423         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22424         (__ieee754_exp): For possibly underflowing results, check size of
22425         result and force underflow exception if required.
22426         * math/auto-libm-test-in: Add more tests of exp.
22427         * math/auto-libm-test-out: Regenerated.
22428         * sysdeps/i386/fpu/libm-test-ulps: Update.
22429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22431         [BZ #16283]
22432         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22433         * math/w_exp2f.c (__exp2f): Likewise.
22434         * math/w_exp2l.c (__exp2l): Likewise.
22435         * math/auto-libm-test-in: Do not allow missing errno on exp2
22436         underflow.
22437         * math/auto-libm-test-out: Regenerated.
22439 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22441         [BZ #16274]
22442         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22443         handle filename validation.
22444         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22445         (do_open): Delete.
22447 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22449         [BZ #6786]
22450         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22451         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22452         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22453         <float.h>.
22454         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22455         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22456         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22457         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22458         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22460         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22461         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22462         Add more erfc tests.
22463         * math/auto-libm-test-out: Regenerated.
22464         * sysdeps/i386/fpu/libm-test-ulps: Update.
22465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22467         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22468         exp2, expm1, j0 and j1.
22469         * math/auto-libm-test-out: Regenerated.
22470         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22471         (erfc_test_data): Likewise.
22472         (exp_test_data): Likewise.
22473         (exp_tonearest_test_data): Likewise.
22474         (exp_towardzero_test_data): Likewise.
22475         (exp_downward_test_data): Likewise.
22476         (exp_upward_test_data): Likewise.
22477         (exp10_test_data): Likewise.
22478         (exp2_test_data): Likewise.
22479         (expm1_test_data): Likewise.
22480         (j0_test_data): Likewise.
22481         (j1_test_data): Likewise.
22482         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22483         (input_flag_type): Add flag_xfail_rounding.
22484         (input_flags): Add xfail-rounding.
22485         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22486         (output_for_one_input_case): Handle flag_xfail_rounding.
22487         * sysdeps/i386/fpu/libm-test-ulps: Update.
22488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22490 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22492         [BZ #16289]
22493         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22494         division by 0.
22496 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22498         [BZ #16195]
22499         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22500         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22501         (STAP_PROBE0): New macro.
22502         (STAP_PROBE1): Likewise.
22503         (STAP_PROBE2): Likewise.
22504         (STAP_PROBE3): Likewise.
22505         (STAP_PROBE4): Likewise.
22507 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22509         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22511 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22513         * benchtests/Makefile (bench): Add sqrt.
22514         (LDLIBS-bench-sqrt): New.
22515         * benchtests/sqrt-input: New.
22517 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22519         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22520         (GAIH_EAI): Likewise.
22521         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22522         (gaih_inet): Likewise.
22523         (getaddrinfo): Don't use GAIH_EAI.
22525         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22526         (struct gaih): Remove definition.
22528 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22530         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22531         Use HERRNOP directly.
22533 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22537 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22539         * math/gen-auto-libm-tests.c (test_functions): Add more
22540         single-argument functions.
22541         (special_fill_pi_2): New function.
22542         (special_fill_minus_pi_2): Likewise.
22543         (special_fill_pi_6): Likewise.
22544         (special_fill_minus_pi_6): Likewise.
22545         (special_fill_pi_3): Likewise.
22546         (special_fill_2pi_3): Likewise.
22547         (special_fill_e): Likewise.
22548         (special_fill_1_e): Likewise.
22549         (special_fill_e_minus_1): Likewise.
22550         (special_real_inputs): Add more special inputs.
22551         (output_for_one_input_case): Do not require ERANGE on underflow to
22552         zero if round-to-nearest result does not underflow to zero, unless
22553         exact results required.
22554         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22555         atan, atanh, cbrt, cos and cosh.
22556         * math/auto-libm-test-out: Regenerated.
22557         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22558         (acos_tonearest_test_data): Likewise.
22559         (acos_towardzero_test_data): Likewise.
22560         (acos_downward_test_data): Likewise.
22561         (acos_upward_test_data): Likewise.
22562         (acosh_test_data): Likewise.
22563         (asin_test_data): Likewise.
22564         (asin_tonearest_test_data): Likewise.
22565         (asin_towardzero_test_data): Likewise.
22566         (asin_upward_test_data): Likewise.
22567         (asinh_test_data): Likewise.
22568         (atan_test_data): Likewise.
22569         (atanh_test_data): Likewise.
22570         (cbrt_test_data): Likewise.
22571         (cos_test_data): Likewise.
22572         (cos_tonearest_test_data): Likewise.
22573         (cos_towardzero_test_data): Likewise.
22574         (cos_downward_test_data): Likewise.
22575         (cos_upward_test_data): Likewise.
22576         (cosh_test_data): Likewise.
22577         (cosh_tonearest_test_data): Likewise.
22578         (cosh_towardzero_test_data): Likewise.
22579         (cosh_downward_test_data): Likewise.
22580         (cosh_upward_test_data): Likewise.
22581         * sysdeps/i386/fpu/libm-test-ulps: Update.
22582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22584 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22586         [BZ #6787]
22587         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22588         * math/w_exp10f.c (__exp10f): Likewise.
22589         * math/w_exp10l.c (__exp10l): Likewise.
22590         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22591         errno settings in existing tests.
22593         [BZ #14032]
22594         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22595         precision control set to double precision.
22596         * sysdeps/i386/fpu/w_sqrt.c: New file.
22597         * math/auto-libm-test-in: Add more tests.
22598         * math/auto-libm-test-out: Update.
22600         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22601         (sqrt_test_tonearest): New function.
22602         (sqrt_towardzero_test_data): New variable.
22603         (sqrt_test_towardzero): New function.
22604         (sqrt_downward_test_data): New variable.
22605         (sqrt_test_downward): New function.
22606         (sqrt_upward_test_data): New variable.
22607         (sqrt_test_upward): New function.
22608         (main): Call the new functions.
22610         * math/gen-auto-libm-tests.c: New file.
22611         * math/auto-libm-test-in: Likewise.
22612         * math/auto-libm-test-out: New generated file.
22613         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22614         variables.
22615         (%beautify): Add generated representations of zero.
22616         (top level): Set $auto_input and call parse_auto_input.
22617         (beautify): Remove trailing "f" from hex float constants.
22618         (parse_args): Handle XFAIL_TEST.
22619         (convert_condition): New function.
22620         (or_value): Likewise.
22621         (or_cond_value): Likewise.
22622         (generate_testfile): Handle AUTO_TESTS_* lines.
22623         (parse_auto_input): New function.
22624         * math/libm-test.inc (XFAIL_TEST): New macro.
22625         (ERRNO_UNCHANGED): Update value.
22626         (ERRNO_EDOM): Likewise.
22627         (ERRNO_ERANGE): Likewise.
22628         (IGNORE_RESULT): Likewise.
22629         (TEST_COND_flt_32): New macro.
22630         (TEST_COND_dbl_64): Likewise.
22631         (TEST_COND_ldbl_96_intel): Likewise.
22632         (TEST_COND_ldbl_96_m68k): Likewise.
22633         (TEST_COND_ldbl_128): Likewise.
22634         (TEST_COND_ldbl_128ibm): Likewise.
22635         (TEST_COND_long32): Likewise.
22636         (TEST_COND_long64): Likewise.
22637         (TEST_COND_before_rounding): Likewise.
22638         (TEST_COND_after_rounding): Likewise.
22639         (enable_test): Handle XFAIL_TEST flag.
22640         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22641         with finite results.
22642         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22643         auto-libm-test-out.
22645 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22646             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22648         [BZ #16214]
22649         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22650         __tls_get_addr_internal instead of __tls_get_offset in order to
22651         avoid GOT pointer dependency.  Make rtld export
22652         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22653         __tls_get_addr since we are a __tls_get_offset platform.
22654         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22655         GOT pointer being set up before.
22656         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22658 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22660         * manual/math.texi (Errors in Math Functions): Document accuracy
22661         goals.
22663         [BZ #15004]
22664         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22665         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22666         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22667         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22668         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22669         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22670         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22671         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22672         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22673         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22674         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22675         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22676         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22677         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22679         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22681         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22682         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22683         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22684         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22685         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22686         Likewise.
22687         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22688         Likewise.
22689         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22690         Likewise.
22691         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22692         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22693         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22694         atomic-feupdateenv and flt-rounds.
22695         * sysdeps/powerpc/nofpu/Versions (libc): Add
22696         __atomic_feholdexcept, __atomic_feclearexcept,
22697         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22698         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22699         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22700         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22701         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22702         here.
22703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22704         Update.
22706         * manual/arith.texi (FP Exceptions): Document that exceptions may
22707         not be raised when matherr is used.
22708         (Math Error Reporting): Document overflow in directed rounding
22709         modes.  Document that errno may not be set when finite values are
22710         returned on overflow.  Document intent to set errno on underflow
22711         only for underflow to zero.
22713         [BZ #16271]
22714         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22715         round-to-nearest then adjust result for other rounding modes.
22716         * include/fenv.h (fegetround): Use libm_hidden_proto.
22717         * math/fegetround.c (fegetround): Use libm_hidden_def.
22718         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22719         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22720         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22721         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22722         Likewise.
22723         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22724         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22725         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22726         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22728 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22730         [BZ #16077]
22731         * nss/Versions (libnss_files): Add
22732         _nss_files_gethostbyname3_r.
22733         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22734         New function.
22735         (HOST_DB_LOOKUP): Remove macro.
22736         (_nss_files_gethostbyname_r): Implement function without the
22737         HOST_DB_LOOKUP macro.
22738         (_nss_files_gethostbyname2_r): Likewise.
22740 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22742         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22744 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22746         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22747         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22748         warning.
22750 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22752         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22753         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22754         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22755         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22756         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22757         __fe_nomask_env_priv and attribute_hidden.
22758         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22759         (libc_feupdateenv_test_ppc): Likewise.
22760         (libc_feresetround_ppc): Likewise.
22761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22762         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22763         compat_symbol macro.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22765         (__fe_nomask_env): Likewise.
22766         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22768 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22770         * string/Makefile: Remove ifunc tests.
22771         * string/test-string.h: Define TEST_IFUNC.
22772         * string/test-bcopy-ifunc.c: Remove.
22773         * string/test-bzero-ifunc.c: Likewise.
22774         * string/test-memccpy-ifunc.c: Likewise.
22775         * string/test-memchr-ifunc.c: Likewise.
22776         * string/test-memcmp-ifunc.c: Likewise.
22777         * string/test-memcpy-ifunc.c: Likewise.
22778         * string/test-memmem-ifunc.c: Likewise.
22779         * string/test-memmove-ifunc.c: Likewise.
22780         * string/test-mempcpy-ifunc.c: Likewise.
22781         * string/test-memrchr-ifunc.c: Likewise.
22782         * string/test-memset-ifunc.c: Likewise.
22783         * string/test-rawmemchr-ifunc.c: Likewise.
22784         * string/test-stpcpy-ifunc.c: Likewise.
22785         * string/test-stpncpy-ifunc.c: Likewise.
22786         * string/test-strcasecmp-ifunc.c: Likewise.
22787         * string/test-strcasestr-ifunc.c: Likewise.
22788         * string/test-strcat-ifunc.c: Likewise.
22789         * string/test-strchr-ifunc.c: Likewise.
22790         * string/test-strchrnul-ifunc.c: Likewise.
22791         * string/test-strcmp-ifunc.c: Likewise.
22792         * string/test-strcpy-ifunc.c: Likewise.
22793         * string/test-strcspn-ifunc.c: Likewise.
22794         * string/test-strlen-ifunc.c: Likewise.
22795         * string/test-strncasecmp-ifunc.c: Likewise.
22796         * string/test-strncat-ifunc.c: Likewise.
22797         * string/test-strncmp-ifunc.c: Likewise.
22798         * string/test-strncpy-ifunc.c: Likewise.
22799         * string/test-strnlen-ifunc.c: Likewise.
22800         * string/test-strpbrk-ifunc.c: Likewise.
22801         * string/test-strrchr-ifunc.c: Likewise.
22802         * string/test-strspn-ifunc.c: Likewise.
22803         * string/test-strstr-ifunc.c: Likewise.
22805 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22807         * benchtests/Makefile: Remove ifunc tests.
22808         * benchtests/bench-string.h: Define TEST_IFUNC.
22809         * benchtests/bench-bcopy-ifunc.c: Remove.
22810         * benchtests/bench-bzero-ifunc.c: Likewise.
22811         * benchtests/bench-memccpy-ifunc.c: Likewise.
22812         * benchtests/bench-memchr-ifunc.c: Likewise.
22813         * benchtests/bench-memcmp-ifunc.c: Likewise.
22814         * benchtests/bench-memcpy-ifunc.c: Likewise.
22815         * benchtests/bench-memmem-ifunc.c: Likewise.
22816         * benchtests/bench-memmove-ifunc.c: Likewise.
22817         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22818         * benchtests/bench-memrchr-ifunc.c: Likewise.
22819         * benchtests/bench-memset-ifunc.c: Likewise.
22820         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22821         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22822         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22823         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22824         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22825         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22826         * benchtests/bench-strcat-ifunc.c: Likewise.
22827         * benchtests/bench-strchr-ifunc.c: Likewise.
22828         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22829         * benchtests/bench-strcmp-ifunc.c: Likewise.
22830         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22831         * benchtests/bench-strcpy-ifunc.c: Likewise.
22832         * benchtests/bench-strcspn-ifunc.c: Likewise.
22833         * benchtests/bench-strlen-ifunc.c: Likewise.
22834         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22835         * benchtests/bench-strncat-ifunc.c: Likewise.
22836         * benchtests/bench-strncmp-ifunc.c: Likewise.
22837         * benchtests/bench-strncpy-ifunc.c: Likewise.
22838         * benchtests/bench-strnlen-ifunc.c: Likewise.
22839         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22840         * benchtests/bench-strrchr-ifunc.c: Likewise.
22841         * benchtests/bench-strsep-ifunc.c: Likewise.
22842         * benchtests/bench-strspn-ifunc.c: Likewise.
22843         * benchtests/bench-strstr-ifunc.c: Likewise.
22845 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22847         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22849 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22851         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22852         * rt/aio.h: Likewise.
22853         * sysdeps/gnu/bits/utmp.h: Likewise.
22854         * sysdeps/gnu/bits/utmpx.h: Likewise.
22855         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22856         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22857         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22858         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22859         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22860         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22861         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22862         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22863         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22865         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22866         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22867         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22869         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22870         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22871         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22872         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22873         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22874         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22875         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22876         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22877         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22878         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22879         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22881         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22882         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22883         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22884         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22885         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22886         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22887         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22888         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22889         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22890         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22891         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22892         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22893         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22894         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22895         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22896         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22898 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22900         [BZ #16245]
22901         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22902         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22904 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22906         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22907         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22908         Likewise.
22910 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22912         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22913         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22914         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22915         (__fesetround): Remove define.
22916         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22917         rounding and exceptions handling.
22918         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22919         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22920         (__fe_nomask_env): Likewise.
22921         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22922         __fegetround instead of fegetround.
22923         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22924         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22926 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22928         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22929         it's there.
22931         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22933 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22935         [BZ #11157]
22936         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22937         (encrypt_r): Likewise.
22938         * malloc/obstack.h (obstack_free): Likewise.
22939         * posix/unistd.h (encrypt): Likewise.
22941 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22943         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22944         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22945         DL_CALL_DT_FINI() that call the functions directly.
22946         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22947         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22948         * elf/dl-fini.c: Likewise.
22950 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22952         * malloc/hooks.c (memalign_check): Add alignment rounding.
22953         * malloc/malloc.c (_mid_memalign): New function.
22954         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22955         Implement by calling _mid_memalign.
22956         * manual/probes.texi (Memory Allocation Probes): Remove
22957         memory_valloc_retry and memory_pvalloc_retry.
22959 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22961         * locale/programs/locarchive.c (open_archive): Add const
22962         qualifier to ARCHIVEFNAME and copy default fname to
22963         DEFAULT_FNAME.
22965         [BZ #15601]
22966         * libio/tst-widetext.input: Rename Oriya to Odia.
22967         * locale/iso-639.def: Likewise.
22969         * manual/probes.texi (Mathematical Function Probes): Add
22970         documentation for sin, cos, asin and acos probes.
22971         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22972         (__sin32): Add slowasin probe.
22973         (__cos32): Add slowacos probe.
22974         (__mpsin): Add slowsin probe.
22975         (__mpcos): Add slowcos probe.
22977 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22979         [BZ #15483]
22980         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22981         thread-local __sim_exceptions_thread and global
22982         __sim_exceptions_global.
22983         (__sim_disabled_exceptions): Change to thread-local
22984         __sim_disabled_exceptions_thread and global
22985         __sim_disabled_exceptions_global.
22986         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22987         and global __sim_round_mode_global.
22988         (__simulate_exceptions): Use thread-local floating-point state and
22989         set global state from it as needed.
22990         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22991         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22992         __sim_round_mode_thread.
22993         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22994         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22995         and global __sim_exceptions_global.
22996         (__sim_disabled_exceptions): Change to thread-local
22997         __sim_disabled_exceptions_thread and global
22998         __sim_disabled_exceptions_global.
22999         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23000         and global __sim_round_mode_global.
23001         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23002         (SIM_SET_GLOBAL): Likewise.
23003         * sysdeps/powerpc/soft-fp/sfp-machine.h
23004         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23005         __sim_round_mode_thread.
23006         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23007         __sim_disabled_exceptions_thread.
23008         (__sim_exceptions): Change to __sim_exceptions_thread.
23009         (__sim_disabled_exceptions): Change to
23010         __sim_disabled_exceptions_thread.
23011         (__sim_round_mode): Change to __sim_round_mode_thread.
23012         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23013         thread-local floating-point state and set global state from it as
23014         needed.
23015         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23016         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23017         (__sim_disabled_exceptions): Remove extern declaration.
23018         (feenableexcept): Use thread-local floating-point state and set
23019         global state from it as needed.
23020         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23021         extern declaration.
23022         (__sim_disabled_exceptions): Likewise.
23023         (__sim_round_mode): Likewise.
23024         (__fegetenv): Use thread-local floating-point state.
23025         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23026         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23027         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23028         floating-point state and set global state from it as needed.
23029         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23030         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23031         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23032         Likewise.
23033         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23034         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23035         Likewise.
23036         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23037         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23038         Use __sim_round_mode_thread.
23039         * math/test-fenv-tls.c: New file.
23040         * math/Makefile (tests): Add test-fenv-tls.
23041         ($(objpfx)test-fenv-tls): Depend on
23042         $(common-objpfx)nptl/libpthread.so.
23044 2013-11-19  Andreas Schwab  <schwab@suse.de>
23046         * locale/programs/locale.c (show_info): Decode wordarray elements.
23047         * locale/categories.def (LC_MONETARY): Add element for
23048         _NL_MONETARY_CRNCYSTR.
23049         * locale/C-monetary.c (conversion_rate): New variable.
23050         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23051         element.
23053 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
23055         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23056         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23058 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23060         * elf/Makefile (tst-auxv): New test.
23061         * elf/tst-auxv.c: New
23062         * elf/rtld.c (dl_main): Adjust AT_EXECFN
23064 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
23066         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23067         (hidden_proto): Caller changed.
23068         (hidden_tls_proto): New macro.
23069         (libc_hidden_tls_proto): Likewise.
23070         (rtld_hidden_tls_proto): Likewise.
23071         (libm_hidden_tls_proto): Likewise.
23072         (libresolv_hidden_tls_proto): Likewise.
23073         (librt_hidden_tls_proto): Likewise.
23074         (libdl_hidden_tls_proto): Likewise.
23075         (libnss_files_hidden_tls_proto): Likewise.
23076         (libnsl_hidden_tls_proto): Likewise.
23077         (libnss_nisplus_hidden_tls_proto): Likewise.
23078         (libutil_hidden_tls_proto): Likewise.
23080 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
23082         [BZ #10253]
23083         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23084         (decompose_rpath): Defer expansion to fillin_rpath.
23085         (_dl_init_paths): Pass linkmap to fillin_rpath.
23087 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23089         * benchtests/Makefile: Add strsep.
23090         * benchtests/bench-strsep.c: New file: strsep benchtest.
23091         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23093 2013-11-18  Andreas Schwab  <schwab@suse.de>
23095         * locale/programs/locale.c (show_info) [case byte]: Check for
23096         '\377' instead of '\177'.
23097         * locale/C-monetary.c (not_available): Always use "\377".
23098         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23099         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
23100         detect unavailable sign_posn locale elements.
23101         * locale/localeconv.c (__localeconv): For grouping and
23102         mon_grouping handle "\177" and "\377" like no grouping.
23103         (INT_ELEM): New macro.  Use it to set all numeric members.
23104         * locale/programs/ld-monetary.c (monetary_read)
23105         <tok_mon_grouping>: Normalize single -1 to the empty string.
23106         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23107         Likewise.
23109 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23111         [BZ #16055]
23112         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23113         when we match (nil).
23114         * stdio-common/tst-sscanf.c (struct test): Add testcase.
23116 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
23118         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23119         (NO_TEST_INLINE): Update value.
23120         (ERRNO_UNCHANGED): Likewise.
23121         (ERRNO_EDOM): Likewise.
23122         (ERRNO_ERANGE): Likewise.
23123         (IGNORE_RESULT): Likewise.
23124         (check_float_internal): Check signs of NaN results if
23125         TEST_NAN_SIGN used.
23126         (check_complex): Pass TEST_NAN_SIGN flag through to second
23127         check_float_internal call.
23128         (copysign_test_data): Add tests with quiet NaNs as second
23129         argument.  Use TEST_NAN_SIGN.
23130         (fabs_test_data): Add test of negative quiet NaN argument.  Use
23131         TEST_NAN_SIGN.
23132         (signbit_test_data): Add tests of quiet NaN argument.
23133         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23135         * math/gen-libm-test.pl (show_exceptions): Take extra argument
23136         $ignore_result.
23137         (parse_args): Handle function results specified as IGNORE.
23138         * math/libm-test.inc (IGNORE_RESULT): New macro.
23139         (check_float_internal): Do not check numerical result if flag
23140         IGNORE_RESULT set.
23141         (check_complex): Pass through IGNORE_RESULT to second
23142         check_float_internal call.
23143         (check_int): Do not check numerical result if flag IGNORE_RESULT
23144         set.
23145         (check_long): Likewise.
23146         (check_bool): Likewise.
23147         (check_longlong): Likewise.
23148         (lrint_test_data): Add tests of infinite and NaN arguments.
23149         (lrint_tonearest_test_data): Likewise.
23150         (lrint_towardzero_test_data): Likewise.
23151         (lrint_downward_test_data): Likewise.
23152         (lrint_upward_test_data): Likewise.
23153         (llrint_test_data): Likewise.
23154         (llrint_tonearest_test_data): Likewise.
23155         (llrint_towardzero_test_data): Likewise.
23156         (llrint_downward_test_data): Likewise.
23157         (llrint_upward_test_data): Likewise.
23158         (lround_test_data): Likewise.
23159         (llround_test_data): Likewise.
23161         * math/libm-test.inc (NO_TEST_INLINE): New macro.
23162         (ERRNO_UNCHANGED): Update value.
23163         (ERRNO_EDOM): Likewise.
23164         (ERRNO_ERANGE): Likewise.
23165         (NO_TEST_INLINE_FLOAT): New macro.
23166         (NO_TEST_INLINE_DOUBLE): Likewise.
23167         (enable_test): New function.
23168         (RUN_TEST_f_f): Check enable_test before running test.
23169         (RUN_TEST_2_f): Likewise.
23170         (RUN_TEST_fff_f): Likewise.
23171         (RUN_TEST_c_f): Likewise.
23172         (RUN_TEST_f_f1): Likewise.
23173         (RUN_TEST_fF_f1): Likewise.
23174         (RUN_TEST_fI_f1): Likewise.
23175         (RUN_TEST_ffI_f1): Likewise.
23176         (RUN_TEST_c_c): Likewise.
23177         (RUN_TEST_cc_c): Likewise.
23178         (RUN_TEST_f_i): Likewise.
23179         (RUN_TEST_f_i_tg): Likewise.
23180         (RUN_TEST_ff_i_tg): Likewise.
23181         (RUN_TEST_f_b): Likewise.
23182         (RUN_TEST_f_b_tg): Likewise.
23183         (RUN_TEST_f_l): Likewise.
23184         (RUN_TEST_f_L): Likewise.
23185         (RUN_TEST_fFF_11): Likewise.
23186         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23187         conditionals.
23188         (cosh_test_data): Likewise.
23189         (exp_test_data): Likewise.
23190         (expm1_test_data): Likewise.
23191         (hypot_test_data): Likewise.
23192         (pow_test_data): Likewise.
23193         (sinh_test_data): Likewise.
23194         (tanh_test_data): Likewise.
23195         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23196         flags argument.
23198         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23199         tests with quiet NaN input and output.
23200         (acosh_test_data): Likewise.
23201         (asin_test_data): Likewise.
23202         (asinh_test_data): Likewise.
23203         (atan_test_data): Likewise.
23204         (atanh_test_data): Likewise.
23205         (atan2_test_data): Likewise.
23206         (cbrt_test_data): Likewise.
23207         (cos_test_data): Likewise.
23208         (cosh_test_data): Likewise.
23209         (erf_test_data): Likewise.
23210         (erfc_test_data): Likewise.
23211         (exp_test_data): Likewise.
23212         (exp10_test_data): Likewise.
23213         (exp2_test_data): Likewise.
23214         (expm1_test_data): Likewise.
23215         (hypot_test_data): Likewise.
23216         (j0_test_data): Likewise.
23217         (j1_test_data): Likewise.
23218         (jn_test_data): Likewise.
23219         (lgamma_test_data): Likewise.
23220         (log_test_data): Likewise.
23221         (log10_test_data): Likewise.
23222         (log1p_test_data): Likewise.
23223         (log2_test_data): Likewise.
23224         (pow_test_data): Likewise.
23225         (scalb_test_data): Likewise.
23226         (sin_test_data): Likewise.
23227         (sincos_test_data): Likewise.
23228         (sinh_test_data): Likewise.
23229         (tan_test_data): Likewise.
23230         (tanh_test_data): Likewise.
23231         (tgamma_test_data): Likewise.
23232         (y0_test_data): Likewise.
23233         (y1_test_data): Likewise.
23234         (yn_test_data): Likewise.
23236         [BZ #16167]
23237         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23238         argument being NaN and avoid computations with second argument in
23239         that case.
23240         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23241         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23242         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23244 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23246         * locale/iso-639.def: Add Chitwani Tharu (the).
23248 2013-11-14  Andreas Schwab  <schwab@suse.de>
23250         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23251         word instead of empty string.
23253 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23256         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23258         (__fe_nomask_env): Likewise.
23260 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23262         * benchtests/bench-timing.h: Include time.h.
23264 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23266         [BZ #15997]
23267         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23268         to 3.4.0 for x32.
23269         * sysdeps/unix/sysv/linux/configure: Regenerated.
23271 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23273         [BZ #16151]
23274         * stdlib/strtod_l.c (round_and_return): Do not consider
23275         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23276         exponent one less than half the least subnormal exponent.
23277         * stdlib/test-strtod-round-data: Add more tests.
23278         * stdlib/tst-strtod-round.c (tests): Regenerated.
23280 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23282         [BZ #14143]
23283         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23284         (__fe_mask_env): Likewise.
23285         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23286         libm_hidden_proto and add function prototype.
23287         (__fe_mask_env): Add function prototype.
23288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23289         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23291         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23293         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23295 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23297         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23298         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23300 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23302         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23303         of htab_find_slot().
23305 2013-11-11  David S. Miller  <davem@davemloft.net>
23307         [BZ #16150]
23308         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23309         symbol in the non-vis3 case in static builds.
23310         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23311         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23312         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23313         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23315 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23317         [BZ #387]
23318         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23319         it is empty.
23321 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23323         * benchtests/Makefile: Add bench-strtod.
23324         * benchtests/bench-strtod.c: New file: strtod benchtest
23326 2013-11-11  Andreas Schwab  <schwab@suse.de>
23328         [BZ #16153]
23329         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23330         terminating NUL in key length.
23332 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23335         Add artificial ODP entry for vDSO symbol for PPC64.
23336         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23337         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23339 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23341         [BZ #15374]
23342         * nss/getent.c (services_keys): Recognize services starting with digit.
23344 2013-11-06  David S. Miller  <davem@davemloft.net>
23346         [BZ #15985]
23347         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23348         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23350 2013-11-06  Will Newton  <will.newton@linaro.org>
23352         * manual/memory.texi (Malloc Examples): Remove register
23353         keyword from examples.
23355 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23357         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23359 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23361         [BZ #6981]
23362         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23363         depending on [__GCC_IEC_559 > 0].
23364         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23365         depending on [__GCC_IEC_559_COMPLEX > 0].
23367 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23369         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23370         to iso-639.def.
23372 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23374         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23376 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23378         [BZ #16112]
23379         * malloc/malloc (malloc_info): Do not handle first bin as
23380         special case.
23382 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23384         * locale/iso-639.def: Add Central Nahuatl (nhn).
23386 2013-11-01  Bruno Haible  <bruno@clisp.org>
23388         [BZ #7003]
23389         * manual/math.texi (BSD Random): Specify range upper bound as
23390         in POSIX.
23392 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23394         * locale/iso-639.def: Add Meadow Mari (mhr).
23396 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23398         [BZ #14752], [BZ #15763]
23399         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23400         Validate name.
23401         * rt/tst_shm.c: Add test for escaping directory.
23403 2013-10-31  Andreas Schwab  <schwab@suse.de>
23405         [BZ #15917]
23406         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23407         followed by 'x' as part of digit sequence.
23408         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23410 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23412         [BZ #16037]
23413         * configure.ac: allow GNU Make 4.0 and greater.
23414         * configure: Regenerated.
23416 2013-10-30  Will Newton  <will.newton@linaro.org>
23418         [BZ #16038]
23419         * malloc/hooks.c (memalign_check): Limit alignment to the
23420         maximum representable power of two.
23421         * malloc/malloc.c (__libc_memalign): Likewise.
23422         * malloc/tst-memalign.c (do_test): Add test for very
23423         large alignment values.
23424         * malloc/tst-posix_memalign.c (do_test): Likewise.
23426 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23428         [BZ #11087]
23429         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23430         (munmap_chunk): Likewise.
23431         (mremap_chunk): Likewise.
23433 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23435         [BZ #15799]
23436         * stdlib/div.c (div): Remove obsolete code.
23437         * stdlib/ldiv.c (ldiv): Likewise.
23438         * stdlib/lldiv.c (lldiv): Likewise.
23440 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23442         [BZ #16071]
23443         * nss/nss_files/files-XXX.c (get_contents_ret): New
23444         enumerator.
23445         (get_contents): New function.
23446         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23448 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23450         * configure.in: Moved to ...
23451         * configure.ac: ... here. Change reference to configure.in
23452         to configure.ac.
23453         * sysdeps/arm/preconfigure.ac: ... here.
23454         configure.in to configure.ac.
23455         * sysdeps/gnu/configure.in: Moved to ...
23456         * sysdeps/gnu/configure.ac: ... here.
23457         * sysdeps/i386/configure.in: Moved to ...
23458         * sysdeps/i386/configure.ac: ... here.
23459         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23460         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23461         * sysdeps/mach/configure.in: Moved to ...
23462         * sysdeps/mach/configure.ac: ... here.
23463         * sysdeps/mach/hurd/configure.in: Moved to ...
23464         * sysdeps/mach/hurd/configure.ac: ... here.
23465         * sysdeps/powerpc/configure.in: Moved to ...
23466         * sysdeps/powerpc/configure.ac: ... here.
23467         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23468         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23469         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23470         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23471         * sysdeps/s390/s390-32/configure.in: Moved to ...
23472         * sysdeps/s390/s390-32/configure.ac: ... here.
23473         * sysdeps/s390/s390-64/configure.in: Moved to ...
23474         * sysdeps/s390/s390-64/configure.ac: ... here.
23475         * sysdeps/sh/configure.in: Moved to ...
23476         * sysdeps/sh/configure.ac: ... here.
23477         * sysdeps/sparc/configure.in: Moved to ...
23478         * sysdeps/sparc/configure.ac: ... here.
23479         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23480         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23481         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23482         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23483         * sysdeps/x86_64/configure.in: Moved to ...
23484         * sysdeps/x86_64/configure.ac: ... here.
23485         * sysdeps/x86_64/preconfigure.in: Moved to ...
23486         * sysdeps/x86_64/preconfigure.ac: ... here.
23487         * aclocal.m4: Change reference to configure.in to configure.ac.
23488         * config.h.in: Likewise.
23489         * manual/install.texi: Likewise.
23490         * manual/maint.texi: Likewise.
23491         * Makefile: Likewise.
23492         * malloc/Makefile: Likewise.
23493         * nscd/Makefile: Likewise.
23494         * Makeconfig: Change reference to configure.in and
23495         preconfigure.in to configure.ac and preconfigure.ac
23496         respectively.
23497         * INSTALL: Regenerated.
23498         * configure: Likewise.
23499         * sysdeps/gnu/configure: Likewise.
23500         * sysdeps/i386/configure: Likewise.
23501         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23502         * sysdeps/mach/configure: Likewise.
23503         * sysdeps/mach/hurd/configure: Likewise.
23504         * sysdeps/powerpc/configure: Likewise.
23505         * sysdeps/powerpc/powerpc32/configure: Likewise.
23506         * sysdeps/powerpc/powerpc64/configure: Likewise.
23507         * sysdeps/s390/s390-32/configure: Likewise.
23508         * sysdeps/s390/s390-64/configure: Likewise.
23509         * sysdeps/sh/configure: Likewise.
23510         * sysdeps/sparc/configure: Likewise.
23511         * sysdeps/unix/sysv/linux/configure: Likewise.
23512         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23513         * sysdeps/x86_64/configure: Likewise.
23514         * sysdeps/x86_64/preconfigure: Likewise.
23516 2013-10-29  Andreas Schwab  <schwab@suse.de>
23518         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23520 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23522         * benchtests/pow-inputs: Add new inputs.
23524         * benchtests/exp-inputs: Add new inputs.
23526         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23527         conditional check for return value.
23528         (__cos32): Likewise.
23530 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23532         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23533         to provide a boost for large inputs with word alignment.
23534         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23535         implementation based on optimized PPC64 strcpy.
23536         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23537         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23538         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23539         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23541 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23543         [BZ #2801]
23544         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23546 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23548         [BZ #14876]
23549         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23550         * time/tst-strptime.c (day_tests): Add testcase.
23552 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23554         [BZ #14029]
23555         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23557 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23559         [BZ #16074]
23560         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23561         MAP_FAILED on error.
23563 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23565         [BZ #16072]
23566         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23567         heap for large requests.
23569 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23571         [BZ #9954]
23572         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23573         result if the result has no associated interface.
23574         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23575         interface for all 127.X.Y.Z addresses.
23577 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23579         * locale/iso-639.def: Add Ligurian (lij)
23581 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23583         [BZ #15825]
23584         * sunrpc/rpc_main.c: Document rpcgen -5.
23586 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23588         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23590 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23592         [BZ #10278]
23593         * posix/glob.c: Match only directories when trailing slash is present.
23594         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23595         (main): Add testcase.
23597 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23599         [BZ #15670]
23600         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23602 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23604         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23605         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23606         AUTH_DES and cindex for FIPS 140-2.
23607         (DES Encryption): Add cindex FIPS 46-3.
23609         * locale/locarchive.h (struct locarhandle): Add fname.
23610         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23611         if an optional argument was specified to --list-archive,
23612         otherwise NULL.
23613         * locale/programs/locarchive.c (show_archive_content): Take new
23614         argument fname and pass it via ah.fname to open_archive.
23615         * locale/programs/localedef.h: Update decl.
23616         (open_archive): If AH->fname is non-null, open that file
23617         rather than the default file name, and don't ignore ENOENT.
23618         (create_archive): Set AH.fname to NULL.
23619         (delete_locales_from_archive): Likewise.
23620         (add_locales_to_archive): Likewise.
23621         * locale/programs/locfile.c (write_all_categories): Likewise.
23623 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23624             Aldy Hernandez  <aldyh@redhat.com>
23626         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23627         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23628         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23629         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23630         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23631         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23634         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23635         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23636         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23637         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23639         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23640         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23641         Likewise.
23642         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23643         Likewise.
23644         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23645         Likewise.
23646         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23647         Likewise.
23648         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23649         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23650         Likewise.
23651         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23652         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23653         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23654         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23655         Likewise.
23656         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23657         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23658         * sysdeps/powerpc/preconfigure: Likewise.
23659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23660         Likewise.
23661         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23662         Replace contents of file by #include of <fenv_libc.h>.
23663         * sysdeps/powerpc/soft-fp/sfp-machine.h
23664         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23665         and <sys/prctl.h>.
23666         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23667         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23669         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23679         Allow copysignl PLT reference to be missing.
23681 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23682             Joseph Myers  <joseph@codesourcery.com
23684         [BZ #15948]
23685         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23686         single character.
23687         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23689 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23691         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23692         * elf/tst-tls1.c: Likewise.
23693         * elf/tst-tls10.h: Likewise.
23694         * elf/tst-tls14.c: Likewise.
23695         * elf/tst-tls2.c: Likewise.
23696         * elf/tst-tls3.c: Likewise.
23697         * elf/tst-tls4.c: Likewise.
23698         * elf/tst-tls5.c: Likewise.
23699         * elf/tst-tls6.c: Likewise.
23700         * elf/tst-tls7.c: Likewise.
23701         * elf/tst-tls8.c: Likewise.
23702         * elf/tst-tls9.c: Likewise.
23703         * elf/tst-tlsmod1.c: Likewise.
23704         * elf/tst-tlsmod13.c: Likewise.
23705         * elf/tst-tlsmod13a.c: Likewise.
23706         * elf/tst-tlsmod14a.c: Likewise.
23707         * elf/tst-tlsmod16a.c: Likewise.
23708         * elf/tst-tlsmod16b.c: Likewise.
23709         * elf/tst-tlsmod2.c: Likewise.
23710         * elf/tst-tlsmod3.c: Likewise.
23711         * elf/tst-tlsmod4.c: Likewise.
23712         * elf/tst-tlsmod5.c: Likewise.
23713         * elf/tst-tlsmod6.c: Likewise.
23715 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23717         [BZ #12486]
23718         * malloc/malloc.c: remove checks for statistics.
23720 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23722         [BZ #15277]
23723         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23724         * inet/tst-network.c: Add testcase.
23726 2013-10-17  Andreas Schwab  <schwab@suse.de>
23728         [BZ #15218]
23729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23730         to determine canonical name.
23732 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23734         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23735         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23737         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23739         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23740         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23741         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23742         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23743         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23744         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23745         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23746         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23747         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23749         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23752         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23753         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23754         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23756         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23757         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23758         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23759         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23760         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23761         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23762         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23763         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23764         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23765         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23766         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23767         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23768         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23769         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23770         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23771         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23772         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23773         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23774         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23775         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23776         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23777         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23778         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23779         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23780         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23781         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23782         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23783         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23784         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23785         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23786         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23787         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23788         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23789         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23790         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23791         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23793 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23795         [BZ #16041]
23796         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23797         make result into a quiet NaN.
23799 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23801         * soft-fp/adddf3.c: Fix horizontal whitespace.
23802         * soft-fp/addsf3.c: Likewise.
23803         * soft-fp/addtf3.c: Likewise.
23804         * soft-fp/divdf3.c: Likewise.
23805         * soft-fp/divsf3.c: Likewise.
23806         * soft-fp/divtf3.c: Likewise.
23807         * soft-fp/double.h: Likewise.
23808         * soft-fp/eqdf2.c: Likewise.
23809         * soft-fp/eqsf2.c: Likewise.
23810         * soft-fp/eqtf2.c: Likewise.
23811         * soft-fp/extenddftf2.c: Likewise.
23812         * soft-fp/extended.h: Likewise.
23813         * soft-fp/extendsfdf2.c: Likewise.
23814         * soft-fp/extendsftf2.c: Likewise.
23815         * soft-fp/extendxftf2.c: Likewise.
23816         * soft-fp/fixdfdi.c: Likewise.
23817         * soft-fp/fixdfsi.c: Likewise.
23818         * soft-fp/fixdfti.c: Likewise.
23819         * soft-fp/fixsfdi.c: Likewise.
23820         * soft-fp/fixsfsi.c: Likewise.
23821         * soft-fp/fixsfti.c: Likewise.
23822         * soft-fp/fixtfdi.c: Likewise.
23823         * soft-fp/fixtfsi.c: Likewise.
23824         * soft-fp/fixtfti.c: Likewise.
23825         * soft-fp/fixunsdfdi.c: Likewise.
23826         * soft-fp/fixunsdfsi.c: Likewise.
23827         * soft-fp/fixunsdfti.c: Likewise.
23828         * soft-fp/fixunssfdi.c: Likewise.
23829         * soft-fp/fixunssfsi.c: Likewise.
23830         * soft-fp/fixunssfti.c: Likewise.
23831         * soft-fp/fixunstfdi.c: Likewise.
23832         * soft-fp/fixunstfsi.c: Likewise.
23833         * soft-fp/fixunstfti.c: Likewise.
23834         * soft-fp/floatdidf.c: Likewise.
23835         * soft-fp/floatdisf.c: Likewise.
23836         * soft-fp/floatditf.c: Likewise.
23837         * soft-fp/floatsidf.c: Likewise.
23838         * soft-fp/floatsisf.c: Likewise.
23839         * soft-fp/floatsitf.c: Likewise.
23840         * soft-fp/floattidf.c: Likewise.
23841         * soft-fp/floattisf.c: Likewise.
23842         * soft-fp/floattitf.c: Likewise.
23843         * soft-fp/floatundidf.c: Likewise.
23844         * soft-fp/floatundisf.c: Likewise.
23845         * soft-fp/floatunditf.c: Likewise.
23846         * soft-fp/floatunsidf.c: Likewise.
23847         * soft-fp/floatunsisf.c: Likewise.
23848         * soft-fp/floatunsitf.c: Likewise.
23849         * soft-fp/floatuntidf.c: Likewise.
23850         * soft-fp/floatuntisf.c: Likewise.
23851         * soft-fp/floatuntitf.c: Likewise.
23852         * soft-fp/fmadf4.c: Likewise.
23853         * soft-fp/fmasf4.c: Likewise.
23854         * soft-fp/fmatf4.c: Likewise.
23855         * soft-fp/gedf2.c: Likewise.
23856         * soft-fp/gesf2.c: Likewise.
23857         * soft-fp/getf2.c: Likewise.
23858         * soft-fp/ledf2.c: Likewise.
23859         * soft-fp/lesf2.c: Likewise.
23860         * soft-fp/letf2.c: Likewise.
23861         * soft-fp/muldf3.c: Likewise.
23862         * soft-fp/mulsf3.c: Likewise.
23863         * soft-fp/multf3.c: Likewise.
23864         * soft-fp/negdf2.c: Likewise.
23865         * soft-fp/negsf2.c: Likewise.
23866         * soft-fp/negtf2.c: Likewise.
23867         * soft-fp/op-1.h: Likewise.
23868         * soft-fp/op-2.h: Likewise.
23869         * soft-fp/op-4.h: Likewise.
23870         * soft-fp/op-8.h: Likewise.
23871         * soft-fp/op-common.h: Likewise.
23872         * soft-fp/quad.h: Likewise.
23873         * soft-fp/single.h: Likewise.
23874         * soft-fp/soft-fp.h: Likewise.
23875         * soft-fp/sqrtdf2.c: Likewise.
23876         * soft-fp/sqrtsf2.c: Likewise.
23877         * soft-fp/sqrttf2.c: Likewise.
23878         * soft-fp/subdf3.c: Likewise.
23879         * soft-fp/subsf3.c: Likewise.
23880         * soft-fp/subtf3.c: Likewise.
23881         * soft-fp/truncdfsf2.c: Likewise.
23882         * soft-fp/trunctfdf2.c: Likewise.
23883         * soft-fp/trunctfsf2.c: Likewise.
23884         * soft-fp/trunctfxf2.c: Likewise.
23885         * soft-fp/unorddf2.c: Likewise.
23886         * soft-fp/unordsf2.c: Likewise.
23887         * soft-fp/unordtf2.c: Likewise.
23889 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23891         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23892         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23894 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23896         * elf/dl-libc.c: Clear initfini list after freeing.
23898 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23900         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23901         * soft-fp/addsf3.c: Likewise.
23902         * soft-fp/addtf3.c: Likewise.
23903         * soft-fp/divdf3.c: Likewise.
23904         * soft-fp/divsf3.c: Likewise.
23905         * soft-fp/divtf3.c: Likewise.
23906         * soft-fp/double.h: Likewise.
23907         * soft-fp/eqdf2.c: Likewise.
23908         * soft-fp/eqsf2.c: Likewise.
23909         * soft-fp/eqtf2.c: Likewise.
23910         * soft-fp/extenddftf2.c: Likewise.
23911         * soft-fp/extended.h: Likewise.
23912         * soft-fp/extendsfdf2.c: Likewise.
23913         * soft-fp/extendsftf2.c: Likewise.
23914         * soft-fp/extendxftf2.c: Likewise.
23915         * soft-fp/fixdfdi.c: Likewise.
23916         * soft-fp/fixdfsi.c: Likewise.
23917         * soft-fp/fixdfti.c: Likewise.
23918         * soft-fp/fixsfdi.c: Likewise.
23919         * soft-fp/fixsfsi.c: Likewise.
23920         * soft-fp/fixsfti.c: Likewise.
23921         * soft-fp/fixtfdi.c: Likewise.
23922         * soft-fp/fixtfsi.c: Likewise.
23923         * soft-fp/fixtfti.c: Likewise.
23924         * soft-fp/fixunsdfdi.c: Likewise.
23925         * soft-fp/fixunsdfsi.c: Likewise.
23926         * soft-fp/fixunsdfti.c: Likewise.
23927         * soft-fp/fixunssfdi.c: Likewise.
23928         * soft-fp/fixunssfsi.c: Likewise.
23929         * soft-fp/fixunssfti.c: Likewise.
23930         * soft-fp/fixunstfdi.c: Likewise.
23931         * soft-fp/fixunstfsi.c: Likewise.
23932         * soft-fp/fixunstfti.c: Likewise.
23933         * soft-fp/floatdidf.c: Likewise.
23934         * soft-fp/floatdisf.c: Likewise.
23935         * soft-fp/floatditf.c: Likewise.
23936         * soft-fp/floatsidf.c: Likewise.
23937         * soft-fp/floatsisf.c: Likewise.
23938         * soft-fp/floatsitf.c: Likewise.
23939         * soft-fp/floattidf.c: Likewise.
23940         * soft-fp/floattisf.c: Likewise.
23941         * soft-fp/floattitf.c: Likewise.
23942         * soft-fp/floatundidf.c: Likewise.
23943         * soft-fp/floatundisf.c: Likewise.
23944         * soft-fp/floatunsidf.c: Likewise.
23945         * soft-fp/floatunsisf.c: Likewise.
23946         * soft-fp/floatuntidf.c: Likewise.
23947         * soft-fp/floatuntisf.c: Likewise.
23948         * soft-fp/floatuntitf.c: Likewise.
23949         * soft-fp/fmadf4.c: Likewise.
23950         * soft-fp/fmasf4.c: Likewise.
23951         * soft-fp/fmatf4.c: Likewise.
23952         * soft-fp/gedf2.c: Likewise.
23953         * soft-fp/gesf2.c: Likewise.
23954         * soft-fp/getf2.c: Likewise.
23955         * soft-fp/ledf2.c: Likewise.
23956         * soft-fp/lesf2.c: Likewise.
23957         * soft-fp/letf2.c: Likewise.
23958         * soft-fp/muldf3.c: Likewise.
23959         * soft-fp/mulsf3.c: Likewise.
23960         * soft-fp/multf3.c: Likewise.
23961         * soft-fp/negdf2.c: Likewise.
23962         * soft-fp/negsf2.c: Likewise.
23963         * soft-fp/negtf2.c: Likewise.
23964         * soft-fp/op-1.h: Likewise.
23965         * soft-fp/op-2.h: Likewise.
23966         * soft-fp/op-4.h: Likewise.
23967         * soft-fp/op-8.h: Likewise.
23968         * soft-fp/op-common.h: Likewise.
23969         * soft-fp/quad.h: Likewise.
23970         * soft-fp/single.h: Likewise.
23971         * soft-fp/soft-fp.h: Likewise.
23972         * soft-fp/sqrtdf2.c: Likewise.
23973         * soft-fp/sqrtsf2.c: Likewise.
23974         * soft-fp/sqrttf2.c: Likewise.
23975         * soft-fp/subdf3.c: Likewise.
23976         * soft-fp/subsf3.c: Likewise.
23977         * soft-fp/subtf3.c: Likewise.
23978         * soft-fp/truncdfsf2.c: Likewise.
23979         * soft-fp/trunctfdf2.c: Likewise.
23980         * soft-fp/trunctfsf2.c: Likewise.
23981         * soft-fp/trunctfxf2.c: Likewise.
23982         * soft-fp/unorddf2.c: Likewise.
23983         * soft-fp/unordsf2.c: Likewise.
23984         * soft-fp/unordtf2.c: Likewise.
23986 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23988         [BZ #15672]
23989         * misc/error.c (error_tail): Fix possible buffer overflow.
23991 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23993         [BZ #13028]
23994         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23995         address.
23997 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23999         [BZ #832]
24000         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
24001         testing pipefail option.
24003 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24005         * soft-fp/double.h: Indent preprocessor directives inside #if.
24006         * soft-fp/extended.h: Likewise.
24007         * soft-fp/op-2.h: Likewise.
24008         * soft-fp/op-4.h: Likewise.
24009         * soft-fp/op-common.h: Likewise.
24010         * soft-fp/quad.h: Likewise.
24011         * soft-fp/single.h: Likewise.
24012         * soft-fp/soft-fp.h: Likewise.
24014 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
24016         * iconv/iconv_prog.c: Fix typos.
24017         * stdio-common/psiginfo-data.h: Likewise.
24019 2013-10-12   Reuben Thomas <rrt@sc3d.org>
24021         [BZ #15764]
24022         * locale/setlocale.c: Fix typo.
24024 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24026         [BZ #16036]
24027         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24028         signaling NaN arguments.
24029         * soft-fp/unordsf2.c (__unordsf2): Likewise.
24030         * soft-fp/unordtf2.c (__unordtf2): Likewise.
24032         [BZ #14910]
24033         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24034         unordered operands.
24035         * soft-fp/gesf2.c (__gesf2): Likewise.
24036         * soft-fp/getf2.c (__getf2): Likewise.
24037         * soft-fp/ledf2.c (__ledf2): Likewise.
24038         * soft-fp/lesf2.c (__lesf2): Likewise.
24039         * soft-fp/letf2.c (__letf2): Likewise.
24041         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24042         * soft-fp/eqsf2.c (__eqsf2): Likewise.
24043         * soft-fp/eqtf2.c (__eqtf2): Likewise.
24044         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24045         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24046         * soft-fp/fixdfti.c (__fixdfti): Likewise.
24047         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24048         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24049         * soft-fp/fixsfti.c (__fixsfti): Likewise.
24050         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24051         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24052         * soft-fp/fixtfti.c (__fixtfti): Likewise.
24053         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24054         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24055         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24056         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24057         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24058         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24059         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24060         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24061         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24062         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24063         * soft-fp/floatdisf.c (__floatdisf): Likewise.
24064         * soft-fp/floatsisf.c (__floatsisf): Likewise.
24065         * soft-fp/floattidf.c (__floattidf): Likewise.
24066         * soft-fp/floattisf.c (__floattisf): Likewise.
24067         * soft-fp/floattitf.c (__floattitf): Likewise.
24068         * soft-fp/floatundidf.c (__floatundidf): Likewise.
24069         * soft-fp/floatundisf.c (__floatundisf): Likewise.
24070         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24071         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24072         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24073         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24074         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24075         * soft-fp/gesf2.c (__gesf2): Likewise.
24076         * soft-fp/getf2.c (__getf2): Likewise.
24077         * soft-fp/ledf2.c (__ledf2): Likewise.
24078         * soft-fp/lesf2.c (__lesf2): Likewise.
24079         * soft-fp/letf2.c (__letf2): Likewise.
24081         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24082         Undefine and redefine.
24083         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24084         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24085         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24086         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24087         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24088         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24089         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24090         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24091         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24092         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24093         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24094         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24095         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24096         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24097         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24099         [BZ #16032]
24100         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24101         without decrementing exponent if mantissa >= that for the
24102         denominator, not >.
24103         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24104         denominator, not >.  Decrement exponent in < case instead of
24105         incrementing in >= case.
24106         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24107         without decrementing exponent if mantissa >= that for the
24108         denominator, not >.
24110         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24111         computing saturated result for unsigned overflow.
24113 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24114             Jeff Law  <law@redhat.com>
24116         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24117         (atan2Mp): Add systemtap probe marker.
24118         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24119         (__ieee754_log): Add systemtap probe marker.
24120         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24121         (atanMp): Add systemtap probe marker.
24122         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24123         (tanMp): Add systemtap probe marker.
24124         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24125         (__slowexp): Add systemtap probe marker.
24126         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24127         (__slowpow): Add systemtap probe marker.
24128         * manual/probes.texi: Document probes.
24130 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
24132         [BZ #15362]
24133         * libio/fileops.c (_IO_new_file_write): Return count of bytes
24134         written.
24135         (_IO_new_file_xsputn): Don't return EOF if nothing has been
24136         written.
24137         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24138         written to buffer but not flushed.
24139         * libio/iofwrite_u.c:  Likewise.
24140         * libio/iopadn.c:  Return bytes returned even if EOF was
24141         encountered.
24142         * libio/iowpadn.c:  Likewise.
24143         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24144         if _IO_padn does not write the whole buffer.
24145         [!COMPILE_WPRINTF] (PAD): Likewise.
24147 2013-10-10  David S. Miller  <davem@davemloft.net>
24149         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24150         directory block.
24152 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24154         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
24155         instead of FSF address.
24156         * soft-fp/fixdfti.c: Likewise.
24157         * soft-fp/fixsfti.c: Likewise.
24158         * soft-fp/fixtfti.c: Likewise.
24159         * soft-fp/fixunsdfti.c: Likewise.
24160         * soft-fp/fixunssfti.c: Likewise.
24161         * soft-fp/fixunstfti.c: Likewise.
24162         * soft-fp/floattidf.c: Likewise.
24163         * soft-fp/floattisf.c: Likewise.
24164         * soft-fp/floattitf.c: Likewise.
24165         * soft-fp/floatuntidf.c: Likewise.
24166         * soft-fp/floatuntisf.c: Likewise.
24167         * soft-fp/floatuntitf.c: Likewise.
24168         * soft-fp/trunctfxf2.c: Likewise.
24170         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
24171         * soft-fp/fixdfti.c: Likewise.
24172         * soft-fp/fixsfti.c: Likewise.
24173         * soft-fp/fixtfti.c: Likewise.
24174         * soft-fp/fixunsdfti.c: Likewise.
24175         * soft-fp/fixunssfti.c: Likewise.
24176         * soft-fp/fixunstfti.c: Likewise.
24177         * soft-fp/floattidf.c: Likewise.
24178         * soft-fp/floattisf.c: Likewise.
24179         * soft-fp/floattitf.c: Likewise.
24180         * soft-fp/floatuntidf.c: Likewise.
24181         * soft-fp/floatuntisf.c: Likewise.
24182         * soft-fp/floatuntitf.c: Likewise.
24183         * soft-fp/trunctfxf2.c: Likewise.
24185 2013-10-10  David S. Miller  <davem@davemloft.net>
24187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24189 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24191         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24192         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24193         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24194         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24195         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24196         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24197         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24199         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24200         for NaNs before doing comparisons on argument.
24201         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24202         Likewise.
24204 2013-10-10  Will Newton  <will.newton@linaro.org>
24206         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24207         passed to _int_memalign does not overflow.
24209 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24211         * scripts/bench.pl: Add include-sources directive.
24212         * benchtests/README: Update documentation.
24214 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24216         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24217         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24218         instead of FP_INIT_ROUNDMODE.
24219         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24220         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24222         [BZ #16034]
24223         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24224         copy class of input value.
24225         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24226         not handle exceptions.
24227         * soft-fp/negsf2.c (__negsf2): Likewise.
24228         * soft-fp/negtf2.c (__negtf2): Likewise.
24229         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24231 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24233         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24234         semicolon.  From Linux kernel.
24236 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24238         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24240 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24242         [BZ #156]
24243         * manual/socket.texi: Added statement about buffer
24244         for gethostbyname2_r.
24246 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24248         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24249         Use .p2align directive instead, throughout.
24250         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24251         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24252         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24253         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24254         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24255         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24256         * sysdeps/x86_64/strchr.S: Likewise.
24257         * sysdeps/x86_64/strrchr.S: Likewise.
24259 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24261         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24263         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24265         * sysdeps/generic/math_private.h (__mpsin1): Remove
24266         declaration.
24267         (__mpcos1): Likewise.
24268         (__mpsin): New argument __range_reduce.
24269         (__mpcos): Likewise.
24270         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24271         (slow): Use __mpsin and __mpcos.
24272         (slow1): Likewise.
24273         (slow2): Likewise.
24274         (sloww): Likewise.
24275         (sloww1): Likewise.
24276         (sloww2): Likewise.
24277         (bsloww): Likewise.
24278         (bsloww1): Likewise.
24279         (bsloww2): Likewise.
24280         (cslow2): Likewise.
24281         (csloww): Likewise.
24282         (csloww1): Likewise.
24283         (csloww2): Likewise.
24284         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24285         range_reduce.  Merge in __mpsin1.
24286         (__mpcos): Likewise.
24287         (__mpsin1): Remove.
24288         (__mpcos1): Likewise.
24290 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24292         * locale/loadlocale.c (_nl_intern_locale_data): Use
24293         LOCFILE_ALIGNED_P.
24294         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24295         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24296         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24297         obstack data is appropriately aligned.
24298         (obstack_int32_grow_fast): Likewise.
24299         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24300         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24301         (add_locale_uint32_array): Likewise.
24303 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24305         * benchtests/Makefile: Remove ARGLIST and RET variables.
24306         ($(objpfx)bench-%.c): Pass only function name to the script.
24307         * benchtests/README: Update documentation.
24308         * benchtests/acos-inputs: Add new directives.
24309         * benchtests/acosh-inputs: Likewise.
24310         * benchtests/asin-inputs: Likewise.
24311         * benchtests/asinh-inputs: Likewise.
24312         * benchtests/atan-inputs: Likewise.
24313         * benchtests/atanh-inputs: Likewise.
24314         * benchtests/cos-inputs: Likewise.
24315         * benchtests/cosh-inputs: Likewise.
24316         * benchtests/exp-inputs: Likewise.
24317         * benchtests/log-inputs: Likewise.
24318         * benchtests/pow-inputs: Likewise.
24319         * benchtests/rint-inputs: Likewise.
24320         * benchtests/sin-inputs: Likewise.
24321         * benchtests/sinh-inputs: Likewise.
24322         * benchtests/tan-inputs: Likewise.
24323         * benchtests/tanh-inputs: Likewise.
24324         * scripts/bench.pl: Add support for new directives.
24326 2013-10-07  Alan Modra  <amodra@gmail.com>
24328         * README: Fix careless merge.
24330 2013-10-05  Alan Modra  <amodra@gmail.com>
24332         * NEWS: Mention powerpc64le support and bugs fixed.
24333         * README: Both big-endian and little-endian powerpc64 supported.
24335 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24337         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24338         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24339         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24340         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24342 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24344         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24345         match prototype.
24347 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24349         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24350         Move -mhard-float appending from
24351         ports/sysdeps/powerpc/powerpc32/Makefile.
24352         [$(with-fp) = yes] (ASFLAGS): Likewise.
24353         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24354         * sysdeps/powerpc/nofpu: Move directory from
24355         ports/sysdeps/powerpc/nofpu.
24356         * sysdeps/powerpc/soft-fp: Move directory from
24357         ports/sysdeps/powerpc/soft-fp.
24358         * sysdeps/powerpc/powerpc32/405: Move directory from
24359         ports/sysdeps/powerpc/powerpc32/405.
24360         * sysdeps/powerpc/powerpc32/440: Move directory from
24361         ports/sysdeps/powerpc/powerpc32/440.
24362         * sysdeps/powerpc/powerpc32/464: Move directory from
24363         ports/sysdeps/powerpc/powerpc32/464.
24364         * sysdeps/powerpc/powerpc32/476: Move directory from
24365         ports/sysdeps/powerpc/powerpc32/476.
24366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24367         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24369         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24371         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24373         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24375         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24376         * README: Update for powerpc-*-linux-gnu software floating point
24377         support in libc.
24379         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24380         case to powerpc/powerpc32*.
24381         * sysdeps/unix/sysv/linux/configure: Regenerated.
24383         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24384         (_FPU_MASK_OM): Define as 0x04.
24385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24387         0x00c10080.
24388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24389         0x0000003c.
24390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24393         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24394         getcontext_e500.
24395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24396         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24397         setcontext_e500.
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24399         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24400         and setcontext_e500.
24402 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24404         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24406 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24408         * manual/threads.texi (Default Thread Attributes): Fix typo.
24410 2013-10-04  Will Newton  <will.newton@linaro.org>
24412         * malloc/Makefile: Add tst-memalign.
24413         * malloc/tst-memalign.c: New file.
24415         * malloc/tst-posix_memalign.c: Add comments.
24416         (do_test): Add comments and call free on all potentially
24417         allocated pointers. Add space after cast.
24419         * malloc/tst-pvalloc.c: Add comments.
24420         (do_test): Add comments and call free on all potentially
24421         allocated pointers. Remove duplicate check for NULL pointer.
24422         Add space after cast.
24424         * malloc/tst-valloc.c: Add comments.
24425         (do_test): Add comments and call free on all potentially
24426         allocated pointers. Remove duplicate check for NULL pointer.
24427         Add space after cast.
24429 2013-10-04  Alan Modra  <amodra@gmail.com>
24431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24432         Use stdint types in rather than __attribute__((mode())).
24433         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24435 2013-10-04  Alan Modra  <amodra@gmail.com>
24437         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24438         Correct handling of unaligned relocs for little-endian.
24439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24441 2013-10-04  Alan Modra  <amodra@gmail.com>
24443         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24444         * configure: Regenerate.
24445         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24446         * shlib-versions: Likewise.
24448 2013-10-04  Alan Modra  <amodra@gmail.com>
24450         * string/tester.c (test_memrchr): Increment reported test cycle.
24452 2013-10-04  Alan Modra  <amodra@gmail.com>
24454         * string/test-memcpy.c (do_one_test): When reporting errors, print
24455         string address and don't overrun end of string.
24457 2013-10-04  Alan Modra  <amodra@gmail.com>
24459         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24460         insrdi.  Make better use of reg selection to speed exit slightly.
24461         Schedule entry path a little better.  Remove useless "are we done"
24462         checks on entry to main loop.  Handle wrapping around zero address.
24463         Correct main loop count.  Handle single left-over word from main
24464         loop inline rather than by using loop_small.  Remove extra word
24465         case in loop_small caused by wrong loop count.  Add little-endian
24466         support.
24467         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24468         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24469         cache hint.
24470         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24471         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24472         support.  Avoid rlwimi.
24473         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24475 2013-10-04  Alan Modra  <amodra@gmail.com>
24477         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24478         insrdi.  Formatting.
24479         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24480         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24481         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24482         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24483         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24484         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24486 2013-10-04  Alan Modra  <amodra@gmail.com>
24488         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24489         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24490         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24491         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24492         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24495         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24496         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24497         use of regs.  Use power7 mtocrf.  Tidy function tails.
24499 2013-10-04  Alan Modra  <amodra@gmail.com>
24501         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24502         Formatting.  Consistently use rXXX register defines or rN defines.
24503         Use early exit labels that avoid restoring unused non-volatile regs.
24504         Make cr field use more consistent with rWORDn compares.  Rename
24505         regs used as shift registers for unaligned loop, using rN defines
24506         for short lifetime/multiple use regs.
24507         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24508         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24509         addi 1,1,64 to pop stack frame.  Simplify return value code.
24510         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24512 2013-10-04  Alan Modra  <amodra@gmail.com>
24514         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24515         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24516         rather than rlwimi.
24517         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24518         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24519         little-endian support.  Correct typos.
24520         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24521         rather than rlwimi.
24522         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24523         in loop and entry code to keep "and." results.
24524         (strchr): Add little-endian support.  Comment.  Move cntlzd
24525         earlier in tail.
24526         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24528 2013-10-04  Alan Modra  <amodra@gmail.com>
24530         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24531         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24532         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24533         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24535 2013-10-04  Alan Modra  <amodra@gmail.com>
24537         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24538         (rTMP): Define as r11.
24539         (strcmp): Add little-endian support.  Optimise tail.
24540         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24541         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24542         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24543         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24544         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24545         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24546         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24548 2013-10-04  Alan Modra  <amodra@gmail.com>
24550         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24551         little-endian support.  Remove unnecessary "are we done" tests.
24552         Handle "s" wrapping around zero and extremely large "size".
24553         Correct main loop count.  Handle single left-over word from main
24554         loop inline rather than by using small_loop.  Correct comments.
24555         Delete "zero" tail, use "end_max" instead.
24556         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24558 2013-10-04  Alan Modra  <amodra@gmail.com>
24560         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24561         support.  Don't branch over align.
24562         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24563         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24564         support.  Rearrange tmp reg use to suit.  Comment.
24565         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24567 2013-10-04  Alan Modra  <amodra@gmail.com>
24569         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24571 2013-10-04  Alan Modra  <amodra@gmail.com>
24573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24574         conditional form of branch and link when obtaining pc.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24577 2013-10-04  Alan Modra  <amodra@gmail.com>
24579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24580         HIWORD/LOWORD.
24581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24584 2013-10-04  Alan Modra  <amodra@gmail.com>
24586         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24587         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24588         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24589         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24590         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24591         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24592         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24593         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24594         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24595         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24597 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24598             Alistair Popple <alistair@ozlabs.au.ibm.com>
24599             Alan Modra <amodra@gmail.com>
24601         [BZ #15723]
24602         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24603         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24604         _dl_hwcap access for little-endian.
24605         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24606         destroy vmx regs when saving unaligned.
24607         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24608         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24609         destroy vmx regs when saving unaligned.
24611 2013-10-04  Alan Modra  <amodra@gmail.com>
24613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24614         Don't use a union to pack hi/low value.
24616 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24618         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24619         for little-endian.
24620         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24621         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24622         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24623         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24624         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24626 2013-10-04  Alan Modra  <amodra@gmail.com>
24628         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24629         constants to usual value for .cst8 section, and remove redundant
24630         high address load.
24631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24632         constant for 0x1p52.  Load little-endian words of double from
24633         correct stack offsets.
24635 2013-10-04  Alan Modra  <amodra@gmail.com>
24637         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24638         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24639         words of double from correct stack offsets.
24640         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24641         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24642         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24643         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24645         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24646         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24647         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24648         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24649         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24650         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24651         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24652         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24653         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24654         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24655         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24656         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24658 2013-10-04  Alan Modra  <amodra@gmail.com>
24660         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24661         64-bit int/double union.
24662         (_FPU_SETCW): Likewise.
24663         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24664         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24666 2013-10-04  Alan Modra  <amodra@gmail.com>
24668         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24669         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24671 2013-10-04  Alan Modra  <amodra@gmail.com>
24673         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24674         use vector int constants.
24675         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24677 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24679         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24680         array with long long.
24681         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24682         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24683         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24684         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24685         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24686         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24687         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24688         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24689         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24690         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24691         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24692         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24693         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24695 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24697         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24698         (__signbit): Likewise.  Correct for little-endian.
24699         (__signbitl): Call __signbit.
24700         (lrint): Correct for little-endian.
24701         (lrintf): Call lrint.
24703 2013-10-04  Alan Modra  <amodra@gmail.com>
24705         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24706         union 32-bit int array member with 64-bit int array.
24707         (t515, tm256): Double rather than long double.
24708         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24710 2013-10-04  Alan Modra  <amodra@gmail.com>
24712         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24713         Delete.
24714         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24716         version of math_ldbl.h.
24718 2013-10-04  Alan Modra  <amodra@gmail.com>
24720         [BZ #15734], [BZ #15735]
24721         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24722         all uses of ieee875 long double macros and unions.  Simplify test
24723         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24724         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24725         normalize after ldbl_extract_mantissa, and don't add hidden bit
24726         already handled.  Don't treat low word of ieee854 mantissa like
24727         low word of IBM long double and mask off bit when testing for
24728         zero.
24729         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24730         all uses of ieee875 long double macros and unions.  Simplify tests
24731         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24732         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24733         two1022, instead use their values.  Recognise that tests for large
24734         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24735         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24736         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24737         test for 0.0L and nan.  Correct negation.
24738         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24739         ieee875 long double macros and unions.  Correct output for large
24740         magnitude x.  Correct absolute value calculation.
24741         (__erfcl): Likewise.
24742         * math/libm-test.inc: Add tests for errors discovered in IBM long
24743         double versions of fmodl, remainderl, erfl and erfcl.
24745 2013-10-04  Alan Modra  <amodra@gmail.com>
24747         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24748         all uses of ieee854 long double macros and unions.  Simplify tests
24749         for long doubles that are fully specified by the high double.
24750         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24751         Likewise.
24752         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24753         Remove dead code too.
24754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24755         (__ieee754_ynl): Likewise.
24756         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24757         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24758         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24759         Remove dead code too.
24760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24761         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24762         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24763         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24764         Simplify.
24765         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24766         Simplify.
24767         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24769         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24770         Comment on variable precision.
24771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24773         Likewise.
24774         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24775         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24778         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24780 2013-10-04  Alan Modra  <amodra@gmail.com>
24782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24783         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24784         all uses of ieee854 long double macros and unions.
24785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24786         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24788         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24790         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24791         Likewise.
24792         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24793         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24794         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24795         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24796         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24797         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24798         Simplify sign and nan test too.
24799         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24800         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24801         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24802         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24803         Likewise.
24804         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24805         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24806         Likewise.
24807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24808         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24809         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24810         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24811         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24812         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24814 2013-10-04  Alan Modra  <amodra@gmail.com>
24816         * stdio-common/printf_size.c (__printf_size): Don't use
24817         union ieee854_long_double in fpnum union.
24818         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24819         signbit macro to retrieve sign from long double.
24820         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24821         retrieve sign from long double.
24822         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24823         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24824         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24825         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24826         * math/test-misc.c (main): Don't use union ieee854_long_double.
24828 2013-10-04  Alan Modra  <amodra@gmail.com>
24830         [BZ #15680]
24831         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24832         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24833         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24834         calculation.  Remove unnecessary test for denormal exponent.
24835         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24836         Correct handling of denormals.  Avoid undefined shift behaviour.
24837         Correct normalisation of low mantissa when low double is denormal.
24838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24839         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24840         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24841         Correct normalisation of low mantissa.  Test for overflow of high
24842         mantissa and normalise.
24843         (ldbl_nearbyint): Use more readable constant for two52.
24844         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24845         (__mpn_construct_long_double): Fix test for overflow of high
24846         mantissa and correct normalisation.  Avoid undefined shift.
24848 2013-10-04  Alan Modra  <amodra@gmail.com>
24850         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24851         (union ibm_extended_long_double): Define as an array of ieee754_double.
24852         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24853         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24854         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24859         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24860         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24861         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24864 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24866         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24867         page size instead of calling getpagesize.
24869         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24870         (LOCFILE_ALIGN_MASK): Likewise.
24871         (LOCFILE_ALIGN_UP): Likewise.
24872         (LOCFILE_ALIGNED_P): Likewise.
24873         * locale/programs/ld-collate.c (collate_output): Use the new
24874         macros instead of __alignof__ (int32_t).
24875         * locale/weight.h (findidx): Likewise.
24877 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24879         [BZ #431]
24880         * manual/string.texi: Fix strncat and wcsncat.
24882 2013-10-03  Brooks Moses  <bmoses@google.com>
24884         [BZ #15915]
24885         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24886         * Makerules: ...here, and adjust associated comments.
24888 2013-10-02  Will Newton  <will.newton@linaro.org>
24890         * malloc/Makefile: Add tst-pvalloc.
24891         * malloc/tst-pvalloc.c: New file.
24893 2013-10-02  Will Newton  <will.newton@linaro.org>
24895         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24896         improve test coverage.
24898 2013-10-02  Will Newton  <will.newton@linaro.org>
24900         * malloc/Makefile: Add tst-posix_memalign.
24901         * malloc/tst-posix_memalign.c: New file.
24903 2013-10-01  Eric Blake  <eblake@redhat.com>
24905         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24906         Use __THROWNL rather than __THROW on static functions.
24908 2013-09-30  Petr Machata  <pmachata@redhat.com>
24910         * elf/elf.h (R_AARCH64_ABS16): New macro.
24911         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24912         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24913         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24914         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24915         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24916         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24917         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24918         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24919         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24920         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24921         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24922         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24923         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24924         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24925         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24926         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24927         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24928         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24929         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24930         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24931         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24932         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24933         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24934         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24935         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24936         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24937         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24938         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24939         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24940         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24941         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24942         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24943         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24944         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24945         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24946         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24947         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24948         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24949         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24950         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24951         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24952         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24953         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24954         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24955         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24956         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24957         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24958         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24959         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24960         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24961         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24962         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24963         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24964         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24965         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24966         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24967         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24968         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24969         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24970         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24971         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24972         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24973         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24974         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24975         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24976         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24977         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24978         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24979         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24980         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24981         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24982         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24983         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24984         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24985         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24986         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24987         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24988         (R_AARCH64_TLSDESC_LDR): Likewise.
24989         (R_AARCH64_TLSDESC_ADD): Likewise.
24990         (R_AARCH64_TLSDESC_CALL): Likewise.
24992 2013-09-30  Andreas Schwab  <schwab@suse.de>
24994         [BZ #15048]
24995         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24996         the nss database lookup.
24997         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25000 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
25002         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25004 2013-09-28  P. J. McDermott  <pj@pehjota.net>
25006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25007         ${Bash-specific parameter/pattern/string} parameter expansion.
25008         * sysdeps/unix/make-syscalls.sh: Likewise.
25010 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25012         * sysdeps/sh/stackguard-macros.h: New file.
25014 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
25016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25018         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25019         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25021         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25023 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25025         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25026         Fix thread ID register.
25028 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
25030         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25031         [POSIX || UNIX98]: Require rather than permitting all symbols from
25032         <time.h>.
25033         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25034         element of struct sched_param.
25035         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25036         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25037         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25038         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25039         constant.
25041 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
25043         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25044         argument calculation.
25046 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25048         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25049         Expect macro.
25050         [POSIX] (pthread_attr_t): Do not require type.
25051         [POSIX] (pthread_cond_t): Likewise.
25052         [POSIX] (pthread_condattr_t): Likewise.
25053         [POSIX] (pthread_key_t): Likewise.
25054         [POSIX] (pthread_mutex_t): Likewise.
25055         [POSIX] (pthread_mutexattr_t): Likewise.
25056         [POSIX] (pthread_once_t): Likewise.
25057         [POSIX] (pthread_t): Likewise.
25058         [POSIX-based standards] (pthread_atfork): Expect function.
25060 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25061             Richard Sandiford  <richard@codesourcery.com>
25063         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25064         (swap_endianness_p): New extern variable.
25065         (set_big_endian): New inline function.
25066         (maybe_swap_uint32): Likewise.
25067         (maybe_swap_uint32_array): Likewise.
25068         (maybe_swap_uint32_obstack): Likewise.
25069         * locale/programs/locfile.c: Include <stdbool.h>.
25070         (swap_endianness_p): New variable.
25071         (add_locale_uint32): Call maybe_swap_uint32.
25072         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25073         (write_locale_data): Call maybe_swap_uint32_array.
25074         * locale/programs/ld-collate.c (obstack_int32_grow): Call
25075         maybe_swap_uint32.
25076         (obstack_int32_grow_fast): Likewise.
25077         (output_weightwc): Call maybe_swap_uint32_obstack.
25078         (collate_output): Likewise.
25079         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25080         (OPT_LITTLE_ENDIAN): Likewise.
25081         (options): Add --little-endian and --big-endian options.
25082         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25083         * locale/programs/locarchive.c: Include "locfile.h".
25084         (GET): New macro.
25085         (SET): Likewise.
25086         (INC): Likewise.
25087         (create_archive): Use the new macros to access fields of
25088         structures directly mapped from or written to locale archives.
25089         (oldlocrecentcmp): Likewise.
25090         (enlarge_archive): Likewise.
25091         (insert_name): Likewise.
25092         (add_alias): Likewise.
25093         (add_locale): Likewise.
25094         (delete_locales_from_archive): Likewise.
25095         (show_archive_content): Likewise.
25096         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
25097         locale data.
25099 2013-09-24  Roland McGrath  <roland@hack.frob.com>
25101         * manual/freemanuals.texi: Updated from (newly) canonical copy at
25102         http://www.gnu.org/doc/freemanuals.texi.
25103         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25105 2013-09-24  Will Newton  <will.newton@linaro.org>
25107         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25108         macro.
25110 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
25112         * locale/hashval.h (compute_hashval): Interpret bytes of key as
25113         unsigned char.
25115 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
25117         * manual/threads.texi (POSIX Threads): Fix a typo.
25119 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25121         [BZ #14547]
25122         * string/tst-strcoll-overflow.c: New test case.
25123         * string/Makefile (xtests): Add tst-strcoll-overflow.
25124         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25125         cache if string sizes may cause integer overflow.
25127         [BZ #14547]
25128         * string/strcoll_l.c (coll_seq): New members rule, idx,
25129         save_idx and back_us.
25130         (get_next_seq_nocache): New function.
25131         (do_compare_nocache): New function.
25132         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25133         when malloc fails.
25135 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
25137         [BZ #15754]
25138         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25139         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25140         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25142         [BZ #15754]
25143         * elf/Makefile (tests): Add tst-ptrguard1.
25144         (tests-static): Add tst-ptrguard1-static.
25145         (tst-ptrguard1-ARGS): Define.
25146         (tst-ptrguard1-static-ARGS): Define.
25147         * elf/tst-ptrguard1.c: New file.
25148         * elf/tst-ptrguard1-static.c: New file.
25149         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25150         * sysdeps/i386/stackguard-macros.h: Likewise.
25151         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25152         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25153         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25154         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25155         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25156         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25158 2013-09-23  Hector Marco  <hecmargi@upv.es>
25159             Ismael Ripoll  <iripoll@disca.upv.es>
25160             Carlos O'Donell  <carlos@redhat.com>
25162         [BZ #15754]
25163         * sysdeps/generic/stackguard-macros.h: Define
25164         __pointer_chk_guard_local and POINTER_CHK_GUARD.
25165         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25166         Define __pointer_chk_guard_local.
25167         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25168         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25170 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
25172         [BZ #15859]
25173         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25175 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
25177         * include/string.h (__ffs): Declare as hidden.
25178         * string/ffs.c (__ffs): Define as hidden.
25179         * sysdeps/i386/ffs.c (__ffs): Likewise.
25180         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25181         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25182         * sysdeps/s390/ffs.c (__ffs): Likewise.
25183         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25185 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25187         * NEWS: Mention malloc probes.
25189         * malloc/arena.c (new_heap): New memory_heap_new probe.
25190         (grow_heap): New memory_heap_more probe.
25191         (shrink_heap): New memory_heap_less probe.
25192         (heap_trim): New memory_heap_free probe.
25193         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25194         (systrim): New memory_sbrk_less probe.
25195         * manual/probes.texi: Document them.
25197         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25198         * manual/probes.texi: Document it.
25200         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25201         (__libc_realloc): Add memory_realloc_retry probe.
25202         (__libc_memalign): Add memory_memalign_retry probe.
25203         (__libc_valloc): Add memory_valloc_retry probe.
25204         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25205         (__libc_calloc): Add memory_calloc_retry probe.
25206         * manual/probes.texi: Document them.
25208         * malloc/arena.c (get_free_list): Add probe
25209         memory_arena_reuse_free_list.
25210         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25211         and memory_arena_reuse.
25212         (arena_get2) [!PER_THREAD]: Likewise.
25213         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25214         memory_arena_reuse_realloc.
25215         * manual/probes.texi: Document them.
25217         * malloc/malloc.c (__libc_free): Add
25218         memory_mallopt_free_dyn_thresholds probe.
25219         (__libc_mallopt): Add multiple memory_mallopt probes.
25220         * manual/probes.texi: Document them.
25222         * malloc/malloc.c: Include stap-probe.h.
25223         (__libc_mallopt): Add memory_mallopt probe.
25224         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25225         * manual/probes.texi: New.
25226         * manual/Makefile (chapters): Add probes.
25227         * manual/threads.texi: Set next node.
25229 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25231         [BZ #15963, #13985]
25232         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25233         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25234         Add `Chinese' to `nan' entry name.
25236 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25238         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25239         (POLYNOMIAL): Likewise.
25240         (TAYLOR_SINCOS): Likewise.
25241         (TAYLOR_SLOW): Likewise.
25242         (__sin): Use TAYLOR_SINCOS.
25243         (__cos): Likewise.
25244         (slow): Use TAYLOR_SLOW.
25245         (sloww): Likewise.
25246         (bsloww): Likewise.
25247         (csloww): Likewise.
25249 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25251         * stdlib/strtod_l.c: Fix buffer overrun.
25253 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25255         * benchtests/Makefile (bench): Add sincos.
25256         * benchtests/bench-sincos.c: New file.
25258         * math/libm-test.inc (cos_test_data): New test inputs.
25259         (sin_test_data): Likewise.
25261         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25262         macro.
25263         (__sin): Use it.
25264         (__cos): Likewise.
25265         (slow1): Likewise.
25266         (slow2): Likewise.
25267         (sloww1): Likewise.
25268         (sloww2): Likewise.
25269         (bsloww1): Likewise.
25270         (bsloww2): Likewise.
25271         (cslow2): Likewise.
25272         (csloww1): Likewise.
25273         (csloww2): Likewise.
25275         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25276         function.
25277         (__sin): Use it.
25278         (__cos): Likewise.
25280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25281         gotos.
25282         (__cos): Likewise.
25284 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25286         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25287         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25288         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25289         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25290         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25291         * elf/cache.c (print_entry): Handle the new cache flags.
25293 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25294             Aldy Hernandez  <aldyh@redhat.com>
25296         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25297         Change condition to [_SOFT_FLOAT].
25298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25310         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25313         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25314         declaration.
25316 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25318         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25319         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25320         (__longjmp): Use LOAD_GP to load saved GPRs.
25321         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25322         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25323         (__sigsetjmp): Use SAVE_GP to save GPRs.
25325         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25326         Do not append -msoft-float.
25327         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25329 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25331         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25333 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25335         [BZ #15966]
25336         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25337         (_FPU_GETCW): Use initial "__" on variable and field names but not
25338         on macro parameter name.
25339         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25340         parentheses around reference to macro parameter.
25342 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25344         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25345         prototype.
25346         (ctype_startup): Use uint32_t in cast and sizeof for
25347         ctype->charnames.
25349 2013-09-11  Jia Liu  <proljc@gmail.com>
25351         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25352         __daddr_t_defined.
25353         [__FreeBSD__]: Likewise.
25355 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25358         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25359         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25360         (strchr): Remove __strchr_sse42 ifunc selection.
25361         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25362         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25364 2013-09-11  Will Newton  <will.newton@linaro.org>
25366         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25367         parameter to RES. Remove hardcoded 1000 value.
25368         * benchtests/bench-skeleton.c (main): Pass RES parameter
25369         to TIMING_INIT and multiply result by 1000.
25371 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25375 2013-09-11  Andreas Schwab  <schwab@suse.de>
25377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25378         if not defined.
25379         (O_TMPFILE) [__USE_GNU]: Define.
25380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25381         Define.
25383 2013-09-11  Will Newton  <will.newton@linaro.org>
25385         [BZ #15857]
25386         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25387         does not overflow.
25389 2013-09-11  Will Newton  <will.newton@linaro.org>
25391         [BZ #15856]
25392         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25393         does not overflow.
25395 2013-09-11  Will Newton  <will.newton@linaro.org>
25397         [BZ #15855]
25398         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25399         does not overflow.
25401 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25403         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25404         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25405         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25406         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25407         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25409 2013-09-10  Allan McRae  <allan@archlinux.org>
25411         [BZ #15748]
25412         * manual/arith.texi (Parsing of Floats): Clarify
25413         cross-reference.
25415         [BZ #15849]
25416         * manual/install.texi (Running make install): Mention
25417         --enable-pt-chown.
25418         * INSTALL: Regenerated.
25420 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25422         * csu/init-first.c (_init): Remove the !SHARED condition around
25423         FPU control word initialization.
25424         * elf/dl-support.c (_dl_fpu_control): New variable.
25425         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25426         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25427         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25428         * math/test-fpucw-static.c: New file.
25429         * math/test-fpucw-ieee.c: New file.
25430         * math/test-fpucw-ieee-static.c: New file.
25431         * math/Makefile (tests): Add `test-fpucw-ieee' and
25432         `$(tests-static)'.
25433         (tests-static): New variable.
25434         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25435         dependency to...
25436         [($(build-shared),yes)]
25437         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25438         ... this.
25439         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25440         New dependency.
25442 2013-09-09  Allan McRae  <allan@archlinux.org>
25444         [BZ #15939]
25445         * manual/string.texi (Collation Functions): Fix typo in
25446         strcoll example.
25447         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25449         [BZ #15893]
25450         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25452         [BZ #15892]
25453         * libio/memstream.c (open_memstream): Fix memory leak.
25454         * libio/wmemstream.c (open_wmemstream): Likewise.
25456         [BZ #15895]
25457         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25459 2013-09-09  Will Newton  <will.newton@linaro.org>
25461         * malloc/Makefile: Add tst-realloc to tests.
25462         * malloc/tst-realloc.c: New file.
25464 2013-09-09  Allan McRae  <allan@archlinux.org>
25466         [BZ #15844]
25467         * COPYING: Update from GNU website to fix FSF address.
25468         * COPYING.LIB: Likewise.
25470 2013-09-06  David S. Miller  <davem@davemloft.net>
25472         * po/zh_TW.po: Update Chinese (traditional) translation from
25473         translation project.
25475 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25476             Joseph Myers  <joseph@codesourcery.com>
25478         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25479         "localeinfo.h".
25480         (obstack_chunk_alloc): New macro.
25481         (obstack_chunk_free): Likewise.
25482         (record_offset): New function.
25483         (init_locale_data): Likewise.
25484         (align_locale_data): Likewise.
25485         (add_locale_empty): Likewise.
25486         (add_locale_raw_data): Likewise.
25487         (add_locale_raw_obstack): Likewise.
25488         (add_locale_string): Likewise.
25489         (add_locale_wstring): Likewise.
25490         (add_locale_uint32): Likewise.
25491         (add_locale_uint32_array): Likewise.
25492         (add_locale_char): Likewise.
25493         (start_locale_structure): Likewise.
25494         (end_locale_structure): Likewise.
25495         (start_locale_prelude): Likewise.
25496         (end_locale_prelude): Likewise.
25497         (write_locale_data): Take locale_file structure rather than an
25498         iovec.
25499         * locale/programs/locfile.h: Include "obstack.h".
25500         (struct locale_file): Change to store locale file contents instead
25501         of header.
25502         (init_locale_data): New prototype.
25503         (align_locale_data): Likewise.
25504         (add_locale_empty): Likewise.
25505         (add_locale_raw_data): Likewise.
25506         (add_locale_raw_obstack): Likewise.
25507         (add_locale_string): Likewise.
25508         (add_locale_wstring): Likewise.
25509         (add_locale_uint32): Likewise.
25510         (add_locale_uint32_array): Likewise.
25511         (add_locale_char): Likewise.
25512         (start_locale_structure): Likewise.
25513         (end_locale_structure): Likewise.
25514         (start_locale_prelude): Likewise.
25515         (end_locale_prelude): Likewise.
25516         (write_locale_data): Update prototype.
25517         * locale/programs/3level.h (struct TABLE): Remove result field.
25518         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25519         Use new locale_file interface.
25520         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25521         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25522         * locale/programs/ld-address.c (address_output): Use new
25523         locale_file interface.
25524         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25525         NO_ADD_LOCALE.
25526         (collate_finish): Don't call collseq_table_finalize.
25527         (collate_output): Use new locale_file interface.
25528         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25529         in file.
25530         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25531         (TABLE): Move defines earlier in file.
25532         (ELEMENT): Likewise.
25533         (DEFAULT): Likewise.
25534         (wctrans_table_add): Move macro and inline function earlier in
25535         file.
25536         (struct wctype_table): Move type earlier in file.
25537         (add_locale_wctype_table): New static prototype.
25538         (struct locale_ctype_t): Use logical types instead of struct iovec
25539         pointers for members.
25540         (ctype_output): Use new locale_file interface.
25541         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25542         new locale_file interface.
25543         (allocate_arrays): Update for use of new locale_file interface.
25544         * locale/programs/ld-identification.c (identification_output): Use
25545         new locale_file interface.
25546         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25547         * locale/programs/ld-messages.c (messages_output): Likewise.
25548         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25549         * locale/programs/ld-name.c (name_output): Likewise.
25550         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25551         * locale/programs/ld-paper.c (paper_output): Likewise.
25552         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25553         * locale/programs/ld-time.c (time_output): Likewise.
25555 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25557         * benchtests/Makefile: Add memrchr benchmark.
25558         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25559         benchmark as memrchr.
25560         * benchtests/bench-memrchr-ifunc.c: New file.
25561         * benchtests/bench-memrchr.c: New file.
25563 2013-09-06   Will Newton  <will.newton@linaro.org>
25565         * benchtests/Makefile (string-bench): Add memcpy.
25567 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25568             Cong Wang  <amwang@redhat.com>
25570         [BZ #15850]
25571         * sysdeps/unix/sysv/linux/bits/in.h
25572         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25573         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25574         before __USE_KERNEL_IPV6_DEFS uses.
25575         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25576         IPPROTO_BEETPH.
25577         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25578         sockaddr_in6, or ipv6_mreq.
25580 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25582         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25583         memory access for final bytes in some large inputs.
25584         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25586 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25588         * string/test-memrchr.c: New file.
25589         * string/test-memrchr-ifunc.c: New file.
25590         * string/Makefile: Add new memrchr testcase.
25592 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25594         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25595         fanotify_init returns EPERM.
25597 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25599         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25600         errors.
25601         (top level): Treat second token from macro or constant entries for
25602         allowed headers as allowed.
25603         * include/complex.h: Condition internal declarations on
25604         [!_ISOMAC].
25605         * include/fenv.h: Condition include of <stdbool.h> and internal
25606         declarations on [!_ISOMAC].
25608 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25610         [BZ #15923]
25611         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25613 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25615         * configure.in (--enable-versioning): Remove configure option.
25616         (libc_cv_asm_symver_directive): Remove configure test.
25617         (libc_cv_ld_version_script_option): Likewise.
25618         (VERSIONING): Remove variable and AC_SUBST.
25619         (DO_VERSIONING): Remove AC_DEFINE.
25620         * configure: Regenerated.
25621         * config.h.in (DO_VERSIONING): Remove macro.
25622         * Makerules [$(versioning) = yes]: Change conditionals to
25623         [$(build-shared) = yes].
25624         * config.make.in (versioning): Remove variable.
25625         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25626         [$(build-shared) = yes].
25627         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25628         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25629         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25630         [$(build-shared) = yes].
25631         * extra-lib.mk [$(versioning) = yes]: Likewise.
25632         * hurd/Makefile [$(versioning) = yes]: Likewise.
25633         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25634         [SHARED].
25635         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25636         [SHARED].
25637         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25638         [SHARED && !NO_HIDDEN].
25639         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25640         [SHARED].
25641         [SHARED && DO_VERSIONING]: Likewise..
25642         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25643         [$(build-shared) = yes].
25644         * manual/install.texi (--disable-versioning): Remove
25645         documentation.
25646         * INSTALL: Regenerated.
25647         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25648         to [SHARED].
25649         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25650         [$(build-shared) = yes].
25651         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25652         * sysdeps/i386/i686/multiarch/strstr-c.c
25653         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25654         [SHARED && !NO_HIDDEN].
25655         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25656         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25657         * sysdeps/powerpc/powerpc32/dl-machine.c
25658         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25659         * sysdeps/powerpc/powerpc32/sysdep.h
25660         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25661         to [SHARED && PIC && !NO_HIDDEN].
25662         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25663         conditional to [SHARED].
25665 2013-09-04   Will Newton  <will.newton@linaro.org>
25667         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25668         * benchtests/bench-string.h: Include bench-timing.h instead
25669         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25670         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25671         call to HP_TIMING_DIFF_INIT.
25672         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25673         instead of hp-timing.h macros.
25674         * benchtests/bench-memchr.c: Likewise.
25675         * benchtests/bench-memcmp.c: Likewise.
25676         * benchtests/bench-memcpy.c: Likewise.
25677         * benchtests/bench-memmem.c: Likewise.
25678         * benchtests/bench-memmove.c: Likewise.
25679         * benchtests/bench-memset.c: Likewise.
25680         * benchtests/bench-rawmemchr.c: Likewise.
25681         * benchtests/bench-strcasecmp.c: Likewise.
25682         * benchtests/bench-strcasestr.c: Likewise.
25683         * benchtests/bench-strcat.c: Likewise.
25684         * benchtests/bench-strchr.c: Likewise.
25685         * benchtests/bench-strcmp.c: Likewise.
25686         * benchtests/bench-strcpy.c: Likewise.
25687         * benchtests/bench-strcpy_chk.c: Likewise.
25688         * benchtests/bench-strlen.c: Likewise.
25689         * benchtests/bench-strncasecmp.c: Likewise.
25690         * benchtests/bench-strncat.c: Likewise.
25691         * benchtests/bench-strncmp.c: Likewise.
25692         * benchtests/bench-strncpy.c: Likewise.
25693         * benchtests/bench-strnlen.c: Likewise.
25694         * benchtests/bench-strpbrk.c: Likewise.
25695         * benchtests/bench-strrchr.c: Likewise.
25696         * benchtests/bench-strspn.c: Likewise.
25697         * benchtests/bench-strstr.c: Likewise.
25699 2013-09-04  Will Newton  <will.newton@linaro.org>
25701         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25703 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25705         [BZ #15427]
25706         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25707         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25708         * math/libm-test.inc (lgamma_test_data): Add more tests.
25709         * sysdeps/i386/fpu/libm-test-ulps: Update.
25710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25712 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25714         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25716         Add ifunc.
25717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25718         Add strcmp-sse2-unaligned
25719         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25721 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25723         * Versions.def (libc): Add GLIBC_2.19.
25725 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25727         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25728         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25730 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25732         [BZ #14155]
25733         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25734         intermediate calculations in recurrence.
25735         (__ieee754_ynf): Likewise.
25736         * math/libm-test.inc (jn_test_data): Do not allow spurious
25737         underflow exception.  Add more tests.
25738         (yn_test_data): Add more tests.
25739         * sysdeps/i386/fpu/libm-test-ulps: Update.
25740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25742 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25746 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25748         * csu/init-first.c: Fix then/than typos.
25749         * locale/programs/ld-collate.c: Likewise.
25750         * locale/programs/linereader.h: Likewise.
25751         * manual/charset.texi: Likewise.
25752         * manual/filesys.texi: Likewise.
25753         * manual/stdio.texi: Likewise.
25754         * manual/string.texi: Likewise.
25755         * stdlib/fmtmsg.c: Likewise.
25756         * sysdeps/i386/stpncpy.S: Likewise.
25757         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25758         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25760         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25762 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25764         * elf/dl-open.c: Fix typos.
25765         * iconvdata/gbbig5.c: Likewise.
25766         * iconvdata/iso-2022-jp.c: Likewise.
25767         * iconv/gconv_int.h: Likewise.
25768         * iconv/loop.c: Likewise.
25769         * nis/rpcsvc/nis.h: Likewise.
25770         * resolv/ns_name.c: Likewise.
25771         * stdio-common/vfscanf.c: Likewise.
25772         * streams/stropts.h: Likewise.
25773         * sunrpc/rpc_thread.c: Likewise.
25774         * sysdeps/i386/strpbrk.S: Likewise.
25775         * sysdeps/ieee754/k_standard.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25777         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25778         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25779         * sysdeps/mach/hurd/profil.c: Likewise.
25780         * sysdeps/s390/dl-procinfo.h: Likewise.
25781         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25782         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25783         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25784         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25785         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25787 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25789         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25792 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25794         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25795         aix specific files.
25796         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25797         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25798         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25799         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25800         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25801         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25802         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25805 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25806             Roland McGrath  <roland@hack.frob.com>
25808         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25809         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25811 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25813         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25814         __executable_start symbol instead of _start.
25816 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25818         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25819         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25820         Move macros to...
25821         * sysdeps/gnu/ldsodefs.h: ... this new file.
25823         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25824         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25825         instead of ELFOSABI_LINUX.
25827         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25828         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25829         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25830         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25831         Likewise.
25832         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25833         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25834         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25835         Likewise.
25836         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25837         (ibm_extended_long_double): Add ieee_nan member.
25838         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25839         (do_test): New function.
25841         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25842         TEST_TRUNC.
25843         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25844         functions, renamed from truncdfsf_test, trunctfsf_test,
25845         trunctfdf_test.
25846         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25847         functions.
25848         (do_test): Run all these.
25850 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25852         * argp/argp-help.c: Fix typos.
25853         * argp/argp-parse.c: Likewise.
25854         * debug/backtracesyms.c: Likewise.
25855         * elf/elf.h: Likewise.
25856         * malloc/malloc.c: Likewise.
25857         * nis/nis_print.c: Likewise.
25858         * resolv/res_comp.c: Likewise.
25859         * stdlib/stdlib.h: Likewise.
25860         * sunrpc/clnt_tcp.c: Likewise.
25861         * sunrpc/clnt_udp.c: Likewise.
25862         * sunrpc/clnt_unix.c: Likewise.
25863         * sysdeps/unix/bsd/ptsname.c: Likewise.
25864         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25865         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25867         Likewise.
25868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25869         Likewise.
25870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25871         Likewise.
25872         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25874 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25876         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25879 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25881         [BZ #15897]
25882         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25883         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25884         ($(objpfx)bug-dl-leaf): New rule.
25885         ($(objpfx)bug-dl-leaf.so): Likewise.
25886         ($(objpfx)bug-dl-leaf.out): Likewise.
25887         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25888         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25889         * dlfcn/bug-dl-leaf.c: New test.
25890         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25891         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25892         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25893         (dlclose): Likewise.
25894         (dlmopen): Likewise.
25896 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25898         * include/netdb.h [!_ISOMAC]:
25899         Don't include <tls.h>.
25900         (h_errno, __libc_h_errno): Move declaration and macros out of
25901         [_LIBC_REENTRANT].
25903         * include/resolv.h [_RESOLV_H_]:
25904         Don't include <tls.h>.
25905         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25906         * resolv/res_libc.c: Don't include <tls.h>.
25907         (_res): Use __attribute__ ((nocommon)) in place of
25908         __attribute__ ((section (".bss"))).
25910         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25911         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25913         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25915         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25916         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25918         * resolv/res_mkquery.c: Include <sys/time.h>.
25920         * inet/ifreq.c: Moved to ...
25921         * sysdeps/unix/ifreq.c: ... here.
25922         * inet/ifreq.c: New file, true stub version.
25924         * socket/sa_len.c: New file.
25925         * socket/Makefile (aux): Add it.
25926         * sysdeps/unix/sysv/linux/Makefile
25927         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25928         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25929         and #include <socket/sa_len.c>.
25930         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25931         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25933         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25934         * bits/socket.h: ... here.
25936         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25937         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25938         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25940 2013-08-27  Andreas Schwab  <schwab@suse.de>
25942         [BZ #15736]
25943         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25944         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25945         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25946         * string/test-strcasecmp.c (test_main): Run tests in several
25947         locales.
25948         * string/test-strncasecmp.c (test_main): Likewise.
25950         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25951         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25952         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25954         (__strncasecmp_ssse3) [PIC]: Likewise.
25956 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25958         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25960         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25961         instead of explicitly declaring xdecrypt.
25962         * nis/nss_nis/nis-publickey.c: Likewise.
25964 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25966         [BZ #15890]
25967         * nscd/aicache.c: Include res_hconf.h.
25968         (addhstaiX): Initialize res_hconf.
25970 2013-08-26  Andreas Schwab  <schwab@suse.de>
25972         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25973         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25975 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25977         * nscd/aicache.c (addhstaiX): Fix indentation.
25979 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25981         * configure.ac: Quote $build_pt_chown test.
25982         * configure: Regenerated.
25984 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25986         [BZ #15532]
25987         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25988         * math/s_cexpf.c (__cexpf): Likewise.
25989         * math/s_cexpl.c (__cexpl): Likewise.
25990         * math/libm-test.inc (cexp_test_data): Correct expected return
25991         value for NaN + i0.  Add another test.
25993 2013-08-22  David S. Miller  <davem@davemloft.net>
25995         * po/ca.po: Update Catalan translation from translation project.
25996         * po/uk.po: Add Ukrainian translations from translation project.
25998 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
26000         [BZ #15797]
26001         * math/s_fdim.c (__fdim): Check for infinite arguments if result
26002         is infinite, not alongside NaN test.
26003         * math/s_fdimf.c (__fdimf): Likewise.
26004         * math/s_fdiml.c (__fdiml): Likewise.
26005         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
26006         errno is unchanged.
26008 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
26010         * argp/argp-help.c: Fix typos.
26011         * crypt/speeds.c: Likewise.
26012         * csu/check_fds.c: Likewise.
26013         * elf/dl-load.c: Likewise.
26014         * elf/dl-open.c: Likewise.
26015         * elf/reldep3.c: Likewise.
26016         * elf/reldep.c: Likewise.
26017         * elf/sprof.c: Likewise.
26018         * iconv/iconv_charmap.c: Likewise.
26019         * iconv/skeleton.c: Likewise.
26020         * iconv/strtab.c: Likewise.
26021         * io/lockf64.c: Likewise.
26022         * libio/libioP.h: Likewise.
26023         * resolv/gai_notify.c: Likewise.
26024         * resolv/ns_name.c: Likewise.
26025         * resolv/ns_samedomain.c: Likewise.
26026         * resolv/res_send.c: Likewise.
26027         * stdlib/random.c: Likewise.
26028         * sunrpc/rpc/xdr.h: Likewise.
26029         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26030         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26031         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26032         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26033         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26034         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26036         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26037         * sysdeps/mach/hurd/check_fds.c: Likewise.
26038         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26039         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26041         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26042         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26043         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26044         * sysdeps/pthread/aio_notify.c: Likewise.
26045         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26046         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26047         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26048         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26049         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26051 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26053         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26054         version if bit_Slow_SSE4_2 is set.
26055         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26056         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26058 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26060         [BZ #15867]
26061         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26062         trampoline stack frame information.
26063         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26065         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26066         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26067         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26068         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26069         (_libc_vdso_platform_setup): Initialize the signal trampolines.
26070         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26071         sa_flags value.
26072         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26073         interrupting a syscall and set with option SA_SIGINFO.
26075 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26077         [BZ #15531]
26078         * math/s_cproj.c (__cproj): Only return an infinity if one part of
26079         argument is infinite.
26080         * math/s_cprojf.c (__cprojf): Likewise.
26081         * math/s_cprojl.c (__cprojl): Likewise.
26082         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26083         * math/libm-test.inc (cproj_test_data): Add more tests.
26085         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26087         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26088         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26089         size.  Use __ffs to determine corresponding shift.
26091 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26092             Roland McGrath  <roland@hack.frob.com>
26094         * Makefile (INSTALL): Remove trailing blank lines from output of
26095         makeinfo.
26097 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26099         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26100         Align 32 bit compat elf_greg to 8 bytes.
26102 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
26104         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26106 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26108         * string/strcoll_l.c (coll_seq): New structure.
26109         (get_next_seq_cached): New function.
26110         (get_next_seq): New function.
26111         (do_compare): New function.
26112         (STRCOLL): Use GNU style definition.  Simplify implementation
26113         by using get_next_seq, get_next_seq_cached and do_compare.
26115 2013-08-16  Florian Weimer  <fweimer@redhat.com>
26117         [BZ #14699]
26118         CVE-2013-4237
26119         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26120         member.
26121         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26122         member.
26123         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26124         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26125         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
26126         conditional.
26127         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26128         GETDENTS_64BIT_ALIGNED.
26129         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26130         * manual/filesys.texi (Reading/Closing Directory): Document
26131         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
26132         strongly.
26133         * manual/conf.texi (Limits for Files): Add portability note to
26134         NAME_MAX, PATH_MAX.
26135         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26137 2013-08-13  Andreas Schwab  <schwab@suse.de>
26139         [BZ #15749]
26140         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26141         of fabs.
26142         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26143         LDBL_MAX_EXP >= 16384]: Add tests for it.
26145 2013-08-12  David S. Miller  <davem@davemloft.net>
26147         * version.h (RELEASE): Set to "development".
26148         (VERSION): Set to "2.18.90".
26149         * NEWS: Add 2.19 section.
26151 2013-08-03  David S. Miller  <davem@davemloft.net>
26153         * po/ko.po: Update Korean translation from translation project.
26155 2013-08-01  David S. Miller  <davem@davemloft.net>
26157         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
26158         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26159         Bilka.
26161 2013-07-30  David S. Miller  <davem@davemloft.net>
26163         * po/fr.po: Update French translation from translation project.
26165 2013-07-28  David S. Miller  <davem@davemloft.net>
26167         * po/cs.po: Update Czech translation from translation project.
26169         * po/sv.po: Update Swedish translation from translation project.
26171 2013-07-27  David S. Miller  <davem@davemloft.net>
26173         * po/eo.po: Update Esperanto translation from translation project.
26175         * po/vi.po: Update Vietnamese translation from translation project.
26177         * po/de.po: Update German translation from translation project.
26179 2013-07-26  David S. Miller  <davem@davemloft.net>
26181         * po/bg.po: Update Bulgarian translation from translation project.
26183         * po/nl.po: Update Dutch translation from translation project.
26184         * po/pl.po: Update Polish translation from translation project.
26185         * po/ru.po: Update Russian translation from translation project.
26187 2013-07-24  David S. Miller  <davem@davemloft.net>
26189         * po/libc.pot: Update.
26191 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26193         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26194         variable page size.
26195         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26196         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26197         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26199 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26201         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26203 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26204             Andreas Schwab  <schwab@suse.de>
26205             Roland McGrath  <roland@hack.frob.com>
26206             Joseph Myers  <joseph@codesourcery.com>
26207             Carlos O'Donell  <carlos@redhat.com>
26209         [BZ #15755]
26210         * config.h.in: Define HAVE_PT_CHOWN.
26211         * config.make.in (build-pt-chown): New variable.
26212         * configure.in (--enable-pt_chown): New configure option.
26213         * configure: Regenerate.
26214         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26215         build-pt-chown is enabled.
26216         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26217         pt_chown to fix pty ownership.
26218         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26219         CLOSE_ALL_FDS.
26220         * manual/install.texi (Configuring and compiling): Mention
26221         --enable-pt_chown. Add @findex for grantpt.
26222         * INSTALL: Regenerate.
26224 2013-07-20  David S. Miller  <davem@davemloft.net>
26226         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26227         difference between 32-bit and 64-bit.
26229 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26231         [BZ #15711]
26232         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26233         Avoid system header dependency with -ffreestanding.
26234         ($(objpfx)bits/syscall%d): Likewise.
26236 2013-07-13  David S. Miller  <davem@davemloft.net>
26238         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26239         underflows from atanl/atan2l due to bug 15319.
26240         (casinh_test_data): Likewise.
26242 2013-07-07  David S. Miller  <davem@davemloft.net>
26244         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26246 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26248         * sysdeps/i386/fpu/libm-test-ulps: Update.
26249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26251 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26253         * configure.in (--enable-lock-elision): Fix message text.
26254         * INSTALL: Regenerate.
26255         * configure: Regenerate.
26257 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26261 2013-07-03  Andreas Jaeger  <aj@suse.de>
26263         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26264         define.
26265         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26266         (ptrace_peeksiginfo_args): Add.
26267         (__ptrace_peeksiginfo_flags): Add.
26268         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26272 2013-07-03  Allan McRae  <allan@archlinux.org>
26274         * sysdeps/i386/fpu/libm-test-ulps: Update.
26276 2013-07-02  David S. Miller  <davem@davemloft.net>
26278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26280 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26284 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26286         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26289 2013-07-02  Andi Kleen <ak@linux.intel.com>
26291         * config.h.in (ENABLE_LOCK_ELISION): Add.
26292         * configure.in (--enable-lock-elision): Add option.
26293         * manual/install.texi: Document --enable lock elision.
26294         * configure: Regenerate
26295         * INSTALL: Regenerate.
26297 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26299         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26300         SSE4.2 strcasecmp for libc.a.
26301         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26303 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26305         [BZ #13304]
26306         * soft-fp/op-common.h (_FP_FMA): New macro.
26307         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26308         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26309         (_FP_MUL_MEAT_1_imm): ... here.
26310         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26311         (_FP_MUL_MEAT_1_wide): ... here.
26312         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26313         (_FP_MUL_MEAT_1_hard): ... here.
26314         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26315         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26316         (_FP_MUL_MEAT_2_wide): ... here.
26317         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26318         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26319         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26320         (_FP_MUL_MEAT_2_gmp): ... here.
26321         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26322         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26323         (_FP_MUL_MEAT_4_wide): ... here.
26324         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26325         (_FP_MUL_MEAT_4_gmp): ... here.
26326         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26327         (_FP_WFRACBITS_DW_S): Likewise.
26328         (_FP_WFRACXBITS_DW_S): Likewise.
26329         (_FP_HIGHBIT_DW_S): Likewise.
26330         (FP_FMA_S): Likewise.
26331         (_FP_FRAC_HIGH_DW_S): Likewise.
26332         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26333         (_FP_WFRACBITS_DW_D): Likewise.
26334         (_FP_WFRACXBITS_DW_D): Likewise.
26335         (_FP_HIGHBIT_DW_D): Likewise.
26336         (FP_FMA_D): Likewise.
26337         (_FP_FRAC_HIGH_DW_D): Likewise.
26338         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26339         (_FP_WFRACBITS_DW_E): Likewise.
26340         (_FP_WFRACXBITS_DW_E): Likewise.
26341         (_FP_HIGHBIT_DW_E): Likewise.
26342         (FP_FMA_E): Likewise.
26343         (_FP_FRAC_HIGH_DW_E): Likewise.
26344         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26345         (_FP_WFRACBITS_DW_Q): Likewise.
26346         (_FP_WFRACXBITS_DW_Q): Likewise.
26347         (_FP_HIGHBIT_DW_Q): Likewise.
26348         (FP_FMA_Q): Likewise.
26349         (_FP_FRAC_HIGH_DW_Q): Likewise.
26350         * soft-fp/fmasf4.c: New file.
26351         * soft-fp/fmadf4.c: Likewise.
26352         * soft-fp/fmatf4.c: Likewise.
26354 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26357         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26358         Silvermont.
26359         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26360         macro.
26361         (index_Slow_SSE4_2): Likewise.
26362         (index_Prefer_PMINUB_for_stringop): Likewise.
26363         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26364         bit_Slow_SSE4_2 is set.
26365         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26366         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26368 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26370         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26371         rtld_global._dl_hwcap2.
26372         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26373         POWER8.
26374         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26375         POWER8 feature descriptions defined in _dl_hwcap2.
26376         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26377         string handling for POWER8 feature bits.
26378         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26379         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26380         _dl_powerpc_cap_flags.
26381         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26382         * sysdeps/powerpc/rtld-global-offsets.sym
26383         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26384         _dl_hwcap2 in the rtld_global_ro structure.
26386 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26388         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26389         hardware capabilities in support of AT_HWCAP2.
26390         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26391         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26392         GLRO(dl_hwcap2).
26393         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26394         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26395         explicitly the unknown a_type display mechanism is used.
26396         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26397         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26398         struct member.
26399         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26400         to macro prototype for AT_HWCAP2 support.
26401         * sysdeps/i386/dl-procinfo.h: Likewise.
26402         * sysdeps/s390/dl-procinfo.h: Likewise.
26403         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26404         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26405         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26406         return -1 for unknown a_type display fallback.
26407         * sysdeps/sparc/dl-procinfo.h: Likewise.
26408         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26409         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26411 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26414         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26416 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26418         [BZ #12492]
26419         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26420         mprotect making __stack_prot writable.
26422 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26423             Joseph Myers  <joseph@codesourcery.com>
26425         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26426         as being properly aligned.
26428 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26430         * dlfcn/modstatic5.c: New file.
26431         * dlfcn/tststatic5.c: New file.
26432         * dlfcn/Makefile (tests): Add tststatic5.
26433         (tests-static): Likewise.
26434         (modules-names): Add modstatic5.
26435         (tststatic5-ENV): New variable.
26436         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26438         [BZ #15022]
26439         * elf/dl-support.c (_dl_main_map): New variable.
26440         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26441         (_dl_nns, _dl_load_adds): Set to 1.
26442         (_dl_initial_searchlist): Refer to _dl_main_map.
26443         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26444         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26445         call to _dl_get_origin.
26446         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26447         around call_map.
26448         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26449         * dlfcn/modstatic3.c: New file.
26450         * dlfcn/tststatic3.c: New file.
26451         * dlfcn/tststatic4.c: New file.
26452         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26453         (tests-static): Likewise.
26454         (modules-names): Add modstatic3.
26455         (tststatic3-ENV, tststatic4-ENV): New variables.
26456         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26457         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26459 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26461         * configure.in (CC): Require GCC version 4.4 or later.
26462         * configure: Regenerated.
26463         * manual/install.texi (Tools for Compilation): Update GCC version
26464         requirement.
26465         * INSTALL: Regenerated.
26467 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26469         [BZ #15674]
26470         * string/test-memcmp.c (check2): New.
26471         (main): Call check2.
26473         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26475 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26477         [BZ #15022]
26478         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26479         over to...
26480         (dl_open_worker) [!SHARED]: ... here.
26482 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26484         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26486 2013-06-25  Richard Henderson  <rth@redhat.com>
26488         * locale/programs/locarchive.c: Include <libc-internal.h>
26490 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26492         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26493         trailing whitespace removed.
26495 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26497         [BZ #10283]
26498         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26499         * locale/programs/locarchive.c: Include libc-mmap.h.
26500         (prepare_address_space): Take two new outputs (the mmap base and len).
26501         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26502         values.
26503         (create_archive): Declare new mmap base and len values for
26504         prepare_address_space, and store the result in ah.
26505         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26506         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26507         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26508         Declare new mmap base and len values for
26509         prepare_address_space, and store the result in new_ah.
26510         (open_archive): Declare new mmap base and len values for
26511         prepare_address_space, and store the result in ah.
26512         (close_archive): If ah->mmap_base is not NULL, use that and
26513         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26514         * sysdeps/generic/libc-mmap.h: New file.
26516 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26518         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26519         (ALIGN_UP): Likewise.
26520         (PTR_ALIGN_DOWN): Likewise.
26521         (PTR_ALIGN_UP): Likewise.
26523 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26525         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26526         entry mapped to PPC_PLATFORM_POWER8.
26527         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26528         POWER8.
26529         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26530         (_dl_string_platform): Add case for exporting platform position for
26531         POWER8.
26532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26533         search path to sysdeps/powerpc/powerpc32/power8 directory.
26534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26535         search path to sysdeps/powerpc/powerpc64/power8 directory.
26536         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26537         power7 directories.
26538         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26539         power7 directories.
26541 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26543         * INSTALL: Regenerate.
26545         * nscd/connections.c (nscd_init): Fix comment.
26547 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26549         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26551         [BZ #15667]
26552         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26553         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26555 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26557         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26558         DL_DST_REQ_STATIC.
26559         (DL_DST_REQ_STATIC): Remove macro.
26561 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26563         [BZ #7006]
26564         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26565         with a shift of 0 bits.
26567 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26569         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26570         $(tststatic-ENV).
26572 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26574         [BZ #15655]
26575         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26577 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26579         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26580         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26581         accepts -fno-tree-loop-distribute-patterns.
26582         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26583         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26584         recursive call.
26585         * string/memset.c (memset): Likewise.
26586         * string/test-memmove.c (simple_memmove): Disable loop transformation
26587         to library calls.
26588         * string/test-memset.c (simple_memset): Likewise.
26589         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26590         * benchtests/bench-memset.c (simple_memset): Likewise.
26591         * configure: Regenerated.
26593 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26595         * math/test-misc.c (main): Ignore fesetround failure when failures
26596         of subsequent rounding tests would be ignored.
26598         [BZ #15654]
26599         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26600         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26601         * math/fegetenv.c (__fegetenv): Return 0.
26602         * math/fegetexcept.c (fegetexcept): Return 0.
26603         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26604         FE_TONEAREST.
26605         * math/feholdexcpt.c (feholdexcept): Return 0.
26606         * math/fesetenv.c (__fesetenv): Return 0.
26607         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26608         argument FE_TONEAREST.
26609         * math/feupdateenv.c (__feupdateenv): Return 0.
26610         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26612 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26614         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26615         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26616         ($(objpfx)rtld-%.os rules): Use them.
26618 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26620         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26621         fields.
26623 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26625         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26626         length of target pattern, then descending length of dependency pattern.
26627         * configure.in (AWK): Require gawk 3.1.2 or newer.
26628         * manual/install.texi (Tools for Compilation): Say that we do.
26629         * configure: Regenerated.
26631         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26632         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26633         * scripts/sysd-rules.awk: ... this new script.
26634         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26635         than a glob-style pattern.
26637 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26639         * math/test-misc.c (main): Do not treat incorrectly rounded
26640         conversions as failure unless ROUNDING_TESTS passes.
26642 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26644         [BZ #15631]
26645         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26646         restore exception state around main square root computation, then
26647         check for inexactness explicitly.
26649         * math/libm-test.inc (fma_test_data): Add another test.
26651 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26653         * manual/threads.texi (Non-POSIX Extensions): New document
26654         node.  Document pthread_getattr_default_np and
26655         pthread_setattr_default_np.
26657         * Versions.def (libpthread): Add GLIBC_2.18.
26658         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26660         Likewise.
26661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26662         Likewise.
26663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26664         Likewise.
26665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26668         Likewise.
26669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26670         Likewise.
26671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26672         Likewise.
26673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26674         Likewise.
26675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26676         Likewise.
26678 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26681         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26683 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26684             H.J. Lu  <hjl.tools@gmail.com>
26686         [BZ #15627]
26687         * sysdeps/x86_64/rtld-memset.c: Remove file.
26688         * sysdeps/x86_64/rtld-memset.S: New file.
26690 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26692         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26693         (test_in_one_mode): Take arguments for whether the rounding mode
26694         is supported for each floating-point type.
26695         (do_test): Pass new arguments to test_in_one_mode using
26696         ROUNDING_TESTS.
26698 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26700         * posix/tst-waitid.c (do_test): Distinguish different instances of
26701         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26702         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26703         before entering the kernel for waitpid.
26705 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26707         * NEWS: Fix note on clock function precision.  Text by Roland
26708         McGrath.
26710 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26712         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26713         it into place only when and if the sanity check passes.
26715 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26717         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26718         output for whether conversion result is exact.  Take argument
26719         indicating whether type is IBM long double.
26720         (round_for_all): Change need_exact field to ibm_ld.
26721         * stdlib/tst-strtod-round.c (struct exactness): New type.
26722         (struct test): Change bool ld_ok field to struct exactness exact.
26723         (TEST): Update all definitions for change to field.
26724         (tests): Regenerate array contents.
26725         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26726         field value.  Check for IBM long double here.
26727         (do_test): Update calls to test_in_one_mode.
26729 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26731         [BZ #12515]
26732         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26733         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26735 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26737         [BZ #15605]
26738         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26739         generated by the compiler on loop optimizations.
26740         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26741         general definitions.
26743 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26745         * math/bug-nextafter.c: Include <math-tests.h>.
26746         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26747         the relevant type.
26748         * math/bug-nexttoward.c: Include <math-tests.h>.
26749         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26750         the relevant type.
26751         * math/test-misc.c: Include <math-tests.h>.
26752         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26753         the relevant type.
26755 2013-06-12  Andreas Jaeger  <aj@suse.de>
26757         * po/ia.po: Update Interlingua translation from translation
26758         project.
26760 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26762         * include/fenv.h: Include stdbool.h.
26763         (struct rm_ctx): New structure.
26764         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26765         Define macro.
26766         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26767         (SET_RESTORE_ROUNDF): Likewise.
26768         (SET_RESTORE_ROUNDL): Likewise.
26769         (SET_RESTORE_ROUND_NOEX): Likewise.
26770         (SET_RESTORE_ROUND_NOEXF): Likewise.
26771         (SET_RESTORE_ROUND_NOEXL): Likewise.
26772         (SET_RESTORE_ROUND_53BIT): Likewise.
26773         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26774         (libc_feresetround_noexf_ctx): Likewise.
26775         (libc_feresetround_noexl_ctx): Likewise.
26776         (libc_feholdsetround_53bit_ctx): Likewise.
26777         (libc_feresetround_53bit_ctx): Likewise.
26778         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26779         (libc_feholdexcept_setround_sse_ctx): New function.
26780         (libc_fesetenv_sse_ctx): Likewise.
26781         (libc_feupdateenv_sse_ctx): Likewise.
26782         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26783         (libc_feholdexcept_setround_387_ctx): Likewise.
26784         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26785         (libc_feholdsetround_387_prec_ctx): Likewise.
26786         (libc_feholdsetround_387_ctx): Likewise.
26787         (libc_feholdsetround_387_53bit_ctx): Likewise.
26788         (libc_feholdsetround_sse_ctx): Likewise.
26789         (libc_feresetround_sse_ctx): Likewise.
26790         (libc_feresetround_387_ctx): Likewise.
26791         (libc_feupdateenv_387_ctx): Likewise.
26792         (libc_feholdexcept_setroundf_ctx): Define macro.
26793         (libc_fesetenvf_ctx): Likewise.
26794         (libc_feupdateenvf_ctx): Likewise.
26795         (libc_feholdsetroundf_ctx): Likewise.
26796         (libc_feresetroundf_ctx): Likewise.
26797         (libc_feholdexcept_setround_ctx): Likewise.
26798         (libc_fesetenv_ctx): Likewise.
26799         (libc_feupdateenv_ctx): Likewise.
26800         (libc_feholdsetround_ctx): Likewise.
26801         (libc_feresetround_ctx): Likewise.
26802         (libc_feholdexcept_setroundl_ctx): Likewise.
26803         (libc_feupdateenvl_ctx): Likewise.
26804         (libc_feholdsetroundl_ctx): Likewise.
26805         (libc_feresetroundl_ctx): Likewise.
26806         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26807         (libc_feresetround_53bit_ctx): Likewise.
26809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26811         * locale/iso-639.def: Convert to UTF-8.
26813 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26815         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26816         (EXCEPTION_TESTS_double): Likewise.
26817         (EXCEPTION_TESTS_long_double): Likewise.
26818         (EXCEPTION_TESTS): Likewise.
26819         * math/libm-test.inc (test_exceptions): Only test exceptions if
26820         EXCEPTION_TESTS (FLOAT).
26822 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26824         * benchtests/Makefile (string-bench): Add strcpy_chk and
26825         stpcpy_chk.
26826         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26827         * benchtests/bench-stpcpy_chk.c: New file.
26828         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26829         * benchtests/bench-strcpy_chk.c: New file.
26830         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26831         code.
26832         (do_test): Likewise.
26834 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26837         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26838         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26839         with tabs where appropriate.
26840         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26841         dl-procinfo.h.
26842         [PPC_PLATFORM_PPC440]: Likewise.
26843         [PPC_PLATFORM_PPC464]: Likewise.
26844         [PPC_PLATFORM_PPC476]: Likewise.
26845         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26846         ppc464, and ppc476 platform strings merging from ports/
26847         dl-procinfo.h.
26849 2013-06-11  Andreas Schwab  <schwab@suse.de>
26851         [BZ #14991]
26852         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26853         (from_ucs4_idx): Regenerate.
26854         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26855         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26856         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26857         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26858         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26859         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26860         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26861         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26862         from FROM_LOOP and TO_LOOP specific macros.
26863         (BODY): Handle combining characters.
26864         * iconvdata/BIG5HKSCS.irreversible: Update.
26865         * iconvdata/BIG5HKSCS.precomposed: New file.
26866         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26867         characters.
26868         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26870 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26872         * include/sys/time.h: Fix indentation and add copyright header.
26874         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26875         (do_test): Likewise.
26876         * string/test-memchr.c (do_one_test): Likewise.
26877         (do_test): Likewise.
26878         * string/test-memcmp.c (do_one_test): Likewise.
26879         (do_test): Likewise.
26880         * string/test-memcpy.c (do_one_test): Likewise.
26881         (do_test): Likewise.
26882         * string/test-memmem.c (do_one_test): Likewise.
26883         (do_test): Likewise.
26884         (do_random_tests): Likewise.
26885         * string/test-memmove.c (do_one_test): Likewise.
26886         (do_test): Likewise.
26887         * string/test-memset.c (do_one_test): Likewise.
26888         (do_test): Likewise.
26889         * string/test-rawmemchr.c (do_one_test): Likewise.
26890         (do_test): Likewise.
26891         * string/test-strcasecmp.c (do_one_test): Likewise.
26892         (do_test): Likewise.
26893         * string/test-strcasestr.c (do_one_test): Likewise.
26894         (do_test): Likewise.
26895         * string/test-strcat.c (do_one_test): Likewise.
26896         (do_test): Likewise.
26897         * string/test-strchr.c (do_one_test): Likewise.
26898         (do_test): Likewise.
26899         * string/test-strcmp.c (do_one_test): Likewise.
26900         (do_test): Likewise.
26901         * string/test-strcpy.c (do_one_test): Likewise.
26902         (do_test): Likewise.
26903         * string/test-string.h: Likewise.
26904         (test_init): Likewise.
26905         * string/test-strlen.c (do_one_test): Likewise.
26906         (do_test): Likewise.
26907         * string/test-strncasecmp.c (do_one_test): Likewise.
26908         (do_test): Likewise.
26909         * string/test-strncat.c (do_one_test): Likewise.
26910         (do_test): Likewise.
26911         * string/test-strncmp.c (do_one_test): Likewise.
26912         (do_test_limit): Likewise.
26913         (do_test): Likewise.
26914         * string/test-strncpy.c (do_one_test): Likewise.
26915         (do_test): Likewise.
26916         * string/test-strnlen.c (do_one_test): Likewise.
26917         (do_test): Likewise.
26918         * string/test-strpbrk.c (do_one_test): Likewise.
26919         (do_test): Likewise.
26920         * string/test-strrchr.c (do_one_test): Likewise.
26921         (do_test): Likewise.
26922         * string/test-strspn.c (do_one_test): Likewise.
26923         (do_test): Likewise.
26924         * string/test-strstr.c (do_one_test): Likewise.
26925         (do_test): Likewise.
26927         * benchtests/Makefile (string-bench): Add string benchmarks.
26928         * benchtests/bench-bcopy-ifunc.c: New file.
26929         * benchtests/bench-bcopy.c: New file.
26930         * benchtests/bench-bzero-ifunc.c: New file.
26931         * benchtests/bench-bzero.c: New file.
26932         * benchtests/bench-memccpy-ifunc.c: New file.
26933         * benchtests/bench-memccpy.c: New file.
26934         * benchtests/bench-memchr-ifunc.c: New file.
26935         * benchtests/bench-memchr.c: New file.
26936         * benchtests/bench-memcmp-ifunc.c: New file.
26937         * benchtests/bench-memcmp.c: New file.
26938         * benchtests/bench-memmem-ifunc.c: New file.
26939         * benchtests/bench-memmem.c: New file.
26940         * benchtests/bench-memmove-ifunc.c: New file.
26941         * benchtests/bench-memmove.c: New file.
26942         * benchtests/bench-mempcpy-ifunc.c: New file.
26943         * benchtests/bench-mempcpy.c: New file.
26944         * benchtests/bench-memset-ifunc.c: New file.
26945         * benchtests/bench-memset.c: New file.
26946         * benchtests/bench-rawmemchr-ifunc.c: New file.
26947         * benchtests/bench-rawmemchr.c: New file.
26948         * benchtests/bench-stpcpy-ifunc.c: New file.
26949         * benchtests/bench-stpcpy.c: New file.
26950         * benchtests/bench-stpncpy-ifunc.c: New file.
26951         * benchtests/bench-stpncpy.c: New file.
26952         * benchtests/bench-strcasecmp-ifunc.c: New file.
26953         * benchtests/bench-strcasecmp.c: New file.
26954         * benchtests/bench-strcasestr-ifunc.c: New file.
26955         * benchtests/bench-strcasestr.c: New file.
26956         * benchtests/bench-strcat-ifunc.c: New file.
26957         * benchtests/bench-strcat.c: New file.
26958         * benchtests/bench-strchr-ifunc.c: New file.
26959         * benchtests/bench-strchr.c: New file.
26960         * benchtests/bench-strchrnul-ifunc.c: New file.
26961         * benchtests/bench-strchrnul.c: New file.
26962         * benchtests/bench-strcmp-ifunc.c: New file.
26963         * benchtests/bench-strcmp.c: New file.
26964         * benchtests/bench-strcpy-ifunc.c: New file.
26965         * benchtests/bench-strcpy.c: New file.
26966         * benchtests/bench-strcspn-ifunc.c: New file.
26967         * benchtests/bench-strcspn.c: New file.
26968         * benchtests/bench-strlen-ifunc.c: New file.
26969         * benchtests/bench-strlen.c: New file.
26970         * benchtests/bench-strncasecmp-ifunc.c: New file.
26971         * benchtests/bench-strncasecmp.c: New file.
26972         * benchtests/bench-strncat-ifunc.c: New file.
26973         * benchtests/bench-strncat.c: New file.
26974         * benchtests/bench-strncmp-ifunc.c: New file.
26975         * benchtests/bench-strncmp.c: New file.
26976         * benchtests/bench-strncpy-ifunc.c: New file.
26977         * benchtests/bench-strncpy.c: New file.
26978         * benchtests/bench-strnlen-ifunc.c: New file.
26979         * benchtests/bench-strnlen.c: New file.
26980         * benchtests/bench-strpbrk-ifunc.c: New file.
26981         * benchtests/bench-strpbrk.c: New file.
26982         * benchtests/bench-strrchr-ifunc.c: New file.
26983         * benchtests/bench-strrchr.c: New file.
26984         * benchtests/bench-strspn-ifunc.c: New file.
26985         * benchtests/bench-strspn.c: New file.
26986         * benchtests/bench-strstr-ifunc.c: New file.
26987         * benchtests/bench-strstr.c: New file.
26989         * benchtests/Makefile: Disable parallel execution of targets.
26990         (string-bench): Add memcpy.
26991         (benchset): New variable to store a list of benchmark sets.
26992         (bench-func): Renamed from bench.
26993         (bench-set): New target.
26994         (bench): Depend on bench-func and bench-set.
26995         * benchtests/README: Add section on benchmark sets.
26996         * benchtests/bench-memcpy-ifunc.c: New file.
26997         * benchtests/bench-memcpy.c: New file.
26998         * benchtests/bench-string.h: New file.
27000 2013-06-11  Andreas Schwab  <schwab@suse.de>
27002         [BZ #15577]
27003         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27004         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27005         values in the triple.
27006         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27007         terminator in the group key.
27009 2013-06-11  Andreas Jaeger  <aj@suse.de>
27011         * po/zh_TW.po: Update Chinese (traditional) translation from
27012         translation project.
27014 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27016         * include/time.h (__clock_gettime): Add libc_hidden_proto.
27017         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27018         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
27019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27020         (clock_getcpuclockid): Likewise.
27021         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27022         Add weak_alias and libc_hidden_def.
27023         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27024         * rt/clock_gettime.c (clock_gettime): Rename to
27025         __clock_gettime.  Add weak_alias and libc_hidden_def.
27026         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27027         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27028         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
27029         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27030         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27031         Likewise.
27032         * rt/clock_settime.c (clock_settime): Rename to
27033         __clock_settime.  Add weak_alias and libc_hidden_def.
27034         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27036 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
27038         * mach/err_boot.sub: Remove trailing whitespace.
27039         * mach/err_ipc.sub: Likewise.
27040         * mach/err_mach.sub: Likewise.
27042         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27043         (ROUNDING_TESTS_double): Likewise.
27044         (ROUNDING_TESTS_long_double): Likewise.
27045         (ROUNDING_TESTS): Likewise.
27046         * math/libm-test.inc: Include <math-tests.h>.
27047         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27048         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27049         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27050         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27052 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27054         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27055         of assigning.
27057 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
27059         * sysdeps/gnu/errlist.awk: Do not generate space at end of
27060         otherwise empty TRANS lines.
27061         * sysdeps/gnu/errlist.c: Regenerated.
27063         * catgets/gencat.c (error_print): Use (void) in function
27064         definition.
27065         * crypt/crypt_util.c (__init_des): Likewise.
27066         * crypt/speeds.c (Stop): Likewise.
27067         (main): Likewise.
27068         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27069         * inet/ruserpass.c (token): Likewise.
27070         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27071         * intl/localealias.c (extend_alias_table): Likewise.
27072         * intl/plural-exp.c (init_germanic_plural): Likewise.
27073         * libio/fcloseall.c (__fcloseall): Likewise.
27074         * libio/genops.c (_IO_flush_all): Likewise.
27075         (_IO_flush_all_linebuffered): Likewise.
27076         (_IO_cleanup): Likewise.
27077         (_IO_iter_begin): Likewise.
27078         (_IO_iter_end): Likewise.
27079         (_IO_list_lock): Likewise.
27080         (_IO_list_unlock): Likewise.
27081         (_IO_list_resetlock): Likewise.
27082         * libio/getchar.c (getchar): Likewise.
27083         * libio/getchar_u.c (getchar_unlocked): Likewise.
27084         * libio/getwchar.c (getwchar): Likewise.
27085         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27086         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27087         * login/getpt.c (__getpt): Likewise.
27088         * login/tst-utmp.c (main): Likewise.
27089         * malloc/hooks.c (__malloc_check_init): Likewise.
27090         * malloc/malloc.c (__malloc_stats): Likewise.
27091         * malloc/mtrace.c (tr_break): Likewise.
27092         (mtrace): Likewise.
27093         (muntrace): Likewise.
27094         * misc/fstab.c (endfsent): Likewise.
27095         * misc/getclktck.c (__getclktck): Likewise.
27096         * misc/getdtsz.c (__getdtablesize): Likewise.
27097         * misc/gethostid.c (gethostid): Likewise.
27098         * misc/getpagesize.c (__getpagesize): Likewise.
27099         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27100         (__get_nprocs): Likewise.
27101         (__get_phys_pages): Likewise.
27102         (__get_avphys_pages): Likewise.
27103         * misc/getttyent.c (getttyent): Likewise.
27104         (setttyent): Likewise.
27105         (endttyent): Likewise.
27106         * misc/getusershell.c (getusershell): Likewise.
27107         (endusershell): Likewise.
27108         (setusershell): Likewise.
27109         (initshells): Likewise.
27110         * misc/hsearch.c (__hdestroy): Likewise.
27111         * misc/sync.c (sync): Likewise.
27112         * misc/syslog.c (closelog_internal): Likewise.
27113         (closelog): Likewise.
27114         * misc/ttyslot.c (ttyslot): Likewise.
27115         * misc/vhangup.c (vhangup): Likewise.
27116         * posix/fork.c (__fork): Likewise.
27117         * posix/getegid.c (__getegid): Likewise.
27118         * posix/geteuid.c (__geteuid): Likewise.
27119         * posix/getgid.c (__getgid): Likewise.
27120         * posix/getpid.c (__getpid): Likewise.
27121         * posix/getppid.c (__getppid): Likewise.
27122         * posix/getuid.c (__getuid): Likewise.
27123         * posix/pause.c (pause): Likewise.
27124         * posix/setpgrp.c (setpgrp): Likewise.
27125         * posix/setsid.c (__setsid): Likewise.
27126         * posix/test-vfork.c (noop): Likewise.
27127         * resolv/gethnamaddr.c (_endhtent): Likewise.
27128         (_gethtent): Likewise.
27129         (ht_endhostent): Likewise.
27130         (gethostent): Likewise.
27131         (dns_service): Likewise.
27132         * stdlib/drand48.c (drand48): Likewise.
27133         * stdlib/lrand48.c (lrand48): Likewise.
27134         * stdlib/mrand48.c (mrand48): Likewise.
27135         * stdlib/rand.c (rand): Likewise.
27136         * stdlib/random.c (__random): Likewise.
27137         * stdlib/setenv.c (clearenv): Likewise.
27138         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27139         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27140         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27141         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27142         (__get_nprocs): Likewise.
27143         (__get_phys_pages): Likewise.
27144         (__get_avphys_pages): Likewise.
27145         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27146         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27147         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27148         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27149         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27150         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27151         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27152         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27153         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27154         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27155         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27156         * sysdeps/mach/hurd/sync.c (sync): Likewise.
27157         * sysdeps/posix/clock.c (clock): Likewise.
27158         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27159         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27160         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27161         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27162         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27164         (__get_nprocs_conf): Likewise.
27165         (__get_phys_pages): Likewise.
27166         (__get_avphys_pages): Likewise.
27167         * time/clock.c (clock): Likewise.
27168         * time/tzset.c (__tzname_max): Likewise.
27170 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
27172         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27173         (__bswap_32): Do not use "register".
27174         * crypt/crypt.c (_ufc_doit_r): Likewise.
27175         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27176         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27177         * gmon/gmon.c (__monstartup): Likewise.
27178         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27179         * hurd/hurdmalloc.c (more_memory): Likewise.
27180         (malloc): Likewise.
27181         (free): Likewise.
27182         (realloc): Likewise.
27183         (malloc_fork_prepare): Likewise.
27184         (malloc_fork_parent): Likewise.
27185         (malloc_fork_child): Likewise.
27186         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27187         (_svcauth_des): Likewise.
27188         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27189         * inet/inet_net.c (inet_network): Likewise.
27190         * inet/inet_netof.c (inet_netof): Likewise.
27191         * inet/rcmd.c (__validuser2_sa): Likewise.
27192         * io/fts.c (fts_open): Likewise.
27193         (fts_load): Likewise.
27194         (fts_close): Likewise.
27195         (fts_read): Likewise.
27196         (fts_children): Likewise.
27197         (fts_build): Likewise.
27198         (fts_stat): Likewise.
27199         (fts_sort): Likewise.
27200         (fts_alloc): Likewise.
27201         (fts_lfree): Likewise.
27202         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27203         (_IO_file_xsgetn): Likewise.
27204         (_IO_file_xsgetn_mmap): Likewise.
27205         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27206         (_IO_cookie_write): Likewise.
27207         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27208         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27209         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27210         * malloc/obstack.c (_obstack_begin): Likewise.
27211         (_obstack_begin_1): Likewise.
27212         (_obstack_newchunk): Likewise.
27213         (_obstack_allocated_p): Likewise.
27214         (obstack_free): Likewise.
27215         (_obstack_memory_used): Likewise.
27216         * misc/getttyent.c (getttynam): Likewise.
27217         (getttyent): Likewise.
27218         (skip): Likewise.
27219         (value): Likewise.
27220         * misc/getusershell.c (initshells): Likewise.
27221         * misc/syslog.c (__vsyslog_chk): Likewise.
27222         * misc/ttyslot.c (ttyslot): Likewise.
27223         * nis/nis_hash.c (__nis_hash): Likewise.
27224         * posix/fnmatch_loop.c (FCT): Likewise.
27225         * posix/getconf.c (print_all): Likewise.
27226         (main): Likewise.
27227         * posix/getopt.c (exchange): Likewise.
27228         * posix/glob.c (globfree): Likewise.
27229         (prefix_array): Likewise.
27230         (__glob_pattern_type): Likewise.
27231         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27232         (NS_GET32): Likewise.
27233         (NS_PUT16): Likewise.
27234         (NS_PUT32): Likewise.
27235         * resolv/gethnamaddr.c (getanswer): Likewise.
27236         (gethostbyname2): Likewise.
27237         (gethostbyaddr): Likewise.
27238         (_gethtent): Likewise.
27239         (_gethtbyname2): Likewise.
27240         (_gethtbyaddr): Likewise.
27241         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27242         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27243         * resolv/res_init.c (__res_vinit): Likewise.
27244         (net_mask): Likewise.
27245         * resolv/res_mkquery.c (outchar): Likewise.
27246         (PRINT): Likewise.
27247         * stdio-common/printf_fp.c (outchar): Likewise.
27248         (PRINT): Likewise.
27249         * stdio-common/printf_fphex.c (outchar): Likewise.
27250         (PRINT): Likewise.
27251         * stdio-common/printf_size.c (outchar): Likewise.
27252         (PRINT): Likewise.
27253         * stdio-common/test_rdwr.c (main): Likewise.
27254         * stdio-common/tfformat.c (matches): Likewise.
27255         * stdio-common/vfprintf.c (outchar): Likewise.
27256         (printf_unknown): Likewise.
27257         (buffered_vfprintf): Likewise.
27258         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27259         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27260         (ReadFile): Likewise.
27261         * stdlib/qsort.c (SWAP): Likewise.
27262         (_quicksort): Likewise.
27263         * stdlib/setenv.c (__add_to_environ): Likewise.
27264         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27265         * stdlib/strtol_l.c (__strtol_l): Likewise.
27266         * stdlib/tst-strtod.c (main): Likewise.
27267         * stdlib/tst-strtol.c (main): Likewise.
27268         * stdlib/tst-strtoll.c (main): Likewise.
27269         * string/bits/string2.h (__strcmp_cc): Likewise.
27270         (__strcmp_cg): Likewise.
27271         (__strcspn_c1): Likewise.
27272         (__strcspn_c2): Likewise.
27273         (__strcspn_c3): Likewise.
27274         (__strspn_c1): Likewise.
27275         (__strspn_c2): Likewise.
27276         (__strspn_c3): Likewise.
27277         (__strsep_1c): Likewise.
27278         (__strsep_2c): Likewise.
27279         (__strsep_3c): Likewise.
27280         * string/memccpy.c (__memccpy): Likewise.
27281         * string/stpcpy.c (__stpcpy): Likewise.
27282         * string/strcmp.c (strcmp): Likewise.
27283         * string/strrchr.c (strrchr): Likewise.
27284         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27285         Likewise.
27286         * sysdeps/mach/hurd/getcwd.c
27287         (_hurd_canonicalize_directory_name_internal): Likewise.
27288         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27289         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27290         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27291         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27292         Likewise, in both definitions.
27293         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27294         definitions.
27295         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27296         64] (__bswap_64): Likewise.
27297         * time/test_time.c (main): Likewise.
27298         * time/tzfile.c (__tzfile_read): Likewise.
27299         (__tzfile_compute): Likewise.
27300         * time/tzset.c (__tzset_parse_tz): Likewise.
27301         (tzset_internal): Likewise.
27302         (compute_change): Likewise.
27303         * wcsmbs/wcscat.c (__wcscat): Likewise.
27304         * wcsmbs/wcschr.c (wcschr): Likewise.
27305         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27306         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27307         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27308         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27309         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27310         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27311         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27312         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27313         * wcsmbs/wmemset.c (wmemset): Likewise.
27315 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27317         * scripts/config.guess: Update to version 2013-05-16.
27318         * scripts/config.sub: Update to version 2013-04-24.
27319         * scripts/install-sh: Update to version 2011-11-20.07.
27320         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27321         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27323 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27325         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27326         * elf/sln.c: Likewise.
27327         * hurd/hurd/ioctl.h: Likewise.
27328         * hurd/hurdmalloc.c: Likewise.
27329         * hurd/xattr.c: Likewise.
27330         * include/shlib-compat.h: Likewise.
27331         * inet/ruserpass.c: Likewise.
27332         * libio/iofgets_u.c: Likewise.
27333         * libio/iofgetws_u.c: Likewise.
27334         * locale/programs/ld-identification.c: Likewise.
27335         * locale/programs/ld-time.c: Likewise.
27336         * mach/msg-destroy.c: Likewise.
27337         * nss/nss_files/files-netgrp.c: Likewise.
27338         * resolv/res_data.c: Likewise.
27339         * soft-fp/op-1.h: Likewise.
27340         * soft-fp/op-2.h: Likewise.
27341         * soft-fp/op-4.h: Likewise.
27342         * soft-fp/op-common.h: Likewise.
27343         * stdio-common/printf_fphex.c: Likewise.
27344         * stdlib/strtod_l.c: Likewise.
27345         * sunrpc/rpc/clnt.h: Likewise.
27346         * sysdeps/generic/framestate.c: Likewise.
27347         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27348         * sysdeps/i386/bsd-setjmp.S: Likewise.
27349         * sysdeps/i386/__longjmp.S: Likewise.
27350         * sysdeps/i386/setjmp.S: Likewise.
27351         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27352         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27353         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27354         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27355         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27356         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27358         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27360         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27361         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27362         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27363         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27364         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27365         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27366         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27367         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27368         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27369         * sysdeps/ieee754/support.c: Likewise.
27370         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27371         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27372         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27373         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27374         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27375         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27376         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27377         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27378         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27379         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27380         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27381         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27382         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27383         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27384         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27385         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27386         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27389 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27391         * posix/transbug.c: Remove executable mode.
27393 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27395         * crypt/speeds.c: Remove trailing whitespace.
27396         * dlfcn/default.c: Likewise.
27397         * elf/ifuncdep2.c: Likewise.
27398         * elf/ifuncmain1.c: Likewise.
27399         * elf/ifuncmain1vis.c: Likewise.
27400         * elf/testobj.h: Likewise.
27401         * elf/tst-stackguard1.c: Likewise.
27402         * gmon/sys/gmon.h: Likewise.
27403         * hurd/hurdmsg.c: Likewise.
27404         * hurd/new-fd.c: Likewise.
27405         * hurd/ports-get.c: Likewise.
27406         * iconvdata/ibm1008_420.c: Likewise.
27407         * inet/tst-getni1.c: Likewise.
27408         * inet/tst-getni2.c: Likewise.
27409         * libio/ioungetc.c: Likewise.
27410         * libio/wfiledoalloc.c: Likewise.
27411         * manual/libm-err-tab.pl: Likewise.
27412         * math/w_dremf.c: Likewise.
27413         * misc/ftruncate.c: Likewise.
27414         * posix/bug-glob2.c: Likewise.
27415         * posix/tst-pcre.c: Likewise.
27416         * posix/wait4.c: Likewise.
27417         * resolv/README: Likewise.
27418         * resolv/res_debug.h: Likewise.
27419         * resolv/tst-inet_ntop.c: Likewise.
27420         * setjmp/bug269-setjmp.c: Likewise.
27421         * soft-fp/extended.h: Likewise.
27422         * soft-fp/op-1.h: Likewise.
27423         * soft-fp/op-2.h: Likewise.
27424         * soft-fp/op-4.h: Likewise.
27425         * soft-fp/op-8.h: Likewise.
27426         * soft-fp/testit.c: Likewise.
27427         * stdio-common/bug16.c: Likewise.
27428         * stdlib/random.c: Likewise.
27429         * sunrpc/rpcsvc/rquota.x: Likewise.
27430         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27431         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27433         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27434         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27435         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27436         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27437         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27438         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27439         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27440         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27441         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27442         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27443         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27444         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27445         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27446         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27448         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27449         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27453         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27457         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27458         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27459         * sysdeps/ieee754/s_lib_version.c: Likewise.
27460         * sysdeps/mach/hurd/check_fds.c: Likewise.
27461         * sysdeps/mach/hurd/getsockname.c: Likewise.
27462         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27463         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27464         * sysdeps/powerpc/bits/link.h: Likewise.
27465         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27466         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27467         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27468         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27469         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27470         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27471         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27472         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27473         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27474         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27475         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27476         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27477         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27478         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27479         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27480         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27481         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27482         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27484         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27486         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27488         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27489         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27490         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27492         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27494         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27498         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27499         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27500         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27501         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27502         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27503         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27504         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27505         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27506         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27507         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27508         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27509         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27510         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27511         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27512         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27513         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27514         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27515         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27517         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27519         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27520         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27521         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27524         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27525         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27526         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27527         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27529         * sysdeps/powerpc/sysdep.h: Likewise.
27530         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27531         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27532         * sysdeps/sh/dl-trampoline.S: Likewise.
27533         * sysdeps/sh/memset.S: Likewise.
27534         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27535         * sysdeps/sh/strlen.S: Likewise.
27536         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27537         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27538         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27539         * sysdeps/sparc/sparc32/rem.S: Likewise.
27540         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27541         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27542         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27543         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27544         * sysdeps/sparc/sparc32/urem.S: Likewise.
27545         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27546         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27547         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27548         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27550         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27551         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27552         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27553         * sysdeps/unix/bsd/times.c: Likewise.
27554         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27555         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27559         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27560         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27561         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27563         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27565         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27566         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27567         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27568         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27569         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27571         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27572         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27573         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27574         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27575         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27576         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27577         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27578         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27579         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27580         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27581         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27582         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27583         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27584         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27585         * sysdeps/x86_64/strcspn.S: Likewise.
27587 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27589         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27590         generated file.  Regenerate properly from gen-translit.pl.
27591         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27592         locale/C-translit.h.
27594 2013-06-05  Andreas Schwab  <schwab@suse.de>
27596         [BZ #15100]
27597         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27598         week as 6 instead of -1.
27599         * time/tst-strptime.c (day_tests): Add test case.
27601 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27603         * sysdeps/generic/math_private.h
27604         (libc_feholdexcept_setround_53bit): Replace with
27605         libc_feholdsetround_53bit.
27606         (libc_feupdateenv_53bit): Replace with
27607         libc_feresetround_53bit.
27608         (SET_RESTORE_ROUND_53BIT): Adjust.
27610 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27612         * string/test-strchrnul.c: Add copyright header.
27614         * posix/tst-getaddrinfo4.c: Increase test timeout.
27616 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27618         [BZ #15536]
27619         * math/libm-test.inc (MAX_EXP): Remove
27620         (MIN_EXP): Define.
27621         (ulp): Use MIN_EXP - MANT_DIG.
27622         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27624 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27626         * po/be.po: Revert last change.
27627         * po/zh_CN.po: Likewise.
27628         * po/header.pot: Likewise.
27630 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27632         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27633         link-libc-deps to empty as target-specific variable.
27634         * Makerules (link-libc-args): New variable.
27635         (libc-for-link): Likewise.
27636         (link-libc-deps): Likewise.
27637         (lib%.so): Depend on $(link-libc-deps).  Link with
27638         $(link-libc-args).
27639         (build-module): Link with $(link-libc-args).
27640         (build-module-asneeded): Likewise.
27641         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27642         list of objects.
27643         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27644         target-specific variable.
27645         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27646         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27647         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27648         libc.
27649         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27650         libc and ld.so.
27651         ($(objpfx)libpcprofile.so): Likewise.
27652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27653         libc_nonshared.a.
27654         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27655         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27656         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27657         $(link-libc-deps).
27658         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27659         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27660         * login/Makefile ($(objpfx)libutil.so): Likewise.
27661         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27662         * math/Makefile ($(objpfx)libm.so): Likewise.
27663         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27664         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27665         variable instead of depending directly on libc.
27666         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27667         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27668         $(link-libc-deps).
27669         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27670         libc.
27671         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27672         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27673         ($(objpfx)libanl.so): Likewise.
27674         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27675         ld.so.
27676         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27677         $(link-libc-deps).
27678         * sysdeps/i386/fpu/Makefile: Remove file.
27679         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27680         ($(objpfx)libm.so): Remove dependency on ld.so.
27682 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27684         [BZ # 15553]
27685         * nis/yp_xdr.c (XDRMAXNAME): Define.
27686         (XDRMAXRECORD): Define.
27687         (xdr_domainname): Use XDRMAXNAME.
27688         (xdr_mapname): Likewise.
27689         (xdr_peername): Likewise.
27690         (xdr_keydat): Use XDRMAXRECORD.
27691         (xdr_valdat): Likewise.
27693 2013-05-30  Jeff Law  <law@redhat.com>
27695         [BZ #14256]
27696         * manual/errno.texi (ESTALE): Update to account for more than
27697         just NFS file systems.
27698         * sysdeps/gnu/errlist.c: Regenerated.
27700 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27702         [BZ #15465]
27703         * elf/Makefile (tests): Add tst-null-argv.
27704         (modules-names):  Add tst-null-argv-lib.
27705         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27706         (tst-null-argv-ENV): Set environment for tst-null-argv.
27707         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27708         (RTLD_PROGNAME): New macro.
27709         * elf/tst-null-argv.c: New test case.
27710         * elf/tst-null-argv-lib.c: Library for test case.
27711         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27712         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27713         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27714         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27715         * elf/dl-init.c (call_init): Likewise.
27716         (_dl_init): Likewise.
27717         * elf/dl-load.c (print_search_path): Likewise.
27718         (_dl_map_object): Likewise.
27719         * elf/dl-lookup.c (do_lookup_x): Likewise.
27720         (add_dependency): Likewise.
27721         (_dl_lookup_symbol_x): Likewise.
27722         (_dl_debug_bindings): Likewise.
27723         * elf/dl-open.c (_dl_show_scope): Likewise.
27724         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27725         * elf/dl-version.c (match_symbol): Likewise.
27726         (_dl_check_map_versions): Likewise.
27727         * elf/rtld.c (dl_main): Likewise.
27728         (print_unresolved): Use RTLD_PROGNAME.
27729         (print_missing_version): Likewise.
27730         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27731         (elf_machine_rela): Likewise.
27732         * sysdeps/powerpc/powerpc32/dl-machine.c
27733         (__process_machine_rela): Likewise.
27734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27735         Likewise.
27736         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27737         Likewise.
27738         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27739         Likewise.
27740         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27742         Likewise.
27743         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27744         Likewise.
27745         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27747 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27749         * po/be.po: Add descriptive title.
27750         * po/zh_CN.po: Likewise.
27751         * po/header.pot: Likewise.
27753 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27755         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27756         error message.
27757         (enlarge_archive): Likewise.
27759 2013-05-28  Ben North  <ben@redfrontdoor.org>
27761         * manual/arith.texi (frexp): It is the magnitude of the return
27762         value which lies in [0.5, 1), not the return value itself.
27764 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27768 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27770         * stdio-common/bug26.c (main): Correct fscanf template.
27772         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27773         declare _dl_skip_args.
27775         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27776         Don't declare.
27778         * manual/platform.texi: Add missing @end deftypefun.
27780 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #15529]
27783         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27784         bit of mantissa of 2^16382.
27785         * math/libm-test.inc (hypot_test_data): Add more tests.
27787         * math/libm-test.inc: Add drem and pow10 to list of tested
27788         functions.
27789         (pow10_test): New function.
27790         (drem_test): Likewise.
27791         (drem_test_tonearest): Likewise.
27792         (drem_test_towardzero): Likewise.
27793         (drem_test_downward): Likewise.
27794         (drem_test_upward): Likewise.
27795         (main): Call the new functions.
27797         * math/libm-test.inc (finite_test_data): Remove.
27798         (finite_test): Run tests from isfinite_test_data.
27799         (gamma_test_data): Remove.
27800         (gamma_test): Run tests from lgamma_test_data.
27801         * sysdeps/i386/fpu/libm-test-ulps: Update.
27802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27804 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27806         * manual/platform.texi: Add PowerPC PPR function set documentation.
27807         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27808         implementation.
27810 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27812         * math/libm-test.inc (MAX_EXP): Define.
27813         (ULPDIFF): Define.
27814         (ulp): New function.
27815         (check_float_internal): Use ULPDIFF.
27816         (cpow_test): Disable failing test.
27817         (check_ulp): Test ulp() implemetnation.
27818         (main): Call check_ulp before starting tests.
27820 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27822         * math/gen-libm-test.pl (generate_testfile): Do not handle
27823         START_DATA and END_DATA.
27824         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27825         END_DATA.
27826         (acos_tonearest_test_data): Likewise.
27827         (acos_towardzero_test_data): Likewise.
27828         (acos_downward_test_data): Likewise.
27829         (acos_upward_test_data): Likewise.
27830         (acosh_test_data): Likewise.
27831         (asin_test_data): Likewise.
27832         (asin_tonearest_test_data): Likewise.
27833         (asin_towardzero_test_data): Likewise.
27834         (asin_downward_test_data): Likewise.
27835         (asin_upward_test_data): Likewise.
27836         (asinh_test_data): Likewise.
27837         (atan_test_data): Likewise.
27838         (atanh_test_data): Likewise.
27839         (atan2_test_data): Likewise.
27840         (cabs_test_data): Likewise.
27841         (cacos_test_data): Likewise.
27842         (cacosh_test_data): Likewise.
27843         (carg_test_data): Likewise.
27844         (casin_test_data): Likewise.
27845         (casinh_test_data): Likewise.
27846         (catan_test_data): Likewise.
27847         (catanh_test_data): Likewise.
27848         (cbrt_test_data): Likewise.
27849         (ccos_test_data): Likewise.
27850         (ccosh_test_data): Likewise.
27851         (ceil_test_data): Likewise.
27852         (cexp_test_data): Likewise.
27853         (cimag_test_data): Likewise.
27854         (clog_test_data): Likewise.
27855         (clog10_test_data): Likewise.
27856         (conj_test_data): Likewise.
27857         (copysign_test_data): Likewise.
27858         (cos_test_data): Likewise.
27859         (cos_tonearest_test_data): Likewise.
27860         (cos_towardzero_test_data): Likewise.
27861         (cos_downward_test_data): Likewise.
27862         (cos_upward_test_data): Likewise.
27863         (cosh_test_data): Likewise.
27864         (cosh_tonearest_test_data): Likewise.
27865         (cosh_towardzero_test_data): Likewise.
27866         (cosh_downward_test_data): Likewise.
27867         (cosh_upward_test_data): Likewise.
27868         (cpow_test_data): Likewise.
27869         (cproj_test_data): Likewise.
27870         (creal_test_data): Likewise.
27871         (csin_test_data): Likewise.
27872         (csinh_test_data): Likewise.
27873         (csqrt_test_data): Likewise.
27874         (ctan_test_data): Likewise.
27875         (ctan_tonearest_test_data): Likewise.
27876         (ctan_towardzero_test_data): Likewise.
27877         (ctan_downward_test_data): Likewise.
27878         (ctan_upward_test_data): Likewise.
27879         (ctanh_test_data): Likewise.
27880         (ctanh_tonearest_test_data): Likewise.
27881         (ctanh_towardzero_test_data): Likewise.
27882         (ctanh_downward_test_data): Likewise.
27883         (ctanh_upward_test_data): Likewise.
27884         (erf_test_data): Likewise.
27885         (erfc_test_data): Likewise.
27886         (exp_test_data): Likewise.
27887         (exp_tonearest_test_data): Likewise.
27888         (exp_towardzero_test_data): Likewise.
27889         (exp_downward_test_data): Likewise.
27890         (exp_upward_test_data): Likewise.
27891         (exp10_test_data): Likewise.
27892         (exp2_test_data): Likewise.
27893         (expm1_test_data): Likewise.
27894         (fabs_test_data): Likewise.
27895         (fdim_test_data): Likewise.
27896         (finite_test_data): Likewise.
27897         (floor_test_data): Likewise.
27898         (fma_test_data): Likewise.
27899         (fma_towardzero_test_data): Likewise.
27900         (fma_downward_test_data): Likewise.
27901         (fma_upward_test_data): Likewise.
27902         (fmax_test_data): Likewise.
27903         (fmin_test_data): Likewise.
27904         (fmod_test_data): Likewise.
27905         (fpclassify_test_data): Likewise.
27906         (frexp_test_data): Likewise.
27907         (gamma_test_data): Likewise.
27908         (hypot_test_data): Likewise.
27909         (ilogb_test_data): Likewise.
27910         (isfinite_test_data): Likewise.
27911         (isgreater_test_data): Likewise.
27912         (isgreaterequal_test_data): Likewise.
27913         (isinf_test_data): Likewise.
27914         (isless_test_data): Likewise.
27915         (islessequal_test_data): Likewise.
27916         (islessgreater_test_data): Likewise.
27917         (isnan_test_data): Likewise.
27918         (isnormal_test_data): Likewise.
27919         (issignaling_test_data): Likewise.
27920         (isunordered_test_data): Likewise.
27921         (j0_test_data): Likewise.
27922         (j1_test_data): Likewise.
27923         (jn_test_data): Likewise.
27924         (ldexp_test_data): Likewise.
27925         (lgamma_test_data): Likewise.
27926         (lrint_test_data): Likewise.
27927         (lrint_tonearest_test_data): Likewise.
27928         (lrint_towardzero_test_data): Likewise.
27929         (lrint_downward_test_data): Likewise.
27930         (lrint_upward_test_data): Likewise.
27931         (llrint_test_data): Likewise.
27932         (llrint_tonearest_test_data): Likewise.
27933         (llrint_towardzero_test_data): Likewise.
27934         (llrint_downward_test_data): Likewise.
27935         (llrint_upward_test_data): Likewise.
27936         (log_test_data): Likewise.
27937         (log10_test_data): Likewise.
27938         (log1p_test_data): Likewise.
27939         (log2_test_data): Likewise.
27940         (logb_test_data): Likewise.
27941         (logb_downward_test_data): Likewise.
27942         (lround_test_data): Likewise.
27943         (llround_test_data): Likewise.
27944         (modf_test_data): Likewise.
27945         (nearbyint_test_data): Likewise.
27946         (nextafter_test_data): Likewise.
27947         (nexttoward_test_data): Likewise.
27948         (pow_test_data): Likewise.
27949         (pow_tonearest_test_data): Likewise.
27950         (pow_towardzero_test_data): Likewise.
27951         (pow_downward_test_data): Likewise.
27952         (pow_upward_test_data): Likewise.
27953         (remainder_test_data): Likewise.
27954         (remainder_tonearest_test_data): Likewise.
27955         (remainder_towardzero_test_data): Likewise.
27956         (remainder_downward_test_data): Likewise.
27957         (remainder_upward_test_data): Likewise.
27958         (remquo_test_data): Likewise.
27959         (rint_test_data): Likewise.
27960         (rint_tonearest_test_data): Likewise.
27961         (rint_towardzero_test_data): Likewise.
27962         (rint_downward_test_data): Likewise.
27963         (rint_upward_test_data): Likewise.
27964         (round_test_data): Likewise.
27965         (scalb_test_data): Likewise.
27966         (scalbn_test_data): Likewise.
27967         (scalbln_test_data): Likewise.
27968         (signbit_test_data): Likewise.
27969         (sin_test_data): Likewise.
27970         (sin_tonearest_test_data): Likewise.
27971         (sin_towardzero_test_data): Likewise.
27972         (sin_downward_test_data): Likewise.
27973         (sin_upward_test_data): Likewise.
27974         (sincos_test_data): Likewise.
27975         (sinh_test_data): Likewise.
27976         (sinh_tonearest_test_data): Likewise.
27977         (sinh_towardzero_test_data): Likewise.
27978         (sinh_downward_test_data): Likewise.
27979         (sinh_upward_test_data): Likewise.
27980         (sqrt_test_data): Likewise.
27981         (tan_test_data): Likewise.
27982         (tan_tonearest_test_data): Likewise.
27983         (tan_towardzero_test_data): Likewise.
27984         (tan_downward_test_data): Likewise.
27985         (tan_upward_test_data): Likewise.
27986         (tanh_test_data): Likewise.
27987         (tgamma_test_data): Likewise.
27988         (trunc_test_data): Likewise.
27989         (y0_test_data): Likewise.
27990         (y1_test_data): Likewise.
27991         (yn_test_data): Likewise.
27992         (significand_test_data): Likewise.
27994         * math/gen-libm-test.pl (@functions): Remove variable.
27995         (generate_testfile): Don't handle START and END lines.
27996         * math/libm-test.inc (START): New macro.
27997         (END): Likewise.
27998         (END_COMPLEX): Likewise.
27999         (acos_test): Use END macro without arguments.
28000         (acos_test_tonearest): Likewise.
28001         (acos_test_towardzero): Likewise.
28002         (acos_test_downward): Likewise.
28003         (acos_test_upward): Likewise.
28004         (acosh_test): Likewise.
28005         (asin_test): Likewise.
28006         (asin_test_tonearest): Likewise.
28007         (asin_test_towardzero): Likewise.
28008         (asin_test_downward): Likewise.
28009         (asin_test_upward): Likewise.
28010         (asinh_test): Likewise.
28011         (atan_test): Likewise.
28012         (atanh_test): Likewise.
28013         (atan2_test): Likewise.
28014         (cabs_test): Likewise.
28015         (cacos_test): Use END_COMPLEX macro without arguments.
28016         (cacosh_test): Likewise.
28017         (carg_test): Use END macro without arguments.
28018         (casin_test): Use END_COMPLEX macro without arguments.
28019         (casinh_test): Likewise.
28020         (catan_test): Likewise.
28021         (catanh_test): Likewise.
28022         (cbrt_test): Use END macro without arguments.
28023         (ccos_test): Use END_COMPLEX macro without arguments.
28024         (ccosh_test): Likewise.
28025         (ceil_test): Use END macro without arguments.
28026         (cexp_test): Use END_COMPLEX macro without arguments.
28027         (cimag_test): Use END macro without arguments.
28028         (clog_test): Use END_COMPLEX macro without arguments.
28029         (clog10_test): Likewise.
28030         (conj_test): Likewise.
28031         (copysign_test): Use END macro without arguments.
28032         (cos_test): Likewise.
28033         (cos_test_tonearest): Likewise.
28034         (cos_test_towardzero): Likewise.
28035         (cos_test_downward): Likewise.
28036         (cos_test_upward): Likewise.
28037         (cosh_test): Likewise.
28038         (cosh_test_tonearest): Likewise.
28039         (cosh_test_towardzero): Likewise.
28040         (cosh_test_downward): Likewise.
28041         (cosh_test_upward): Likewise.
28042         (cpow_test): Use END_COMPLEX macro without arguments.
28043         (cproj_test): Likewise.
28044         (creal_test): Use END macro without arguments.
28045         (csin_test): Use END_COMPLEX macro without arguments.
28046         (csinh_test): Likewise.
28047         (csqrt_test): Likewise.
28048         (ctan_test): Likewise.
28049         (ctan_test_tonearest): Likewise.
28050         (ctan_test_towardzero): Likewise.
28051         (ctan_test_downward): Likewise.
28052         (ctan_test_upward): Likewise.
28053         (ctanh_test): Likewise.
28054         (ctanh_test_tonearest): Likewise.
28055         (ctanh_test_towardzero): Likewise.
28056         (ctanh_test_downward): Likewise.
28057         (ctanh_test_upward): Likewise.
28058         (erf_test): Use END macro without arguments.
28059         (erfc_test): Likewise.
28060         (exp_test): Likewise.
28061         (exp_test_tonearest): Likewise.
28062         (exp_test_towardzero): Likewise.
28063         (exp_test_downward): Likewise.
28064         (exp_test_upward): Likewise.
28065         (exp10_test): Likewise.
28066         (exp2_test): Likewise.
28067         (expm1_test): Likewise.
28068         (fabs_test): Likewise.
28069         (fdim_test): Likewise.
28070         (finite_test): Likewise.
28071         (floor_test): Likewise.
28072         (fma_test): Likewise.
28073         (fma_test_towardzero): Likewise.
28074         (fma_test_downward): Likewise.
28075         (fma_test_upward): Likewise.
28076         (fmax_test): Likewise.
28077         (fmin_test): Likewise.
28078         (fmod_test): Likewise.
28079         (fpclassify_test): Likewise.
28080         (frexp_test): Likewise.
28081         (gamma_test): Likewise.
28082         (hypot_test): Likewise.
28083         (ilogb_test): Likewise.
28084         (isfinite_test): Likewise.
28085         (isgreater_test): Likewise.
28086         (isgreaterequal_test): Likewise.
28087         (isinf_test): Likewise.
28088         (isless_test): Likewise.
28089         (islessequal_test): Likewise.
28090         (islessgreater_test): Likewise.
28091         (isnan_test): Likewise.
28092         (isnormal_test): Likewise.
28093         (issignaling_test): Likewise.
28094         (isunordered_test): Likewise.
28095         (j0_test): Likewise.
28096         (j1_test): Likewise.
28097         (jn_test): Likewise.
28098         (ldexp_test): Likewise.
28099         (lgamma_test): Likewise.
28100         (lrint_test): Likewise.
28101         (lrint_test_tonearest): Likewise.
28102         (lrint_test_towardzero): Likewise.
28103         (lrint_test_downward): Likewise.
28104         (lrint_test_upward): Likewise.
28105         (llrint_test): Likewise.
28106         (llrint_test_tonearest): Likewise.
28107         (llrint_test_towardzero): Likewise.
28108         (llrint_test_downward): Likewise.
28109         (llrint_test_upward): Likewise.
28110         (log_test): Likewise.
28111         (log10_test): Likewise.
28112         (log1p_test): Likewise.
28113         (log2_test): Likewise.
28114         (logb_test): Likewise.
28115         (logb_test_downward): Likewise.
28116         (lround_test): Likewise.
28117         (llround_test): Likewise.
28118         (modf_test): Likewise.
28119         (nearbyint_test): Likewise.
28120         (nextafter_test): Likewise.
28121         (nexttoward_test): Likewise.
28122         (pow_test): Likewise.
28123         (pow_test_tonearest): Likewise.
28124         (pow_test_towardzero): Likewise.
28125         (pow_test_downward): Likewise.
28126         (pow_test_upward): Likewise.
28127         (remainder_test): Likewise.
28128         (remainder_test_tonearest): Likewise.
28129         (remainder_test_towardzero): Likewise.
28130         (remainder_test_downward): Likewise.
28131         (remainder_test_upward): Likewise.
28132         (remquo_test): Likewise.
28133         (rint_test): Likewise.
28134         (rint_test_tonearest): Likewise.
28135         (rint_test_towardzero): Likewise.
28136         (rint_test_downward): Likewise.
28137         (rint_test_upward): Likewise.
28138         (round_test): Likewise.
28139         (scalb_test): Likewise.
28140         (scalbn_test): Likewise.
28141         (scalbln_test): Likewise.
28142         (signbit_test): Likewise.
28143         (sin_test): Likewise.
28144         (sin_test_tonearest): Likewise.
28145         (sin_test_towardzero): Likewise.
28146         (sin_test_downward): Likewise.
28147         (sin_test_upward): Likewise.
28148         (sincos_test): Likewise.
28149         (sinh_test): Likewise.
28150         (sinh_test_tonearest): Likewise.
28151         (sinh_test_towardzero): Likewise.
28152         (sinh_test_downward): Likewise.
28153         (sinh_test_upward): Likewise.
28154         (sqrt_test): Likewise.
28155         (tan_test): Likewise.
28156         (tan_test_tonearest): Likewise.
28157         (tan_test_towardzero): Likewise.
28158         (tan_test_downward): Likewise.
28159         (tan_test_upward): Likewise.
28160         (tanh_test): Likewise.
28161         (tgamma_test): Likewise.
28162         (trunc_test): Likewise.
28163         (y0_test): Likewise.
28164         (y1_test): Likewise.
28165         (yn_test): Likewise.
28166         (significand_test): Likewise.
28168 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
28170         [BZ #15381]
28171         * libio/genops.c (_IO_no_init): Initialize wide struct info.
28173 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28175         [BZ #14894]
28176         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28177         __ppc_mdoio and __ppc_mdoom.
28178         * manual/platform.texi: Document new functions __ppc_yield,
28179         __ppc_mdoio and __ppc_mdoom.
28181 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
28183         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28184         (main): Mention "tls" pseudo-hwcap is legacy.
28185         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28187 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28189         * math/gen-libm-test.pl (parse_args): Output only string of
28190         arguments as text for test name, not full call or descriptions of
28191         tests for extra outputs.
28192         (generate_testfile): Do not pass function name to parse_args.
28193         Generate this_func variable from START.
28194         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28195         field to arg_str.
28196         (struct test_ff_f_data): Likewise.
28197         (test_ff_f_data_nexttoward): Likewise.
28198         (struct test_fi_f_data): Likewise.
28199         (struct test_fl_f_data): Likewise.
28200         (struct test_if_f_data): Likewise.
28201         (struct test_fff_f_data): Likewise.
28202         (struct test_c_f_data): Likewise.
28203         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28204         (struct test_fF_f1_data): Likewise.
28205         (struct test_ffI_f1_data): Likewise.
28206         (struct test_c_c_data): Rename test_name field to arg_str.
28207         (struct test_cc_c_data): Likewise.
28208         (struct test_f_i_data): Likewise.
28209         (struct test_ff_i_data): Likewise.
28210         (struct test_f_l_data): Likewise.
28211         (struct test_f_L_data): Likewise.
28212         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28213         and extra2_name.
28214         (COMMON_TEST_SETUP): New macro.
28215         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28216         (COMMON_TEST_CLEANUP): Likewise.
28217         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28218         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28219         macros.
28220         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28221         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28222         macros.
28223         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28224         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28225         cleanup macros.
28226         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28227         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28228         macros.
28229         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28230         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28231         macros.
28232         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28233         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28234         cleanup macros.
28235         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28236         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28237         cleanup macros.
28238         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28239         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28240         cleanup macros.
28241         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28242         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28243         macros.
28244         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28245         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28246         macros.
28247         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28248         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28249         macros.
28250         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28251         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28252         cleanup macros.
28253         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28254         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28255         cleanup macros.
28256         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28257         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28258         macros.
28259         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28260         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28261         cleanup macros.
28262         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28263         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28264         macros.
28265         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28266         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28267         macros.
28268         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28269         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28270         cleanup macros.
28271         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28273 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28275         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28276         to _sifields.sigfault.
28277         (si_addr_lsb): Define new macro.
28278         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28279         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28280         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28282 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28284         [BZ #15441]
28285         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28286         returns -1.
28287         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28288         null return -1.
28289         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28290         loading the domain.
28292 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28294         * math/gen-libm-test.pl (parse_args): Do not include expected
28295         result in test name.
28296         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28298         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28299         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28300         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28303 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28305         * benchtests/Makefile: Sort function entries.
28307         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28308         tanh, asinh, acosh, atanh.
28309         * benchtests/acos-inputs: New file.
28310         * benchtests/acosh-inputs: New file.
28311         * benchtests/asin-inputs: New file.
28312         * benchtests/asinh-inputs: New file.
28313         * benchtests/atanh-inputs: New file.
28314         * benchtests/cosh-inputs: New file.
28315         * benchtests/log-inputs: New file.
28316         * benchtests/sinh-inputs: New file.
28317         * benchtests/tanh-inputs: New file.
28319 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28321         [BZ #15339]
28322         * posix/tst-getaddrinfo4.c: New test.
28323         * posix/Makefile (tests): Add it.
28325 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28327         [BZ #15339]
28328         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28329         when no services were used.
28330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28331         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28333 2013-05-21  Andreas Schwab  <schwab@suse.de>
28335         [BZ #15014]
28336         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28337         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28338         successful.
28339         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28340         redundant variable declarations and reallocation of buffer when
28341         parsing as IPv6 address.  Always set NSS status when called from
28342         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28343         buffer too small.  Correct computation of needed size.
28344         * nss/Makefile (tests): Add test-digits-dots.
28345         * nss/test-digits-dots.c: New test.
28347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28349         * benchtests/Makefile: Remove instructions for adding
28350         benchmark tests.
28351         * benchtests/README: New file to explain how to execute and
28352         enhance the benchmark tests.
28354 2013-05-21  Andreas Schwab  <schwab@suse.de>
28356         [BZ #15493]
28357         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28358         * setjmp/tst-sigsetjmp.c: New test.
28360 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28362         * sysdeps/x86_64/memset.S (memset): New implementation.
28363         (__bzero): Likewise.
28364         (__memset_tail): New function.
28366 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28368         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28369         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28370         __memcpy_sse2_unaligned ifunc selection.
28371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28372         Add memcpy-sse2-unaligned.S.
28373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28374         Add: __memcpy_sse2_unaligned.
28376 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28378         [BZ #15490]
28379         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28380         math_force_eval before restoring floating-point envrionment.
28381         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28383         Likewise.
28384         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28385         <math_private.h>.
28386         (__nearbyintl): Use math_force_eval before restoring
28387         floating-point environment.
28388         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28390         * math/gen-libm-test.pl (special_functions): Remove.
28391         (parse_args): Don't handle TEST_extra.  Handle functions with no
28392         return value.
28393         * math/libm-test.inc (struct test_sincos_data): Replace with
28394         struct test_fFF_11_data.
28395         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28396         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28397         (sincos_test_data): Change element type to struct
28398         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28399         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28400         RUN_TEST_LOOP_sincos.
28401         * math/README.libm-test: Don't mention special handling of
28402         individual functions.
28403         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28404         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28405         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28406         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28407         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28410         * math/gen-libm-test.pl (get_variable): Remove function.
28411         (parse_args): Don't show pointer parameters to call in test
28412         names.  Use "extra output N" in test names for extra outputs
28413         rather than naming variables.
28415 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28417         [BZ #15488]
28418         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28419         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28420         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28421         double tests.
28422         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28423         disable.
28424         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28425         check_long_double.
28427         * math/gen-libm-test.pl (@tests): Remove variable.
28428         ($count): Likewise.
28429         (new_test): Remove function.
28430         (show_exceptions): New function.
28431         (special_functions): Use show_exceptions instead of new_test.
28432         (parse_args): Likewise.
28433         (generate_testfile): Pass only function name in generated call to
28434         print_max_error or print_complex_max_error.
28435         (get_ulps): Do not handle complex tests specially.
28436         (output_test): Rename to ...
28437         (get_all_ulps_for_test): ... this.  Return a string rather than
28438         printing to a file.  Require ulps to be present.
28439         (output_ulps): Generate arrays rather than #defines.
28440         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28441         (struct ulp_data): New type.
28442         (BUILD_COMPLEX_ULP): Remove macro.
28443         (compare_ulp_data): New function.
28444         (find_ulps): Likewise.
28445         (find_test_ulps): Likewise.
28446         (find_function_ulps): Likewise.
28447         (find_complex_function_ulps): Likewise.
28448         (print_max_error): Determine allowed ulps using
28449         find_function_ulps.
28450         (print_complex_max_error): Determine allowed ulps using
28451         find_complex_function_ulps.
28452         (check_float_internal): Determine max ulps using find_test_ulps.
28453         (check_float): Do not take max_ulp parameter.  Update call to
28454         check_float_internal.
28455         (check_complex): Likewise.
28456         (check_int): Do not take max_ulp parameter.
28457         (check_long): Likewise.
28458         (check_bool): Likewise.
28459         (check_longlong): Likewise.
28460         (struct test_f_f_data): Remove max_ulp field.
28461         (struct test_ff_f_data): Likewise.
28462         (struct test_ff_f_data_nexttoward): Likewise.
28463         (struct test_fi_f_data): Likewise.
28464         (struct test_fl_f_data): Likewise.
28465         (struct test_if_f_data): Likewise.
28466         (struct test_fff_f_data): Likewise.
28467         (struct test_c_f_data): Likewise.
28468         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28469         (struct test_fF_f1_data): Likewise.
28470         (struct test_ffI_f1_data): Likewise.
28471         (struct test_c_c_data): Remove max_ulp field.
28472         (struct test_cc_c_data): Likewise.
28473         (struct test_f_i_data): Likewise.
28474         (struct test_ff_i_data): Likewise.
28475         (struct test_f_l_data): Likewise.
28476         (struct test_f_L_data): Likewise.
28477         (struct test_sincos_data): Likewise.
28478         (RUN_TEST_f_f): Do not handle ulps.
28479         (RUN_TEST_LOOP_f_f): Likewise.
28480         (RUN_TEST_2_f): Likewise.
28481         (RUN_TEST_LOOP_2_f): Likewise.
28482         (RUN_TEST_fff_f): Likewise.
28483         (RUN_TEST_LOOP_fff_f): Likewise.
28484         (RUN_TEST_c_f): Likewise.
28485         (RUN_TEST_LOOP_c_f): Likewise.
28486         (RUN_TEST_f_f1): Likewise.
28487         (RUN_TEST_LOOP_f_f1): Likewise.
28488         (RUN_TEST_fF_f1): Likewise.
28489         (RUN_TEST_LOOP_fF_f1): Likewise.
28490         (RUN_TEST_fI_f1): Likewise.
28491         (RUN_TEST_LOOP_fI_f1): Likewise.
28492         (RUN_TEST_ffI_f1): Likewise.
28493         (RUN_TEST_LOOP_ffI_f1): Likewise.
28494         (RUN_TEST_c_c): Likewise.
28495         (RUN_TEST_LOOP_c_c): Likewise.
28496         (RUN_TEST_cc_c): Likewise.
28497         (RUN_TEST_LOOP_cc_c): Likewise.
28498         (RUN_TEST_f_i): Likewise.
28499         (RUN_TEST_LOOP_f_i): Likewise.
28500         (RUN_TEST_f_i_tg): Likewise.
28501         (RUN_TEST_LOOP_f_i_tg): Likewise.
28502         (RUN_TEST_ff_i_tg): Likewise.
28503         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28504         (RUN_TEST_f_b): Likewise.
28505         (RUN_TEST_LOOP_f_b): Likewise.
28506         (RUN_TEST_f_b_tg): Likewise.
28507         (RUN_TEST_LOOP_f_b_tg): Likewise.
28508         (RUN_TEST_f_l): Likewise.
28509         (RUN_TEST_LOOP_f_l): Likewise.
28510         (RUN_TEST_f_L): Likewise.
28511         (RUN_TEST_LOOP_f_L): Likewise.
28512         (RUN_TEST_sincos): Likewise.
28513         (RUN_TEST_LOOP_sincos): Likewise.
28515 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28517         [BZ #15480]
28518         [BZ #15485]
28519         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28520         main case of finite arguments, set rounding mode to FE_TONEAREST
28521         and discard exceptions.
28522         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28523         exceptions.
28524         (remainder_tonearest_test_data): New variable.
28525         (remainder_test_tonearest): New function.
28526         (remainder_towardzero_test_data): New variable.
28527         (remainder_test_towardzero): New function.
28528         (remainder_downward_test_data): New variable.
28529         (remainder_test_downward): New function.
28530         (remainder_upward_test_data): New variable.
28531         (remainder_test_upward): New function.
28532         (main): Call the new test functions.
28534         * math/libm-test.inc (struct test_f_f1_data): Remove field
28535         extra_init.
28536         (struct test_fF_f1_data): Likewise.
28537         (struct test_ffI_f1_data): Likewise.
28538         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28539         based on value of EXTRA_EXPECTED.
28540         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28541         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28542         EXTRA_VAR based on value of EXTRA_EXPECTED.
28543         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28544         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28545         EXTRA_VAR based on value of EXTRA_EXPECTED.
28546         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28547         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28548         EXTRA_VAR based on value of EXTRA_EXPECTED.
28549         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28550         * math/gen-libm-test.pl (parse_args): Don't output initializers
28551         for extra output values.
28553         * math/libm-test.inc (check_int): Expect result to be exactly
28554         equal to expected value and do not handle ulps.
28555         (check_long): Likewise.
28556         (check_longlong): Likewise.
28558         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28559         exceptions.
28560         (cimag_test_data): Likewise.
28561         (conj_test_data): Likewise.
28562         (copysign_test_data): Likewise.
28563         (cproj_test_data): Likewise.
28564         (creal_test_data): Likewise.
28565         (fabs_test_data): Likewise.
28566         (fdim_test_data): Likewise.
28567         (finite_test_data): Likewise.
28568         (floor_test_data): Likewise.
28569         (fmax_test_data): Likewise.
28570         (fmin_test_data): Likewise.
28571         (fmod_test_data): Likewise.
28572         (fpclassify_test_data): Likewise.
28573         (frexp_test_data): Likewise.
28574         (ilogb_test_data): Likewise.
28575         (isfinite_test_data): Likewise.
28576         (isgreater_test_data): Likewise.
28577         (isgreaterequal_test_data): Likewise.
28578         (isinf_test_data): Likewise.
28579         (isless_test_data): Likewise.
28580         (islessequal_test_data): Likewise.
28581         (islessgreater_test_data): Likewise.
28582         (isnan_test_data): Likewise.
28583         (isnormal_test_data): Likewise.
28584         (issignaling_test_data): Likewise.
28585         (isunordered_test_data): Likewise.
28586         (ldexp_test_data): Likewise.
28587         (lrint_test_data): Likewise.
28588         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28589         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28590         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28591         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28592         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28593         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28594         test input.
28595         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28596         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28597         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28598         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28599         that test input.
28600         (lrint_downward_test_data): Test for "inexact" exceptions.
28601         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28602         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28603         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28604         test input.
28605         (lrint_upward_test_data): Test for "inexact" exceptions.
28606         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28607         test input.
28608         (llrint_test_data): Test for "inexact" exceptions.
28609         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28610         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28611         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28612         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28613         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28614         (llrint_downward_test_data): Test for "inexact" exceptions.
28615         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28616         (llrint_upward_test_data): Test for "inexact" exceptions.
28617         (logb_test_data): Likewise.
28618         (logb_downward_test_data): Likewise.
28619         (nextafter_test_data): Likewise.
28620         (nexttoward_test_data): Likewise.
28621         (remainder_test_data): Likewise.
28622         (remquo_test_data): Likewise.
28623         (scalbn_test_data): Likewise.
28624         (scalbln_test_data): Likewise.
28625         (signbit_test_data): Likewise.
28626         (sqrt_test_data): Likewise.
28627         (significand_test_data): Likewise.
28629 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631         [BZ #15424]
28632         * benchtests/bench-modf.c (struct args): Mark arg0 as
28633         volatile.
28634         * scripts/bench.pl: Mark members of struct args as volatile.
28636 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28638         [BZ # 15497]
28639         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28640         negative infinity on POWER6 or lower.
28641         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28643 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28645         [BZ #15442]
28646         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28647         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28648         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28649         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28650         (_FP_SETQNAN): New macro.
28651         (_FP_SETQNAN_SEMIRAW): Likewise.
28652         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28653         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28654         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28655         (FP_EXTEND): Use _FP_FRAC_SNANP.
28656         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28657         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28658         into account.
28659         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28660         New macro.
28661         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28662         Likewise.
28664 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28666         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28667         with DIVIDE_BY_ZERO_EXCEPTION.
28668         (gamma_test_data): Likewise.
28669         (lgamma_test_data): Likewise.
28670         (log_test_data): Likewise.
28671         (log10_test_data): Likewise.
28672         (log2_test_data): Likewise.
28673         (tgamma_test_data): Likewise.
28675         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28676         (acos_test_tonearest): Likewise.
28677         (acos_test_towardzero): Likewise.
28678         (acos_test_downward): Likewise.
28679         (acos_test_upward): Likewise.
28680         (acosh_test): Likewise.
28681         (asin_test): Likewise.
28682         (asin_test_tonearest): Likewise.
28683         (asin_test_towardzero): Likewise.
28684         (asin_test_downward): Likewise.
28685         (asin_test_upward): Likewise.
28686         (asinh_test): Likewise.
28687         (atan_test): Likewise.
28688         (atanh_test): Likewise.
28689         (atan2_test): Likewise.
28690         (cabs_test): Likewise.
28691         (cacos_test): Likewise.
28692         (cacosh_test): Likewise.
28693         (casin_test): Likewise.
28694         (casinh_test): Likewise.
28695         (catan_test): Likewise.
28696         (catanh_test): Likewise.
28697         (cbrt_test): Likewise.
28698         (ccos_test): Likewise.
28699         (ccosh_test): Likewise.
28700         (cexp_test): Likewise.
28701         (clog_test): Likewise.
28702         (clog10_test): Likewise.
28703         (cos_test): Likewise.
28704         (cos_test_tonearest): Likewise.
28705         (cos_test_towardzero): Likewise.
28706         (cos_test_downward): Likewise.
28707         (cos_test_upward): Likewise.
28708         (cosh_test): Likewise.
28709         (cosh_test_tonearest): Likewise.
28710         (cosh_test_towardzero): Likewise.
28711         (cosh_test_downward): Likewise.
28712         (cosh_test_upward): Likewise.
28713         (cpow_test): Likewise.
28714         (csin_test): Likewise.
28715         (csinh_test): Likewise.
28716         (csqrt_test): Likewise.
28717         (ctan_test): Likewise.
28718         (ctan_test_tonearest): Likewise.
28719         (ctan_test_towardzero): Likewise.
28720         (ctan_test_downward): Likewise.
28721         (ctan_test_upward): Likewise.
28722         (ctanh_test): Likewise.
28723         (ctanh_test_tonearest): Likewise.
28724         (ctanh_test_towardzero): Likewise.
28725         (ctanh_test_downward): Likewise.
28726         (ctanh_test_upward): Likewise.
28727         (erf_test): Likewise.
28728         (erfc_test): Likewise.
28729         (exp_test): Likewise.
28730         (exp_test_tonearest): Likewise.
28731         (exp_test_towardzero): Likewise.
28732         (exp_test_downward): Likewise.
28733         (exp_test_upward): Likewise.
28734         (exp10_test): Likewise.
28735         (exp2_test): Likewise.
28736         (expm1_test): Likewise.
28737         (fmod_test): Likewise.
28738         (gamma_test): Likewise.
28739         (hypot_test): Likewise.
28740         (j0_test): Likewise.
28741         (j1_test): Likewise.
28742         (jn_test): Likewise.
28743         (lgamma_test): Likewise.
28744         (log_test): Likewise.
28745         (log10_test): Likewise.
28746         (log1p_test): Likewise.
28747         (log2_test): Likewise.
28748         (logb_test_downward): Likewise.
28749         (pow_test): Likewise.
28750         (pow_test_tonearest): Likewise.
28751         (pow_test_towardzero): Likewise.
28752         (pow_test_downward): Likewise.
28753         (pow_test_upward): Likewise.
28754         (remainder_test): Likewise.
28755         (remquo_test): Likewise.
28756         (sin_test): Likewise.
28757         (sin_test_tonearest): Likewise.
28758         (sin_test_towardzero): Likewise.
28759         (sin_test_downward): Likewise.
28760         (sin_test_upward): Likewise.
28761         (sincos_test): Likewise.
28762         (sinh_test): Likewise.
28763         (sinh_test_tonearest): Likewise.
28764         (sinh_test_towardzero): Likewise.
28765         (sinh_test_downward): Likewise.
28766         (sinh_test_upward): Likewise.
28767         (sqrt_test): Likewise.
28768         (tan_test): Likewise.
28769         (tan_test_tonearest): Likewise.
28770         (tan_test_towardzero): Likewise.
28771         (tan_test_downward): Likewise.
28772         (tan_test_upward): Likewise.
28773         (tanh_test): Likewise.
28774         (tgamma_test): Likewise.
28775         (y0_test): Likewise.
28776         (y1_test): Likewise.
28777         (yn_test): Likewise.
28779         * math/gen-libm-test.pl (adjust_arg): Remove function.
28780         (special_function): Remove argument $in_func.  Only handle
28781         generating output for tables of tests, not inside functions.
28782         (parse_args): Likewise.
28783         (generate_testfile): Remove variable $in_func.  Update call to
28784         parse_args.
28785         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28786         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28787         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28788         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28789         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28790         (MAX_VALUE_INIT): Rename macro to max_value.
28791         (MIN_VALUE_INIT): Rename macro to min_value.
28792         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28793         (plus_zero): Remove variable.
28794         (minus_zero): Likewise.
28795         (plus_infty): Likewise.
28796         (minus_infty): Likewise.
28797         (qnan_value): Likewise.
28798         (max_value): Likewise.
28799         (min_value): Likewise.
28800         (min_subnorm_value): Likewise.
28802 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28804         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28805         uint64_t or uint32_t usage.
28806         * crypt/sha256-block.c: Likewise.
28807         * crypt/sha256-crypt.c: Likewise.
28808         * crypt/sha256.c: Likewise.
28809         * crypt/sha512-block.c: Likewise.
28810         * crypt/sha512-crypt.c: Likewise.
28811         * crypt/sha512.c: Likewise.
28812         * debug/backtrace-tst.c: Likewise.
28813         * debug/pcprofiledump.c: Likewise.
28814         * elf/cache.c: Likewise.
28815         * elf/dl-cache.c: Likewise.
28816         * elf/dl-misc.c: Likewise.
28817         * elf/dl-profile.c: Likewise.
28818         * elf/dl-support.c: Likewise.
28819         * elf/ldconfig.c: Likewise.
28820         * elf/sprof.c: Likewise.
28821         * iconv/dummy-repertoire.c: Likewise.
28822         * iconv/iconv_charmap.c: Likewise.
28823         * iconv/skeleton.c: Likewise.
28824         * iconvdata/8bit-generic.c: Likewise.
28825         * iconvdata/cp737.h: Likewise.
28826         * iconvdata/cp775.h: Likewise.
28827         * iconvdata/ibm1008.h: Likewise.
28828         * iconvdata/ibm1025.h: Likewise.
28829         * iconvdata/ibm1046.h: Likewise.
28830         * iconvdata/ibm1097.h: Likewise.
28831         * iconvdata/ibm1112.h: Likewise.
28832         * iconvdata/ibm1122.h: Likewise.
28833         * iconvdata/ibm1123.h: Likewise.
28834         * iconvdata/ibm1124.h: Likewise.
28835         * iconvdata/ibm1129.h: Likewise.
28836         * iconvdata/ibm1130.h: Likewise.
28837         * iconvdata/ibm1132.h: Likewise.
28838         * iconvdata/ibm1133.h: Likewise.
28839         * iconvdata/ibm1137.h: Likewise.
28840         * iconvdata/ibm1140.h: Likewise.
28841         * iconvdata/ibm1141.h: Likewise.
28842         * iconvdata/ibm1142.h: Likewise.
28843         * iconvdata/ibm1143.h: Likewise.
28844         * iconvdata/ibm1144.h: Likewise.
28845         * iconvdata/ibm1145.h: Likewise.
28846         * iconvdata/ibm1146.h: Likewise.
28847         * iconvdata/ibm1147.h: Likewise.
28848         * iconvdata/ibm1148.h: Likewise.
28849         * iconvdata/ibm1149.h: Likewise.
28850         * iconvdata/ibm1153.h: Likewise.
28851         * iconvdata/ibm1154.h: Likewise.
28852         * iconvdata/ibm1155.h: Likewise.
28853         * iconvdata/ibm1156.h: Likewise.
28854         * iconvdata/ibm1157.h: Likewise.
28855         * iconvdata/ibm1158.h: Likewise.
28856         * iconvdata/ibm1160.h: Likewise.
28857         * iconvdata/ibm1161.h: Likewise.
28858         * iconvdata/ibm1162.h: Likewise.
28859         * iconvdata/ibm1163.h: Likewise.
28860         * iconvdata/ibm1164.h: Likewise.
28861         * iconvdata/ibm1166.h: Likewise.
28862         * iconvdata/ibm1167.h: Likewise.
28863         * iconvdata/ibm12712.h: Likewise.
28864         * iconvdata/ibm1390.h: Likewise.
28865         * iconvdata/ibm1399.h: Likewise.
28866         * iconvdata/ibm16804.h: Likewise.
28867         * iconvdata/ibm4517.h: Likewise.
28868         * iconvdata/ibm4899.h: Likewise.
28869         * iconvdata/ibm4909.h: Likewise.
28870         * iconvdata/ibm4971.h: Likewise.
28871         * iconvdata/ibm5347.h: Likewise.
28872         * iconvdata/ibm803.h: Likewise.
28873         * iconvdata/ibm856.h: Likewise.
28874         * iconvdata/ibm901.h: Likewise.
28875         * iconvdata/ibm902.h: Likewise.
28876         * iconvdata/ibm9030.h: Likewise.
28877         * iconvdata/ibm9066.h: Likewise.
28878         * iconvdata/ibm921.h: Likewise.
28879         * iconvdata/ibm922.h: Likewise.
28880         * iconvdata/ibm9448.h: Likewise.
28881         * iconvdata/isiri-3342.h: Likewise.
28882         * iconvdata/jis0201.h: Likewise.
28883         * include/link.h: Likewise.
28884         * include/netdb.h: Likewise.
28885         * inet/check_native.c: Likewise.
28886         * inet/check_pf.c: Likewise.
28887         * inet/getipv4sourcefilter.c: Likewise.
28888         * inet/getnameinfo.c: Likewise.
28889         * inet/getsourcefilter.c: Likewise.
28890         * inet/htonl.c: Likewise.
28891         * inet/setipv4sourcefilter.c: Likewise.
28892         * inet/setsourcefilter.c: Likewise.
28893         * inet/test-inet6_opt.c: Likewise.
28894         * inet/tst-network.c: Likewise.
28895         * locale/C-collate.c: Likewise.
28896         * locale/C-ctype.c: Likewise.
28897         * locale/C-time.c: Likewise.
28898         * locale/C-translit.h: Likewise.
28899         * locale/loadarchive.c: Likewise.
28900         * locale/programs/3level.h: Likewise.
28901         * locale/programs/charmap.c: Likewise.
28902         * locale/programs/charmap.h: Likewise.
28903         * locale/programs/ld-address.c: Likewise.
28904         * locale/programs/ld-collate.c: Likewise.
28905         * locale/programs/ld-ctype.c: Likewise.
28906         * locale/programs/ld-identification.c: Likewise.
28907         * locale/programs/ld-measurement.c: Likewise.
28908         * locale/programs/ld-messages.c: Likewise.
28909         * locale/programs/ld-monetary.c: Likewise.
28910         * locale/programs/ld-name.c: Likewise.
28911         * locale/programs/ld-numeric.c: Likewise.
28912         * locale/programs/ld-paper.c: Likewise.
28913         * locale/programs/ld-telephone.c: Likewise.
28914         * locale/programs/ld-time.c: Likewise.
28915         * locale/programs/linereader.c: Likewise.
28916         * locale/programs/locale.c: Likewise.
28917         * locale/programs/locarchive.c: Likewise.
28918         * locale/programs/locfile.h: Likewise.
28919         * locale/programs/repertoire.c: Likewise.
28920         * locale/programs/simple-hash.c: Likewise.
28921         * locale/programs/simple-hash.h: Likewise.
28922         * malloc/memusage.c: Likewise.
28923         * malloc/memusagestat.c: Likewise.
28924         * nis/nis_defaults.c: Likewise.
28925         * nis/nis_hash.c: Likewise.
28926         * nis/nis_print.c: Likewise.
28927         * nis/nis_xdr.c: Likewise.
28928         * nscd/connections.c: Likewise.
28929         * nscd/hstcache.c: Likewise.
28930         * nscd/nscd_gethst_r.c: Likewise.
28931         * nscd/nscd_getserv_r.c: Likewise.
28932         * nscd/nscd_helper.c: Likewise.
28933         * nscd/servicescache.c: Likewise.
28934         * nss/makedb.c: Likewise.
28935         * nss/nss_db/db-XXX.c: Likewise.
28936         * nss/nss_db/db-initgroups.c: Likewise.
28937         * nss/nss_db/db-netgrp.c: Likewise.
28938         * nss/nss_files/files-network.c: Likewise.
28939         * nss/nss_files/files-parse.c: Likewise.
28940         * posix/bug-regex5.c: Likewise.
28941         * posix/fnmatch_loop.c: Likewise.
28942         * posix/regcomp.c: Likewise.
28943         * posix/regexec.c: Likewise.
28944         * posix/tst-rfc3484-2.c: Likewise.
28945         * posix/tst-rfc3484-3.c: Likewise.
28946         * posix/tst-rfc3484.c: Likewise.
28947         * resolv/nss_dns/dns-canon.c: Likewise.
28948         * resolv/nss_dns/dns-network.c: Likewise.
28949         * resolv/res_init.c: Likewise.
28950         * resolv/res_mkquery.c: Likewise.
28951         * resolv/tst-aton.c: Likewise.
28952         * stdlib/cxa_atexit.c: Likewise.
28953         * stdlib/cxa_finalize.c: Likewise.
28954         * stdlib/gen-fpioconst.c: Likewise.
28955         * stdlib/strtol_l.c: Likewise.
28956         * string/tst-endian.c: Likewise.
28957         * sunrpc/auth_des.c: Likewise.
28958         * sunrpc/clnt_udp.c: Likewise.
28959         * sunrpc/rtime.c: Likewise.
28960         * sunrpc/svcauth_des.c: Likewise.
28961         * sunrpc/xdr.c: Likewise.
28962         * sunrpc/xdr_intXX_t.c: Likewise.
28963         * sunrpc/xdr_rec.c: Likewise.
28964         * sysdeps/generic/ldconfig.h: Likewise.
28965         * sysdeps/generic/ldsodefs.h: Likewise.
28966         * sysdeps/generic/memusage.h: Likewise.
28967         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28969         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28970         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28971         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28972         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28973         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28974         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28977         * sysdeps/posix/getaddrinfo.c: Likewise.
28978         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28979         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28980         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28981         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28982         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28983         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28984         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28985         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28986         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28987         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28988         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28989         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28990         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28991         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28992         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28993         * sysdeps/x86_64/dl-tls.h: Likewise.
28994         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28995         * time/alt_digit.c: Likewise.
28996         * time/era.c: Likewise.
28997         * wcsmbs/tst-c16c32-1.c: Likewise.
28999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29001         * math/libm-test.inc (struct test_sincos_data): New type.
29002         (RUN_TEST_LOOP_sincos): New macro.
29003         (sincos_test_data): New variable.
29004         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29006 2013-05-16  Richard Henderson  <rth@redhat.com>
29008         * math/atest-exp2.c (LIMB64): New macro.
29009         (CONSTSZ): New macro.
29010         (mp_exp1, mp_exp_m1, mp_log2): New variables.
29011         (hexdig): Move ...
29012         (print_mpn_fp): ... to function scope.
29013         (read_mpn_hex): Remove.
29014         (get_log2): Remove.
29015         (exp2_mpn): Use mp_log2.
29016         (main): Use mp_exp1.
29018 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29020         * math/libm-test.inc: Remove comment about not testing "inexact"
29021         exceptions.
29022         (INEXACT_EXCEPTION): New macro.
29023         (NO_INEXACT_EXCEPTION): Likewise.
29024         (INVALID_EXCEPTION_OK): Update value.
29025         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29026         (OVERFLOW_EXCEPTION_OK): Likewise.
29027         (UNDERFLOW_EXCEPTION_OK): Likewise.
29028         (IGNORE_ZERO_INF_SIGN): Likewise.
29029         (ERRNO_UNCHANGED): Likewise.
29030         (ERRNO_EDOM): Likewise.
29031         (ERRNO_ERANGE): Likewise.
29032         (test_exceptions): Handle testing "inexact" exceptions.
29033         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29034         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29035         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29036         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29037         INEXACT_EXCEPTION.
29038         (rint_towardzero_test_data): Likewise.
29039         (rint_downward_test_data): Likewise.
29040         (rint_upward_test_data): Likewise.
29042         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29043         with OVERFLOW_EXCEPTION.
29044         (exp10_test_data): Likewise.
29045         (exp2_test_data): Likewise.
29046         (expm1_test_data): Likewise.
29047         (lgamma_test_data): Likewise.
29048         (pow_test_data): Likewise.
29049         (tgamma_test_data): Likewise.
29050         (yn_test_data): Remove duplicate test of overflow.
29052         * math/libm-test.inc (struct test_cc_c_data): New type.
29053         (RUN_TEST_LOOP_cc_c): New macro.
29054         (cpow_test_data): New variable.
29055         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29057         * math/libm-test.inc (struct test_f_L_data): New type.
29058         (RUN_TEST_LOOP_f_L): New macro.
29059         (llrint_test_data): New variable.
29060         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29061         (llrint_tonearest_test_data): New variable.
29062         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29063         (llrint_towardzero_test_data): New variable.
29064         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29065         (llrint_downward_test_data): New variable.
29066         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29067         (llrint_upward_test_data): New variable.
29068         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29069         (llround_test_data): New variable.
29070         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29072 2013-05-13  Peter Collingbourne  <pcc@google.com>
29074         * math/atest-exp2.c (get_log2): Remove const attribute.
29076 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29078         * math/libm-test.inc (struct test_f_l_data): New type.
29079         (RUN_TEST_LOOP_f_l): New macro.
29080         (lrint_test_data): New variable.
29081         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29082         (lrint_tonearest_test_data): New variable.
29083         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29084         (lrint_towardzero_test_data): New variable.
29085         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29086         (lrint_downward_test_data): New variable.
29087         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29088         (lrint_upward_test_data): New variable.
29089         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29090         (lround_test_data): New variable.
29091         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29093 2013-05-15  Peter Collingbourne  <pcc@google.com>
29095         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29096         (EXTRACT_WORDS64) Use where appropriate.
29097         (INSERT_WORDS64) Likewise.
29099         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29100         constraints with x constraints.
29101         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29103         * malloc/obstack.c (_obstack_compat): Add initializer.
29105 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29107         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29108         si_trapno and add si_addr_lsb to _sifields.sigfault.
29109         (si_trapno): Remove macro.
29110         (si_addr_lsb): Define new macro.
29111         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29113 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29115         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29116         instead of TEST_f_l.
29117         (llrint_test_tonearest): Likewise.
29118         (llrint_test_towardzero): Likewise.
29119         (llrint_test_downward): Likewise.
29120         (llrint_test_upward): Likewise.
29121         (llround_test): Likewise.
29123         * math/libm-test.inc (struct test_f_i_data): Add comment.
29124         (RUN_TEST_LOOP_f_b): New macro.
29125         (RUN_TEST_LOOP_f_b_tg): Likewise.
29126         (finite_test_data): New variable.
29127         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29128         (isfinite_test_data): New variable.
29129         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29130         (isinf_test_data): New variable.
29131         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29132         (isnan_test_data): New variable.
29133         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29134         (isnormal_test_data): New variable.
29135         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29136         (issignaling_test_data): New variable.
29137         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29138         (signbit_test_data): New variable.
29139         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29141         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29142         with INVALID_EXCEPTION.
29143         (acosh_test_data): Likewise.
29144         (asin_test_data): Likewise.
29145         (atanh_test_data): Likewise.
29146         (fmod_test_data): Likewise.
29147         (log_test_data): Likewise.
29148         (log10_test_data): Likewise.
29149         (log2_test_data): Likewise.
29150         (pow_test_data): Likewise.
29151         (sqrt_test_data): Likewise.
29152         (y0_test_data): Likewise.
29153         (y1_test_data): Likewise.
29154         (yn_test_data): Likewise.
29156         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29157         function contents.
29159         * math/libm-test.inc (struct test_ff_i_data): New type.
29160         (RUN_TEST_LOOP_ff_i_tg): New macro.
29161         (isgreater_test_data): New variable.
29162         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29163         (isgreaterequal_test_data): New variable.
29164         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29165         (isless_test_data): New variable.
29166         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29167         (islessequal_test_data): New variable.
29168         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29169         (islessgreater_test_data): New variable.
29170         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29171         (isunordered_test_data): New variable.
29172         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29174 2013-05-14  David S. Miller  <davem@davemloft.net>
29176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29178 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
29180         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29182         * math/libm-test.inc (struct test_fF_f1_data): Change type of
29183         extra_test to int.
29184         (struct test_f_i_data): Change type of max_ulp to int.
29186         * math/libm-test.inc (test_ffI_f1_data): New type.
29187         (RUN_TEST_LOOP_ffI_f1): New macro.
29188         (remquo_test_data): New variable.
29189         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29191         * setjmp/tst-setjmp-fp.c: New file.
29192         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29193         (link-libm): New variable.
29194         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29196         * math/libm-test.inc (struct test_f_i_data): New type.
29197         (RUN_TEST_LOOP_f_i): New macro.
29198         (RUN_TEST_LOOP_f_i_tg): Likewise.
29199         (fpclassify_test_data): New variable.
29200         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29201         (ilogb_test_data): New variable.
29202         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29204         * math/libm-test.inc (scalbln_test): Correct function name in END
29205         call.
29207         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29208         (RUN_TEST_LOOP_fI_f1): New macro.
29209         (frexp_test_data): New variable.
29210         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29212         * math/libm-test.inc (struct test_fF_f1_data): New type.
29213         (RUN_TEST_LOOP_fF_f1): New macro.
29214         (modf_test_data): New variable.
29215         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29217         * math/libm-test.inc (struct test_f_f1_data): New type.
29218         (RUN_TEST_LOOP_f_f1): New macro.
29219         (gamma_test_data): New variable.
29220         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29221         (lgamma_test_data): New variable.
29222         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29224 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29226         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29227         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29228         (main): Comment "tls" pseudo-hwcap.
29230 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29232         * math/libm-test.inc (struct test_fl_f_data): New type.
29233         (RUN_TEST_LOOP_fl_f): New variable.
29234         (scalbln_test_data): New variable.
29235         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29237         * math/libm-test.inc (struct test_fi_f_data): New type.
29238         (RUN_TEST_LOOP_fi_f): New macro.
29239         (ldexp_test_data): New variable.
29240         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29241         (scalbn_test_data): New variable.
29242         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29244         * math/libm-test.inc (struct test_c_f_data): New type.
29245         (RUN_TEST_LOOP_c_f): New macro.
29246         (cabs_test_data): New variable.
29247         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29248         (carg_test_data): New variable.
29249         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29250         (cimag_test_data): New variable.
29251         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29252         (creal_test_data): New variable.
29253         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29255         * math/libm-test.inc (struct test_if_f_data): New type.
29256         (RUN_TEST_LOOP_if_f): New macro.
29257         (jn_test_data): New variable.
29258         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29259         (yn_test_data): New variable.
29260         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29262         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29264 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29266         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29267         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29269 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29271         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29272         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29273         (bench-deps): Add bench-timing.h.
29274         * benchtests-bench-skeleton.c: Include bench-timing.h.
29275         (main): Use TIMING_* macros instead of clock_gettime.
29276         * benchtests/bench-timing.h: New file.
29278         [BZ #14582]
29279         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29280         Renamed from _LIB_VERSION.
29281         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29283 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29285         * math/libm-test.inc (struct test_fff_f_data): New type.
29286         (RUN_TEST_LOOP_fff_f): New macro.
29287         (fma_test_data): New variable.
29288         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29289         (fma_towardzero_test_data): New variable.
29290         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29291         (fma_downward_test_data): New variable.
29292         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29293         (fma_upward_test_data): New variable.
29294         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29296         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29297         (struct test_c_c_data): New type.
29298         (RUN_TEST_LOOP_c_c): New macro.
29299         (cacos_test_data): New variable.
29300         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29301         (cacosh_test_data): New variable.
29302         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29303         (casin_test_data): New variable.
29304         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29305         (casinh_test_data): New variable.
29306         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29307         (catan_test_data): New variable.
29308         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29309         (catanh_test_data): New variable.
29310         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29311         (ccos_test_data): New variable.
29312         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29313         (ccosh_test_data): New variable.
29314         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29315         (cexp_test_data): New variable.
29316         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29317         (clog_test_data): New variable.
29318         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29319         (clog10_test_data): New variable.
29320         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29321         (conj_test_data): New variable.
29322         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29323         (cproj_test_data): New variable.
29324         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29325         (csin_test_data): New variable.
29326         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29327         (csinh_test_data): New variable.
29328         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29329         (csqrt_test_data): New variable.
29330         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29331         (ctan_test_data): New variable.
29332         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29333         (ctan_tonearest_test_data): New variable.
29334         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29335         (ctan_towardzero_test_data): New variable.
29336         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29337         (ctan_downward_test_data): New variable.
29338         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29339         (ctan_upward_test_data): New variable.
29340         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29341         (ctanh_test_data): New variable.
29342         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29343         (ctanh_tonearest_test_data): New variable.
29344         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29345         (ctanh_towardzero_test_data): New variable.
29346         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29347         (ctanh_downward_test_data): New variable.
29348         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29349         (ctanh_upward_test_data): New variable.
29350         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29351         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29352         of BUILD_COMPLEX.
29354         * math/libm-test.inc (struct test_ff_f_data): New type.
29355         (struct test_ff_f_data_nexttoward): Likewise.
29356         (RUN_TEST_LOOP_2_f): New macro.
29357         (RUN_TEST_LOOP_ff_f): Likewise.
29358         (atan2_test_data): New variable.
29359         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29360         (copysign_test_data): New variable.
29361         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29362         (fdim_test_data): New variable.
29363         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29364         (fmax_test_data): New variable.
29365         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29366         (fmin_test_data): New variable.
29367         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29368         (fmod_test_data): New variable.
29369         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29370         (hypot_test_data): New variable.
29371         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29372         (nextafter_test_data): New variable.
29373         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29374         (nexttoward_test_data): New variable.
29375         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29376         (pow_test_data): New variable.
29377         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29378         (pow_tonearest_test_data): New variable.
29379         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29380         (pow_towardzero_test_data): New variable.
29381         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29382         (pow_downward_test_data): New variable.
29383         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29384         (pow_upward_test_data): New variable.
29385         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29386         (remainder_test_data): New variable.
29387         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29388         (scalb_test_data): New variable.
29389         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29390         * sysdeps/i386/fpu/libm-test-ulps: Update.
29392 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29394         * math/libm-test.inc (fma_test): Use max_value instead of local
29395         variable fltmax.
29396         (nextafter_test): Likewise.
29398         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29399         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29400         (acos_downward_test_data): New variable.
29401         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29402         (acos_upward_test_data): New variable.
29403         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29404         (acosh_test_data): New variable.
29405         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29406         (asin_test_data): New variable.
29407         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29408         (asin_tonearest_test_data): New variable.
29409         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29410         (asin_towardzero_test_data): New variable.
29411         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29412         (asin_downward_test_data): New variable.
29413         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29414         (asin_upward_test_data): New variable.
29415         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29416         (asinh_test_data): New variable.
29417         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29418         (atan_test_data): New variable.
29419         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29420         (atanh_test_data): New variable.
29421         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29422         (cbrt_test_data): New variable.
29423         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29424         (ceil_test_data): New variable.
29425         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29426         (cos_test_data): New variable.
29427         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29428         (cos_tonearest_test_data): New variable.
29429         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29430         (cos_towardzero_test_data): New variable.
29431         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29432         (cos_downward_test_data): New variable.
29433         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29434         (cos_upward_test_data): New variable.
29435         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29436         (cosh_test_data): New variable.
29437         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29438         (cosh_tonearest_test_data): New variable.
29439         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29440         (cosh_towardzero_test_data): New variable.
29441         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29442         (cosh_downward_test_data): New variable.
29443         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29444         (cosh_upward_test_data): New variable.
29445         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29446         (erf_test_data): New variable.
29447         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29448         (erfc_test_data): New variable.
29449         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29450         (exp_test_data): New variable.
29451         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29452         (exp_tonearest_test_data): New variable.
29453         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29454         (exp_towardzero_test_data): New variable.
29455         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29456         (exp_downward_test_data): New variable.
29457         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29458         (exp_upward_test_data): New variable.
29459         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29460         (exp10_test_data): New variable.
29461         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29462         (exp2_test_data): New variable.
29463         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29464         (expm1_test_data): New variable.
29465         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29466         (fabs_test_data): New variable.
29467         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29468         (floor_test_data): New variable.
29469         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29470         (j0_test_data): New variable.
29471         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29472         (j1_test_data): New variable.
29473         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29474         (log_test_data): New variable.
29475         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29476         (log10_test_data): New variable.
29477         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29478         (log1p_test_data): New variable.
29479         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29480         (log2_test_data): New variable.
29481         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29482         (logb_test_data): New variable.
29483         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29484         (logb_downward_test_data): New variable.
29485         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29486         (nearbyint_test_data): New variable.
29487         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29488         (rint_test_data): New variable.
29489         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29490         (rint_tonearest_test_data): New variable.
29491         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29492         (rint_towardzero_test_data): New variable.
29493         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29494         (rint_downward_test_data): New variable.
29495         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29496         (rint_upward_test_data): New variable.
29497         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29498         (round_test_data): New variable.
29499         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29500         (sin_test_data): New variable.
29501         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29502         (sin_tonearest_test_data): New variable.
29503         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29504         (sin_towardzero_test_data): New variable.
29505         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29506         (sin_downward_test_data): New variable.
29507         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29508         (sin_upward_test_data): New variable.
29509         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29510         (sinh_test_data): New variable.
29511         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29512         (sinh_tonearest_test_data): New variable.
29513         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29514         (sinh_towardzero_test_data): New variable.
29515         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29516         (sinh_downward_test_data): New variable.
29517         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29518         (sinh_upward_test_data): New variable.
29519         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29520         (sqrt_test_data): New variable.
29521         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29522         (tan_test_data): New variable.
29523         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29524         (tan_tonearest_test_data): New variable.
29525         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29526         (tan_towardzero_test_data): New variable.
29527         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29528         (tan_downward_test_data): New variable.
29529         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29530         (tan_upward_test_data): New variable.
29531         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29532         (tanh_test_data): New variable.
29533         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29534         (tgamma_test_data): New variable.
29535         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29536         (trunc_test_data): New variable.
29537         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29538         (y0_test_data): New variable.
29539         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29540         (y1_test_data): New variable.
29541         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29542         (significand_test_data): New variable.
29543         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29545 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29547         [BZ #12387]
29548         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29550 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29552         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29554 2013-05-10  Andreas Jaeger  <aj@suse.de>
29556         [BZ #15448]
29557         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29558         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29560 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29562         * math/gen-libm-test.pl (adjust_arg): New function.
29563         (special_functions): Handle generating output in both functions
29564         and arrays.
29565         (parse_args): Likewise.
29566         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29567         $in_func argument to parse_args.
29568         * math/libm-test.inc (struct test_f_f_data): New type.
29569         (IF_ROUND_INIT_): New macro.
29570         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29571         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29572         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29573         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29574         (ROUND_RESTORE_): Likewise.
29575         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29576         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29577         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29578         (ROUND_RESTORE_FE_UPWARD): Likewise.
29579         (RUN_TEST_LOOP_f_f): New macro.
29580         (acos_test_data): New variable.
29581         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29582         (acos_tonearest_test_data): New variable.
29583         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29585 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29587         * benchtests/bench-skeleton.c (startup): Fix coding style.
29589 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29591         [BZ #6809]
29592         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29593         negative infinity argument.
29594         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29595         negative infinity argument.
29596         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29597         negative infinity argument.
29598         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29599         domain errors.
29601 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29603         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29604         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29605         * iconv/iconv_prog.c (main): Likewise.
29606         * locale/programs/charmap-dir.c (charmap_readdir)
29607         (fopen_uncompressed): Likewise.
29608         * locale/programs/locfile.c (siblings_uncached)
29609         (write_locale_data): Use lstat64 instead of lstat.
29610         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29611         stat.
29613 2013-05-10  Andreas Jaeger  <aj@suse.de>
29615         [BZ #15395]
29616         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29617         localization.
29618         Include <locale.h>.
29620 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29622         * elf/dl-close.c (_dl_close_worker): Add comments.
29624 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29626         [BZ #15359]
29627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29628         high part of pi/2.
29629         (__ieee754_rem_pio2l): Update comments.
29631         [BZ #15429]
29632         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29633         high part of pi/2.
29634         (__ieee754_rem_pio2l): Update comments.
29636         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29637         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29639         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29640         M_PI_4l.
29642         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29643         (M_PI_34_LOG10El): Likewise.
29644         (M_PI2_LOG10El): Likewise.
29645         (M_PI4_LOG10El): Likewise.
29646         (M_PI_LOG10El): Likewise.
29648 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29652 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29654         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29655         (MINUS_ZERO_INIT): Likewise.
29656         (PLUS_INFTY_INIT): Likewise.
29657         (MINUS_INFTY_INIT): Likewise.
29658         (QNAN_VALUE_INIT): Likewise.
29659         (MAX_VALUE_INIT): Likewise.
29660         (MIN_VALUE_INIT): Likewise.
29661         (MIN_SUBNORM_VALUE_INIT): Likewise.
29662         (plus_zero): Initialize with PLUS_ZERO_INIT.
29663         (minus_zero): Initialize with MINUS_ZERO_INIT.
29664         (plus_infty): Initialize with PLUS_INFTY_INIT.
29665         (minus_infty): Initialize with MINUS_INFTY_INIT.
29666         (qnan_value): Initialize with QNAN_VALUE_INIT.
29667         (max_value): Initialize with MAX_VALUE_INIT.
29668         (min_value): Initialize with MIN_VALUE_INIT.
29669         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29671         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29672         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29673         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29674         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29676         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29677         (RUN_TEST_2_f): Likewise.
29678         (RUN_TEST_ff_f): Likewise.
29679         (RUN_TEST_fi_f): Likewise.
29680         (RUN_TEST_fl_f): Likewise.
29681         (RUN_TEST_fff_f): Likewise.
29682         (RUN_TEST_c_f): Likewise.
29683         (RUN_TEST_f_f1): Likewise.
29684         (RUN_TEST_fF_f1): Likewise.
29685         (RUN_TEST_fI_f1): Likewise.
29686         (RUN_TEST_ffI_f1): Likewise.
29687         (RUN_TEST_c_c): Likewise.
29688         (RUN_TEST_cc_c): Likewise.
29689         (RUN_TEST_f_i): Likewise.
29690         (RUN_TEST_f_i_tg): Likewise.
29691         (RUN_TEST_ff_i_tg): Likewise.
29692         (RUN_TEST_f_b): Likewise.
29693         (RUN_TEST_f_b_tg): Likewise.
29694         (RUN_TEST_f_l): Likewise.
29695         (RUN_TEST_f_L): Likewise.
29696         (RUN_TEST_sincos): Likewise.
29697         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29698         whether to show exceptions.  Do not include ");\n" in return
29699         value.
29700         (special_functions): Output call to RUN_TEST_sincos instead of
29701         check_float calls.  Update calls to new_test.
29702         (parse_args): Output call to single RUN_TEST_* macro instead of
29703         check_* calls and other assignments.  Update calls to new_test.
29705         [BZ #2546]
29706         [BZ #2560]
29707         [BZ #5159]
29708         [BZ #15426]
29709         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29710         input to result for tgamma overflow.
29711         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29712         (gamma_coeff): New variable.
29713         (NCOEFF): New macro.
29714         (gamma_positive): New function.
29715         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29716         underflow here.  Use gamma_positive instead of exp (lgamma) for
29717         other arguments.
29718         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29719         (gamma_coeff): New variable.
29720         (NCOEFF): New macro.
29721         (gammaf_positive): New function.
29722         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29723         underflow here.  Use gamma_positive instead of exp (lgamma) for
29724         other arguments.
29725         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29726         (gamma_coeff): New variable.
29727         (NCOEFF): New macro.
29728         (gammal_positive): New function.
29729         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29730         underflow here.  Use gamma_positive instead of exp (lgamma) for
29731         other arguments.
29732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29733         (gamma_coeff): New variable.
29734         (NCOEFF): New macro.
29735         (gammal_positive): New function.
29736         (__ieee754_gammal_r): Handle positive infinity, overflow and
29737         underflow here.  Handle NaN the same as positive infinity.  Remove
29738         check x < 0xffffffff for negative integers.  Use gamma_positive
29739         instead of exp (lgamma) for other arguments.
29740         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29741         (gamma_coeff): New variable.
29742         (NCOEFF): New macro.
29743         (gammal_positive): New function.
29744         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29745         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29746         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29747         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29748         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29749         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29750         * sysdeps/generic/math_private.h (__gamma_productf): New
29751         prototype.
29752         (__gamma_product): Likewise.
29753         (__gamma_productl): Likewise.
29754         * math/Makefile (libm-calls): Add gamma_product.
29755         * math/libm-test.inc (tgamma_test): Add more tests.
29756         * sysdeps/i386/fpu/libm-test-ulps: Update.
29757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29759 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29761         * benchtests/bench-skeleton.c (main): Preheat CPU.
29763 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29765         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29767 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29769         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29770         and _dl_skip_args_internal.
29772 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29774         * manual/message.texi (Message Translation): Talk about users.
29775         Message to key mapping impacts design.
29777 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29779         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29781         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29783         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29784         * sysdeps/wordsize-64/glob64.c: ... here.
29786         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29787         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29788         New macros.
29790         * debug/getlogin_r_chk.c: Moved to ...
29791         * login/getlogin_r_chk.c: ... here.
29792         * debug/Makefile (routines): Move getlogin_r_chk to ...
29793         * login/Makefile (routines): ... here.
29794         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29795         * login/Versions (libc: GLIBC_2.4): ... here.
29797         * io/poll.c (__poll): Renamed from poll.
29798         Add libc_hidden_def.
29799         (poll): Define as weak alias.
29801         * debug/ptsname_r_chk.c: Moved to ...
29802         * login/ptsname_r_chk.c: ... here.
29803         * debug/Makefile (routines): Move ptsname_r_chk to ...
29804         * login/Makefile (routines): ... here.
29805         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29806         * login/Versions (libc: GLIBC_2.4): ... here.
29808         * posix/getlogin.c: Moved to ...
29809         * login/getlogin.c: ... here.
29810         * posix/getlogin_r.c: Moved to ...
29811         * login/getlogin_r.c: ... here.
29812         * posix/getlogin_r.c: Moved to ...
29813         * login/getlogin_r.c: ... here.
29814         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29815         * login/Makefile (routines): ... here.
29816         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29817         * login/Versions (libc: GLIBC_2.0): ... here.
29819         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29820         (setrlimit): Define as weak alias.
29822         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29823         Call __ names for open, ftruncate, and close.
29824         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29825         (truncate): Define as weak alias.
29827 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29829         * math/gen-libm-test.pl (parse_args): Initialize x before each
29830         test of frexp, modf and remquo.
29832         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29833         test signgam value.
29835 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29837         [BZ #15418]
29838         [BZ #15419]
29839         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29840         internal tests.
29841         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29843 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29845         * elf/dl-writev.h: New file.
29846         * elf/dl-misc.c: Include it.
29847         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29848         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29850 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29852         * math/libm-test.inc (noXFails): Remove variable.
29853         (noXPasses): Likewise.
29854         (BUILD_COMPLEX_INT): Remove macro.
29855         (print_screen): Remove xfail argument.
29856         (print_screen_max_error): Likewise.
29857         (update_stats): Likewise.
29858         (print_max_error): Likewise.  Update calls to other affected
29859         functions.
29860         (print_complex_max_error): Likewise.
29861         (test_single_exception): Update calls to print_screen.
29862         (test_single_errno): Likewise.
29863         (check_float_internal): Remove xfail argument.  Update calls to
29864         other affected functions.
29865         (check_float): Likewise.
29866         (check_complex): Likewise.
29867         (check_int): Likewise.
29868         (check_long): Likewise.
29869         (check_bool): Likewise.
29870         (check_longlong): Likewise.
29871         (main): Don't print noXFails and noXPasses.
29872         * math/gen-libm-test.pl (top level): Don't mention expected
29873         failure handling in comment.
29874         (new_test): Don't handle expected failures.
29875         (parse_args): Don't mention expected failure handling in comment.
29876         (generate_testfile): Don't handle expected failures.
29877         (parse_ulps): Likewise.
29878         (print_ulps_file): Likewise.
29879         (get_failure): Remove function.
29880         (output_test): Don't handle expected failures.
29881         * make/README.libm-test: Don't mention expected failure handling.
29883         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29884         (minus_zero): Likewise.
29885         (plus_infty): Likewise.
29886         (minus_infty): Likewise.
29887         (qnan_value): Likewise.
29888         (max_value): Likewise.
29889         (min_value): Likewise.
29890         (min_subnorm_value): Likewise.
29891         (initialize): Do not initialize those variables dynamically.
29893 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29895         * io/open.c (__open_2): Moved to ...
29896         * io/open_2.c: ... this new file.
29897         * io/open64.c (__open64_2): Moved to ...
29898         * io/open64_2.c: ... this new file.
29899         * io/openat.c (__openat_2): Moved to ...
29900         * io/openat_2.c: ... this new file.
29901         * io/openat64.c (__openat64_2): Moved to ...
29902         * io/openat64_2.c: ... this new file.
29903         * io/Makefile (routines): Add them.
29904         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29905         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29906         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29907         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29908         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29909         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29910         (__openat64): Add hidden_ver.
29911         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29912         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29914         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29915         Separately conditionalize setting of GLRO(dl_sysinfo) so
29916         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29917         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29919 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29921         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29922         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29923         definition.
29924         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29925         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29926         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29927         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29928         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29930 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29932         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29933         test signgam value.
29935         * math/libm-test.inc (hypot_test): Do not use
29936         IGNORE_ZERO_INF_SIGN.
29938 2013-05-03  Andreas Jaeger  <aj@suse.de>
29940         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29941         Linux 3.9.
29942         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29943         (PF_MAX): Adjust for VSOCK change.
29945 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29949 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29951         [BZ #15264]
29952         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29953         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29954         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29956 2013-05-02  David S. Miller  <davem@davemloft.net>
29958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29960 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29962         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29964 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29966         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29968 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29970         [BZ #14952]
29971         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29972         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29973         Use __attribute__ ((__gnu_inline__)).
29974         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29975         Don't use __attribute__ ((__gnu_inline__)).
29977 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29979         [BZ #15423]
29980         * math/s_catan.c (__catan): Handle small real or imaginary part of
29981         input specially to avoid spurious underflow.
29982         * math/s_catanf.c (__catanf): Likewise.
29983         * math/s_catanh.c (__catanh): Likewise.
29984         * math/s_catanhf.c (__catanhf): Likewise.
29985         * math/s_catanhl.c (__catanhl): Likewise.
29986         * math/s_catanl.c (__catanl): Likewise.
29987         * math/libm-test.inc (catan_test): Add more tests.
29988         (catanh_test): Likewise.
29989         * sysdeps/i386/fpu/libm-test-ulps: Update.
29990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29992 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29996 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29998         [BZ #15416]
29999         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30000         accurately for denominator in atan2.
30001         * math/s_catanf.c (__catanf): Likewise.
30002         * math/s_catanh.c (__catanh): Likewise.
30003         * math/s_catanhf.c (__catanhf): Likewise.
30004         * math/s_catanhl.c (__catanhl): Likewise.
30005         * math/s_catanl.c (__catanl): Likewise.
30006         * math/libm-test.inc (catan_test): Add more tests.
30007         (catanh_test): Likewise.
30008         * sysdeps/i386/fpu/libm-test-ulps: Update.
30009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30011 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30013         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30015         * benchtests/Makefile (bench): Remove slow benchmarks.
30016         * benchtests/atan-inputs: Add slow benchmark inputs.
30017         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30018         (BENCH_FUNC): Accept variant offset.
30019         (VARIANT): Define.
30020         * benchtests/bench-skeleton.c (main): Run benchmark for each
30021         variant.
30022         * benchtests/cos-inputs: Add slow benchmark inputs.
30023         * benchtests/exp-inputs: Likewise.
30024         * benchtests/pow-inputs: Likewise.
30025         * benchtests/sin-inputs: Likewise.
30026         * benchtests/slowatan-inputs: Remove.
30027         * benchtests/slowatan.c: Remove.
30028         * benchtests/slowcos-inputs: Remove.
30029         * benchtests/slowcos.c: Remove.
30030         * benchtests/slowexp-inputs: Remove.
30031         * benchtests/slowexp.c: Remove.
30032         * benchtests/slowpow-inputs: Remove.
30033         * benchtests/slowpow.c: Remove.
30034         * benchtests/slowsin-inputs: Remove.
30035         * benchtests/slowsin.c: Remove.
30036         * benchtests/slowtan-inputs: Remove.
30037         * benchtests/slowtan.c: Remove.
30038         * benchtests/tan-inputs: Add slow benchmark inputs.
30039         * scripts/bench.pl: Parse comments and directives.
30041         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30042         in CPPFLAGS.
30043         ($(objpfx)bench-%.c): Remove *-ITER.
30044         * benchtests/bench-modf.c: Remove definition of ITER.
30045         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30046         (main): Loop for DURATION seconds instead of fixed number of
30047         iterations.
30048         * scripts/bench.pl: Don't expect iterations in parameters.
30050 2013-04-29  Roland McGrath  <roland@hack.frob.com>
30052         * io/fchdir.c (__fchdir): Renamed from fchdir.
30053         (fchdir): Define as weak alias.
30055 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30057         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30058         (ERRNO_EDOM): Likewise.
30059         (ERRNO_ERANGE): Likewise.
30060         (noErrnoTests): New variable.
30061         (init_max_error): Set errno to 0.
30062         (test_single_errno): New function.
30063         (test_errno): Likewise.
30064         (check_float_internal): Call test_errno.  Set errno to 0.
30065         (check_complex): Refer to errno tests in comment.
30066         (check_int): Call test_errno.  Set errno to 0.
30067         (check_long): Likewise.
30068         (check_bool): Likewise.
30069         (check_longlong): Likewise.
30070         (cos_test): Use ERRNO_* flags for errno tests instead of
30071         check_int.
30072         (expm1_test): Likewise.
30073         (fmod_test): Likewise.
30074         (ilogb_test): Likewise.
30075         (lgamma_test): Likewise.
30076         (pow_test): Likewise.
30077         (remainder_test): Likewise.
30078         (sin_test): Likewise.
30079         (tan_test): Likewise.
30080         (yn_test): Likewise.
30081         (initialize): Set errno to 0.
30082         (main): Print number of errno tests.
30083         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30085 2013-04-29  Andreas Jaeger  <aj@suse.de>
30087         [BZ #15084]
30088         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30089         and RES_USEVC.
30091         [BZ #15085]
30092         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30093         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30094         unimplemented.
30096         [BZ #15380]
30097         * stdlib/random.c (__initstate): Return NULL if
30098         __initstate fails.
30100         [BZ #15086]
30101         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30102         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30103         RES_SNGLKUPREOP.
30105 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30109 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30111         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30112         of individual tests.
30113         (casin_test): Likewise.
30114         (casinh_test): Likewise.
30116 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
30118         [BZ #15409]
30119         * math/s_catan.c (__catan): Handle arguments with large real or
30120         imaginary part separately without squaring.
30121         * math/s_catanf.c (__catanf): Likewise.
30122         * math/s_catanh.c (__catanh): Likewise.
30123         * math/s_catanhf.c (__catanhf): Likewise.
30124         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30125         and redefine.
30126         (__catanhl): Handle arguments with large real or imaginary part
30127         separately without squaring.
30128         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30129         and redefine.
30130         (__catanl): Handle arguments with large real or imaginary part
30131         separately without squaring.
30132         * math/libm-test.inc (catan_test): Add more tests.
30133         (catanh_test): Likewise.
30134         * sysdeps/i386/fpu/libm-test-ulps: Update.
30135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30137 2013-04-27  Andreas Jaeger  <aj@suse.de>
30139         [BZ #15007]
30140         * stdlib/stdlib.h: Update guards for qecvt.
30141         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30142         <stdlib.h>.
30144 2013-04-27  Allan McRae  <allan@archlinux.org>
30146         * sysdeps/i386/fpu/libm-test-ulps: Update.
30148 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
30150         [BZ #15406]
30151         * math/s_catan.c: Include <float.h>.
30152         (__catan): Ensure underflow exception occurs for underflowed
30153         result.
30154         * math/s_catanf.c: Include <float.h>.
30155         (__catanf): Ensure underflow exception occurs for underflowed
30156         result.
30157         * math/s_catanh.c: Include <float.h>.
30158         (__catanh): Ensure underflow exception occurs for underflowed
30159         result.
30160         * math/s_catanhf.c: Include <float.h>.
30161         (__catanhf): Ensure underflow exception occurs for underflowed
30162         result.
30163         * math/s_catanhl.c: Include <float.h>.
30164         (__catanhl): Ensure underflow exception occurs for underflowed
30165         result.
30166         * math/s_catanl.c: Include <float.h>.
30167         (__catanl): Ensure underflow exception occurs for underflowed
30168         result.
30169         * math/libm-test.inc (catan_test): Add more tests.
30170         (catanh_test): Likewise.
30172         [BZ #15405]
30173         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30174         underflowed result.
30175         * math/s_ccoshf.c (__ccoshf): Likewise.
30176         * math/s_ccoshl.c (__ccoshl): Likewise.
30177         * math/s_csin.c (__csin): Likewise.
30178         * math/s_csinf.c (__csinf): Likewise.
30179         * math/s_csinh.c (__csinh): Likewise.
30180         * math/s_csinhf.c (__csinhf): Likewise.
30181         * math/s_csinhl.c (__csinhl): Likewise.
30182         * math/s_csinl.c (__csinl): Likewise.
30183         * math/libm-test.inc (ccos_test): Add more tests.
30184         (ccosh_test): Likewise.
30185         (csin_test): Likewise.
30186         (csinh_test): Likewise.
30188 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30190         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30191         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30192         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30193         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30194         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30195         powerpc/power5+/fpu folders.
30196         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30199 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30203 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30205         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30206         additions to variable.
30207         [$(config-machine) = x86_64] (modules-names): Likewise.
30208         ($(objpfx)tst-audit3): Remove dependency.
30209         ($(objpfx)tst-audit3.out): Likewise.
30210         ($(objpfx)tst-audit4): Likewise.
30211         ($(objpfx)tst-audit4.out): Likewise.
30212         ($(objpfx)tst-audit5): Likewise.
30213         ($(objpfx)tst-audit5.out): Likewise.
30214         ($(objpfx)tst-audit6): Likewise.
30215         ($(objpfx)tst-audit6.out): Likewise.
30216         ($(objpfx)tst-audit7): Likewise.
30217         ($(objpfx)tst-audit7.out): Likewise.
30218         (tst-audit3-ENV): Remove variable.
30219         (tst-audit4-ENV): Likewise.
30220         (tst-audit5-ENV): Likewise.
30221         (tst-audit6-ENV): Likewise.
30222         (tst-audit7-ENV): Likewise.
30223         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30224         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30225         addition to variable.
30226         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30228         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30231         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30232         tst-audit3, tst-audit4 and tst-audit5.
30233         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30234         tst-audit6 and tst-audit7.
30235         [$(subdir) = elf] (modules-names): Add audit modules for those
30236         tests.
30237         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30238         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30239         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30240         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30241         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30242         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30243         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30244         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30245         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30246         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30247         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30248         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30249         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30250         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30251         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30252         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30253         Likewise.
30254         [$(subdir) = elf && $(config-cflags-avx) = yes]
30255         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30256         [$(subdir) = elf && $(config-cflags-avx) = yes]
30257         (CFLAGS-tst-auditmod4a.c): Likewise.
30258         [$(subdir) = elf && $(config-cflags-avx) = yes]
30259         (CFLAGS-tst-auditmod4b.c): Likewise.
30260         [$(subdir) = elf && $(config-cflags-avx) = yes]
30261         (CFLAGS-tst-auditmod6b.c): Likewise.
30262         [$(subdir) = elf && $(config-cflags-avx) = yes]
30263         (CFLAGS-tst-auditmod6c.c): Likewise.
30264         [$(subdir) = elf && $(config-cflags-avx) = yes]
30265         (CFLAGS-tst-auditmod7b.c): Likewise.
30266         * elf/tst-audit3.c: Move to ...
30267         * sysdeps/x86_64/tst-audit3.c: ... here.
30268         * elf/tst-audit4.c: Move to ...
30269         * sysdeps/x86_64/tst-audit4.c: ... here.
30270         * elf/tst-audit5.c: Move to ...
30271         * sysdeps/x86_64/tst-audit5.c: ... here.
30272         * elf/tst-audit6.c: Move to ...
30273         * sysdeps/x86_64/tst-audit6.c: ... here.
30274         * elf/tst-audit7.c: Move to ...
30275         * sysdeps/x86_64/tst-audit7.c: ... here.
30276         * elf/tst-auditmod3a.c: Move to ...
30277         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30278         * elf/tst-auditmod3b.c: Move to ...
30279         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30280         * elf/tst-auditmod4a.c: Move to ...
30281         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30282         * elf/tst-auditmod4b.c: Move to ...
30283         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30284         * elf/tst-auditmod5a.c: Move to ...
30285         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30286         * elf/tst-auditmod5b.c: Move to ...
30287         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30288         * elf/tst-auditmod6a.c: Move to ...
30289         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30290         * elf/tst-auditmod6b.c: Move to ...
30291         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30292         * elf/tst-auditmod6c.c: Move to ...
30293         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30294         * elf/tst-auditmod7a.c: Move to ...
30295         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30296         * elf/tst-auditmod7b.c: Move to ...
30297         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30299 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30301         [BZ #15366]
30302         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30303         define unconditionally.
30304         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30305         define unconditionally.
30306         (INT8_C, INT16_C, etc.): Likewise.
30308 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30310         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30311         __ehdr_start with hidden visibility.
30313         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30315 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30317         * math/libm-test.inc (cos_test): Use accurate hex constants.
30318         (sincost_test): Likewise.
30320 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30322         * math/libm-test.inc (catan_test): Add more tests.
30323         (catanh_test): Likewise.
30325         * math/s_catanf.c (__catanf): Use suffixed floating-point
30326         constants.
30327         * math/s_catanhf.c (__catanhf): Likewise.
30328         * math/s_catanhl.c (__catanhl): Likewise.
30329         * math/s_catanl.c (__catanl): Likewise.
30331         [BZ #15394]
30332         * math/s_catan.c (__catan): Calculate imaginary part of result
30333         with log1p not log unless computing log of number close to 0.
30334         * math/s_catanf.c (__catanf): Likewise.
30335         * math/s_catanl.c (__catanl): Likewise.
30336         * math/s_catanh.c (__catanh): Calculate real part of result with
30337         log1p not log unless computing log of number close to 0.
30338         * math/s_catanhf.c (__catanhf): Likewise.
30339         * math/s_catanhl.c (__catanhl): Likewise.
30340         * math/libm-test.inc (catan_test): Add more tests.
30341         (catanh_test): Likewise.
30342         * sysdeps/i386/fpu/libm-test-ulps: Update.
30343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30345 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30347         * benchtests/Makefile: Mention files in which fast and slow
30348         paths of math functions are implemented.
30350 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30352         * sysdeps/posix/timespec_get.c: New file.
30354 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30356         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30357         POWER.
30358         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30359         for POWER.
30360         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30361         powerpc/power5/fpu folders.
30362         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30363         * benchtests/Makefile: Add modf testcase.
30364         * benchtests/bench-modf.c: New file: Benchmark test for mo
30366 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30368         [BZ #14888]
30369         * time/Makefile (tests): Add tst-strptime-whitespace.
30370         * time/strptime_l.c (get_number): Use ISSPACE.
30371         (__strptime_internal): Likewise.
30372         * time/tst-strptime-whitespace.c: New test case.
30374 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30376         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30377         member.
30378         (_nss_files_init): Set it here.
30380 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30382         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30383         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30384         unsigned.
30386 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30388         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30390 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30392         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30393         size just once.
30395 2013-04-21  David S. Miller  <davem@davemloft.net>
30397         * po/ru.po: Update Russion translation from translation project.
30399 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30401         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30402         and setfsgid.
30404 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30406         * configure.in: Remove i386 configure warning. Remove i386 case.
30407         * configure: Regenerate.
30408         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30409         Add example to error message.
30410         * sysdeps/i386/configure: Regenerate.
30412 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30414         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30415         slowtan.
30416         * benchtests/cos-inputs: New file.
30417         * benchtests/slowcos-inputs: New file.
30418         * benchtests/slowcos.c: New file.
30419         * benchtests/slowtan-inputs: New file.
30420         * benchtests/slowtan.c: New file.
30421         * benchtests/tan-inputs: New file.
30423 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30425         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30426         considered kosher.
30428 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30430         * benchtests/Makefile: Include cppflags-iterator.mk to add
30431         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30433         * Makefile.in (bench-clean): New target.
30434         * benchtests/Makefile (bench-clean): Likewise.
30436 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30438         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30440 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30442         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30444 2013-04-15  Andreas Schwab  <schwab@suse.de>
30446         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30448         * nscd/pwdcache.c (cache_addpw): Likewise.
30449         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30450         more than recsize.
30452 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30454         * benchtests/Makefile (bench): Write all output to
30455         bench-out.tmp together.
30457 2013-04-15  Andreas Schwab  <schwab@suse.de>
30459         * nscd/nscd.c (main): Don't fork again after closing files.
30461 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30463         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30465         * benchtests/Rules (bench-deps): Collect dependencies into a
30466         single variable.  Add Makefile to dependencies.
30467         ($(objpfx)bench-%.c): Depend on bench-deps.
30469 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30470             Xavier Roche  <roche+kml2@exalead.com>
30472         [BZ #15361]
30473         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30474         just that it's a file descriptor.
30475         * manual/llio.texi (Synchronizing AIO Operations): Update description
30476         for EBADF error from aio_fsync.
30478 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30480         * Rules (bench): Move target definition...
30481         * benchtests/Makefile: ... here.
30483 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30485         * math/libm-test.inc (cos_test): Fix PI/2 test.
30486         (sincos_test): Likewise.
30487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30488         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30490 2013-04-11  Andreas Schwab  <schwab@suse.de>
30492         [BZ #13988]
30493         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30494         accept exponent character only when digits were seen.
30495         * stdio-common/Makefile (tests): Add bug26.
30496         * stdio-common/bug26.c: New file.
30498         [BZ #14293]
30499         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30500         non-freeable.
30502 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30504         * Makeconfig (rtld-prefix): Define built linker prefix.
30505         * Rules (run-bench): Use it.
30506         * math/Makefile (run-regen-ulps): Likewise.
30508         * Rules (bench): Remove eval.
30510 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30511             Roland McGrath  <roland@hack.frob.com>
30512             Ondrej Bilka  <neleai@seznam.cz>
30514         [BZ #15346]
30515         * time/getdate.c: Include ctype.h and alloca.h.
30516         (__getdate_r): Trim leading and trailing spaces of input.
30517         * time/tst-getdate.c (tests): Add tests with leading and
30518         trailing spaces.
30520 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30522         [BZ #14280]
30523         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30524         when computing value.
30526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30528         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30529         Use testrun.sh to run libm tests.
30531         [BZ #15309]
30532         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30534 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30536         [BZ #15264]
30537         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30539 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30541         * Makefile.in (regen-ulps): New target.
30542         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30543         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30544         [ifneq (no,$(PERL)] (regen-ulps): New target.
30545         [ifeq (no,$(PERL)] (regen-ulps): New target.
30546         * math/libm-test.inc (ulps_file_name): Define.
30547         (output_dir): New variable.
30548         (options): Add "output-dir" option.
30549         (parse_opt): Handle 'o' case.
30550         (main): If output_dir is non-NULL use it as a prefix
30551         otherwise use "".
30552         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30554 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30556         [BZ #10060, #10062]
30557         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30558         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30559         fail configure if __sync_val_compare_and_swap is not inlined.
30560         * sysdeps/i386/configure: Regenerate.
30561         * configure.in: Build for i686 when configured for i386.
30562         * configure: Regenerate.
30563         * README: Remove i386 reference.
30565 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30567         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30570 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30572         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30573         (lmsnanval): New variables.
30574         (F): Add conversion tests.
30575         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30576         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30578         * stdio-common/tstdiomisc.c (F): Properly collect individual
30579         tests' results.
30581         [BZ #14686, #15336]
30582         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30583         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30584         Instead, use input NaN values or generate a qNaN by arithmetic
30585         operation.  Also fix bugs to comply with the standard.
30586         * math/libm-test.inc (remainder_test): Add more tests.
30588         [BZ #15335, #15342]
30589         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30591         input NaN values or generate a qNaN by arithmetic operation.
30593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30594         unreachable code.
30596         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30597         definitions.
30599 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30601         [BZ #14478]
30602         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30603         underflowed result.
30604         * math/s_cexpf.c (__cexpf): Likewise.
30605         * math/s_cexpl.c (__cexpl): Likewise.
30606         * math/libm-test.inc (cexp_test): Add more tests.
30608 2013-04-03  Andreas Schwab  <schwab@suse.de>
30610         [BZ #15330]
30611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30612         order arrays from heap if bigger than alloca cutoff.
30614 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30616         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30617         (SNAN_TESTS_double): Refer to GCC PR56831.
30618         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30619         GCC PR56828.
30621 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30623         * Rules (bench): Move bench.out after the run is complete.
30625         * Rules (bench): Echo currently running benchmark.
30627         * benchtests/Makefile (bench): Add atan and slowatan.
30628         * benchtests/atan-inputs: New file.
30629         * benchtests/slowatan-inputs: New file.
30630         * benchtests/slowatan.c: New file.
30632         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30633         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30634         its value.
30636         [BZ #15305]
30637         * sysdeps/unix/sysv/linux/kernel-features.h
30638         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30639         __ASSUME_XFS_RESTRICTED_CHOWN.
30640         * sysdeps/unix/sysv/linux/pathconf.c
30641         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30642         Save and restore errno.
30644 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30646         [BZ #15327]
30647         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30648         arguments using __kernel_casinh.
30649         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30650         arguments using __kernel_casinhf.
30651         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30652         arguments using __kernel_casinhl.
30653         * math/libm-test.inc (cacosh_test): Add more tests.
30654         * sysdeps/i386/fpu/libm-test-ulps: Update.
30655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30657 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30659         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30662         * bench/Makefile (bench): Add sin and slowsin.
30663         * benchtests/sin-inputs: New file.
30664         * benchtests/slowsin-inputs: New file.
30665         * benchtests/slowsin.c: New file.
30667         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30668         (bench): Add slowexp and slowpow.
30669         (exp-ITER): Increase iterations.
30670         (pow-ITER): Likewise.
30671         * benchtests/exp-inputs: Change input.
30672         * benchtests/pow-inputs: Likewise.
30673         * benchtests/slowexp-inputs: New file.
30674         * benchtests/slowexp.c: New file.
30675         * benchtests/slowpow-inputs: New file.
30676         * benchtests/slowpow.c: New file.
30678 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30680         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30681         instructions.
30682         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30683         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30684         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30685         * benchtests/Makefile: Add rint benchtest.
30686         * benchtests/rint-inputs: Input for rint benchtest.
30688 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30690         * Versions.def (libm): Add GLIBC_2.18.
30691         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30692         hidden libm prototypes.
30693         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30694         * math/Makefile (libm-calls): Add s_issignaling.
30695         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30696         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30697         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30698         declaration.
30699         * math/math.h [__USE_GNU] (issignaling): New macro.
30700         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30701         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30702         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30703         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30704         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30705         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30706         * manual/arith.texi (issignaling): New section.
30707         * manual/libm-err-tab.pl (@all_functions): Update comment.
30708         * math/gen-libm-test.pl (parse_args): Apply special handling for
30709         issignaling.
30710         * math/libm-test.inc (print_float, issignaling_test): New
30711         functions.
30712         (check_float_internal): Add issignaling checks.
30713         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30714         default definition.
30715         * sysdeps/powerpc/math-tests.h: New file.
30716         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30717         tests.
30718         * math/test-snan.c (TEST_FUNC): Likewise.
30720 2013-03-30  David S. Miller  <davem@davemloft.net>
30722         * po/de.po: Update from translation team.
30724 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30726         [BZ #10357]
30727         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30728         imaginary part less than 1.0 and real part less than 0.5
30729         specially.
30730         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30731         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30732         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30733         (cacos_test): Add more tests.
30734         (casin_test): Likewise.
30735         (casinh_test): Likewise.
30736         * sysdeps/i386/fpu/libm-test-ulps: Update.
30737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30739 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30741         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30742         ONE with its value.
30744         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30745         (__pow_mp): Replace ONE and MONE with their values.
30746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30748         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30749         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30750         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30753         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30755         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30756         (__pow_mp): Replace ZERO and MZERO with their values.
30757         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30761         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30762         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30763         (__sqr): Likewise.
30765         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30767         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30769 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30771         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30772         Declare with __attribute__ ((weak)).
30773         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30774         Call __call_tls_dtors only if it's not NULL.
30776 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30778         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30779         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30780         magic __ehdr_start linker symbol if it's defined.
30781         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30782         them up here if it was already done.
30784         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30785         (_dl_aux_init): Use const in cast when setting it.
30786         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30787         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30788         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30790         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30791         Declare them here.
30792         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30793         * csu/libc-tls.c: Nor here.
30794         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30796         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30797         (__libc_message): Never call vsyslog.
30799 2013-03-28  Alan Modra  <amodra@gmail.com>
30801         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30802         Define as empty.
30803         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30804         Likewise.
30806 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30808         [BZ #15214]
30809         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30810         underflow.
30811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30813 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30815         [BZ #15304]
30816         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30817         Don't add gid passed as argument.
30819         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30821 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #15307]
30824         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30825         imaginary part between 1.0 and 1.5 and real part less than 0.5
30826         specially.
30827         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30828         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30829         * math/libm-test.inc (cacos_test): Add more tests.
30830         (casin_test): Likewise.
30831         (casinh_test): Likewise.
30832         * sysdeps/i386/fpu/libm-test-ulps: Update.
30833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30835 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30837         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30838         constants.
30839         (norm): Likewise.
30840         (denorm): Likewise.
30841         (__dbl_mp): Likewise.
30842         (add_magnitudes): Likewise.
30843         (sub_magnitudes): Likewise.
30844         (__add): Likewise.
30845         (__sub): Likewise.
30846         (__mul): Likewise.
30847         (__sqr): Likewise.
30848         (__inv): Likewise.
30849         (__dvd): Likewise.
30851         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30852         commented code.
30853         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30854         (__dubcos): Likewise.
30855         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30856         (__ieee754_acos): Likewise.
30857         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30858         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30859         (__exp1): Likewise.
30860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30862         (log1): Likewise.
30863         (my_log2): Likewise.
30864         (checkint): Likewise.
30865         * sysdeps/ieee754/dbl-64/e_remainder.c
30866         (__ieee754_remainder): Likewise.
30867         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30869         (bsloww): Likewise.
30870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30872         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30873         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30874         MANTISSA_STORE_T to store computations on mantissa.  Use
30875         macros for rounding and division.
30876         (denorm): Likewise.
30877         (__dbl_mp): Likewise.
30878         (add_magnitudes): Likewise.
30879         (sub_magnitudes): Likewise.
30880         (__mul): Likewise.
30881         (__sqr): Likewise.
30882         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30883         powers of two in terms of TWOPOW macro.
30884         (mp_no): Make type of mantissa as MANTISSA_T.
30885         [!RADIXI]: Define RADIXI.
30886         [!TWO52]: Define TWO52.
30887         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30889 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30891         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30892         llroundl symbol when building for PPC32.
30894 2013-03-24  Mark H Weaver  <mhw@netris.org>
30896         * manual/arith.texi (Normalization Functions): Fix prototypes for
30897         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30899 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30901         [BZ #13889]
30902         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30903         high value to check if expl overflow.
30904         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30905         to check for underflow and overflow.
30906         * math/libm-test.inc: Add exp test.
30908 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30910         [BZ #11120]
30911         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30912         with NOT_IN_libc.
30914 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30916         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30917         symbol.
30919 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30921         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30922         wrap blocks consisting of several statements.
30924         * sysdeps/generic/math-tests.h: New file.
30925         * sysdeps/i386/fpu/math-tests.h: Likewise.
30926         * math/test-snan.c: Include it.
30927         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30929 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30931         [BZ #15285]
30932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30933         (__ieee754_j0l): Do not improve calculations using cos of twice
30934         input for inputs above LDBL_MAX / 2.0L.
30935         (__ieee754_y0l): Likewise.
30936         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30937         (__ieee754_j1l): Do not improve calculations using cos of twice
30938         input for inputs above LDBL_MAX / 2.0L.
30939         (__ieee754_y1l): Likewise.
30940         * math/libm-test.inc (j0_test): Add another test.
30941         (j1_test): Likewise.
30942         (y0_test): Likewise.
30943         (y1_test): Likewise.
30944         * sysdeps/i386/fpu/libm-test-ulps: Update.
30946 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30948         * Rules ($(objpfx)bench-%.c): Include code from a C source
30949         file.
30951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30953         [BZ #15287]
30954         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30955         imaginary part 1.0 and real part less than 0.5 specially.
30956         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30957         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30958         * math/libm-test.inc (cacos_test): Add more tests.
30959         (casin_test): Likewise.
30960         (casinh_test): Likewise.
30961         * sysdeps/i386/fpu/libm-test-ulps: Update.
30962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30964 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30966         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30967         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30969 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30971         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30972         * config.make.in (config-cflags-sse4): Remove variable.
30973         (config-cflags-avx): Likewise.
30974         (config-cflags-sse2avx): Likewise.
30975         (config-cflags-novzeroupper): Likewise.
30976         (config-asflags-i686): Likewise.
30977         (have-mfma4): Likewise.
30978         (have-as-vis3): Likewise.
30979         (MIG): Likewise.
30980         * configure.in (MIG): Do not AC_SUBST.
30981         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30982         (libc_cv_cc_sse4): Do not AC_SUBST.
30983         (libc_cv_cc_avx): Likewise.
30984         (libc_cv_cc_sse2avx): Likewise.
30985         (libc_cv_cc_novzeroupper): Likewise.
30986         (libc_cv_cc_fma4): Likewise.
30987         (libc_cv_as_i686): Likewise.
30988         (libc_cv_sparc_as_vis3): Likewise.
30989         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30990         LIBC_CONFIG_VAR.
30991         (config-asflags-i686): Likewise.
30992         (config-cflags-avx): Likewise.
30993         (config-cflags-sse2avx): Likewise.
30994         (have-mfma4): Likewise.
30995         (config-cflags-novzeroupper): Likewise.
30996         * sysdeps/mach/configure.in (MIG): Likewise.
30997         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30998         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30999         LIBC_CONFIG_VAR.
31000         (config-cflags-avx): Likewise.
31001         (config-cflags-sse2avx): Likewise.
31002         (have-mfma4): Likewise.
31003         (config-cflags-novzeroupper): Likewise.
31004         * configure: Regenerated.
31005         * sysdeps/i386/configure: Likewise.
31006         * sysdeps/mach/configure: Likewise.
31007         * sysdeps/sparc/configure: Likewise.
31008         * sysdeps/x86_64/configure: Likewise.
31010 2013-03-20  Roland McGrath  <roland@hack.frob.com>
31012         [BZ #14812]
31013         * locale/programs/localedef.c (options): Put N_ translation marker
31014         on argument names, not just descriptions.
31016 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31018         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31020 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
31022         [BZ #14176]
31023         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31025 2013-03-19  Roland McGrath  <roland@hack.frob.com>
31027         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31028         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31029         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31030         [!BEFORE_ABORT] (before_abort): New function.
31031         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31032         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31033         (writev_for_fatal): New function.
31034         (WRITEV_FOR_FATAL): New macro; call that.
31035         (backtrace_and_maps): New function.
31036         (BEFORE_ABORT): New macro; call that.
31037         (struct str_list): Type removed.
31038         (__libc_message, __libc_fatal): Functions removed.
31039         Include <sysdeps/posix/libc_fatal.c> instead.
31041 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
31043         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31044         constants.
31045         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31046         double constants.
31048 2013-03-19  Andreas Schwab  <schwab@suse.de>
31050         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31051         * sysdeps/gnu/configure: Regenerate.
31053         * configure.in: Substitute libc_cv_rtlddir.
31054         * configure: Regenerate.
31055         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31056         * Makeconfig (rtlddir, inst_rtlddir): New variables.
31057         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31058         * elf/Makefile (install-others, CFLAGS-interp.c)
31059         (ldso_install, common-ldd-rewrite): Likewise.
31060         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31061         $(inst_slibdir)/$(rtld-installed-name).
31062         * scripts/rellns-sh: Add -p option.
31063         * Makerules (make-shlib-link): Use rellns-sh to get relative name
31064         for source.
31066 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31068         * manual/nptl.texi: Renamed to ...
31069         * manual/threads.texi: ... this.
31070         * manual/Makefile (chapters): Update.
31072 2013-03-18  Roland McGrath  <roland@hack.frob.com>
31074         [BZ #14812]
31075         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31076         on argument names, not just descriptions.
31077         * malloc/memusagestat.c (options): Likewise.
31078         * nss/getent.c (options): Likewise.
31080 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
31082         [BZ #14812]
31083         * iconv/iconv_prog.c (options): Put N_ translation marker
31084         on argument names, not just descriptions.
31085         * iconv/iconvconfig.c (options): Likewise.
31087 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
31089         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31090         implementation which is faster on all x86_64 architectures.
31091         Tested on AMD, Intel Nehalem, SNB, IVB.
31092         * sysdeps/x86_64/strnlen.S: Likewise.
31094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31095         Remove all multiarch strlen and strnlen versions.
31096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31097         Remove strlen and strnlen related parts.
31099         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31100         Inline strlen part.
31101         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31103         * sysdeps/x86_64/multiarch/strlen.S: Remove.
31104         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31105         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31106         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31107         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31108         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31110 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
31112         * manual/memory.texi (Malloc Tunable Parameters):
31113         Sort parameters alphabetically. Add comments for missing entries.
31115 2013-03-17  David S. Miller  <davem@davemloft.net>
31117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31119 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
31121         [BZ #15283]
31122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31123         for arguments at most half maximum finite value.
31124         * math/libm-test.inc (j0_test): Add more tests.
31125         (j1_test): Likewise.
31126         (y0_test): Likewise.
31127         (y1_test): Likewise.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131         [BZ #14155]
31132         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31133         1 / x and functions P and Q for arguments above 0x1p256L.
31134         (__ieee754_y0l): Likewise.
31135         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31136         (__ieee754_y1l): Likewise.
31137         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31138         (j1_test): Likewise.
31139         (y0_test): Likewise.
31140         (y1_test): Likewise.
31142 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
31144         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31145         variable.
31147 2013-03-15  Roland McGrath  <roland@hack.frob.com>
31149         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31150         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31151         zero since it's initialized to EXEC_PAGESIZE.
31153         * sysdeps/unix/sysv/linux/ldsodefs.h
31154         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31155         * sysdeps/generic/ldsodefs.h: ... here.
31157 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
31159         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31161         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31162         math/test-snan.c.
31163         * math/test-snan.c: Renamed from
31164         sysdeps/powerpc/fpu/test-powerpc-snan.c.
31165         * math/Makefile (tests): Add test-snan.
31166         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31167         test-powerpc-snan.
31169         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31170         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
31171         functions.
31172         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
31173         __builtin_nan family of functions.
31174         * math/libm-test.inc (initialize): Initialize qnan_value with
31175         __builtin_nan family of functions.
31176         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31177         Remove variables.
31178         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31179         Remove functions.
31180         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
31181         storage class.  Initialize qNaN_var and sNaN_var with
31182         __builtin_nan and __builtin_nans families of functions,
31183         respectively.
31185         * math/libm-test.inc (acosh_test): Also test with qNaN input.
31186         (sqrt_test): Remove duplicate test with qNaN input.
31187         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31188         (round_test, signbit_test, significand_test): Note missing +/-Inf
31189         as well as qNaN tests.
31191         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31192         qNaN_var.  Fix a few strings, too.
31193         * math/libm-test.inc (nan_value): Rename to qnan_value.
31194         * math/gen-libm-test.pl (%beautify): Adjust to that.
31195         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31196         * math/test-misc.c (main): Likewise.
31197         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31198         to __qnan_bytes, and __qnan_union, respectively.
31199         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31200         Likewise.
31201         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31202         and lqnanval, respectively.
31203         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31204         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31205         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31206         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31208         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31209         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31210         doubles.
31212         * math/test-misc.c (main): Fix copy'n'pastos.
31213         * misc/tst-efgcvt.c (special): Likewise.
31215         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31216         Remove declarations.
31218 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31220         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31221         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31222         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31223         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31225 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31228         macro to return vdso values correctly in IFUNC implementations.
31229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31230         Optimization by using IFUNC.
31232 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31233             Richard Henderson  <rth@redhat.com>
31234             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31236         * Makefile.in (bench): New target.
31237         * NEWS: Mention the benchmark framework.
31238         * Rules (bench): Likewise.
31239         (binaries-bench): Generate binaries for functions to
31240         benchmark.
31241         * benchtests/Makefile: New makefile for benchmark tests.
31242         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31243         programs.
31244         * benchtests/exp-inputs: New input file for EXP function.
31245         * benchtests/pow-inputs: New input file for POW function.
31246         * scripts/bench.pl: New script to generate source files for
31247         benchmark programs.
31249 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31253         computations on mantissa.  Use macros for rounding and
31254         division.
31255         (denorm): Likewise.
31256         (__dbl_mp): Likewise.
31257         (add_magnitudes): Likewise.
31258         (sub_magnitudes): Likewise.
31259         (__mul): Likewise.
31260         (__sqr): Likewise.
31261         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31262         powers of two in terms of TWOPOW macro.
31263         (mp_no): Make type of mantissa as MANTISSA_T.
31264         [!RADIXI]: Define RADIXI.
31265         [!TWO52]: Define TWO52.
31266         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31268         * manual/nptl.texi (cindex): Modify threads to pthreads.
31270 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31272         * sysdeps/x86_64/preconfigure: Regenerated.
31274 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31276         [BZ #14155]
31277         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31278         0x1p28 and above.
31279         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31280         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31281         0x1p28 and above.
31282         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31283         * math/libm-test.inc (j0_test): Do not allow one spurious
31284         underflow exception.
31285         (y1_test): Likewise.
31287 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31289         * manual/Makefile (chapters): Add nptl.
31290         * manual/debug.texi (Debugging Support): Add link to Threads
31291         chapter.
31292         * manual/nptl.texi: New file.
31294         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31296 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31298         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31299         for non-NULL pointer before the memory validity test. Pointed
31300         out by Holger Brunck <holger.brunck@keymile.com>.
31302 2013-03-13  Andreas Schwab  <schwab@suse.de>
31304         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31305         instead of .os.
31307 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31309         * timezone/zic.c: Update from tzcode 2013b.
31311 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31313         * manual/install.texi (Configuring and compiling):
31314         Mention i686 and i586.
31315         * INSTALL: Regenerate.
31317 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31319         * sysdeps/init_array/elf-init.c: New file.
31320         * csu/elf-init.c
31321         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31322         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31324         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31325         __gmon_start__ as global, but as static with a .preinit_array pointer.
31326         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31327         * sysdeps/init_array/crti.S: New file, empty except for comments.
31328         * sysdeps/init_array/crtn.S: Likewise.
31330 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31332         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31333         definining bcopy.
31334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31335         Remove Prefer_SSE_for_memop.
31336         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31337         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31338         HAS_PREFER_SSE_FOR_MEMOP.
31339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31340         memset-x86-64.
31341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31342         Remove bzero, memset ifunc support.
31343         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31344         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31345         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31348 2013-03-11  Andreas Schwab  <schwab@suse.de>
31350         [BZ #15234]
31351         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31352         by SHLIB_COMPAT.
31353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31354         (GLIBC_2.16): Remove pthread_atfork.
31356 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31358         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31359         (ptestcases.h): Likewise.
31361 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31363         * Makeconfig ($(common-objpfx)config.status): Depend on
31364         sysdeps/*/preconfigure{,.in} too.
31366 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31368         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31369         (__free_hook): Use void * instead of __malloc_ptr_t.
31370         (__malloc_hook): Likewise.
31371         (__realloc_hook): Likewise.
31372         (__memalign_hook): Likewise.
31373         (__after_morecore_hook): Likewise.
31374         * malloc/arena.c (save_malloc_hook): Likewise.
31375         (save_free_hook): Likewise.
31376         * malloc/hooks.c (malloc_hook_ini): Likewise.
31377         (realloc_hook_ini): Likewise.
31378         (memalign_hook_ini): Likewise.
31379         * malloc/malloc.c (malloc_hook_ini): Likewise.
31380         (realloc_hook_ini): Likewise.
31381         (memalign_hook_ini): Likewise.
31382         (__free_hook): Likewise.
31383         (__malloc_hook): Likewise.
31384         (__realloc_hook): Likewise.
31385         (__memalign_hook): Likewise.
31386         (__libc_malloc): Likewise.
31387         (__libc_free): Likewise.
31388         (__libc_realloc): Likewise.
31389         (__libc_memalign): Likewise.
31390         (__libc_valloc): Likewise.
31391         (__libc_pvalloc): Likewise.
31392         (__libc_calloc): Likewise.
31393         (__posix_memalign): Likewise.
31394         * malloc/morecore.c (__sbrk): Likewise.
31395         (__default_morecore): Likewise.
31397         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31399         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31400         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31401         __malloc_ptrdiff_t.
31403         * malloc/malloc.h (__malloc_size_t): Remove macro.
31404         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31405         __malloc_size_t.
31406         (old_memalign_hook): Likewise.
31407         (old_realloc_hook): Likewise.
31408         (struct hdr): Likewise.
31409         (flood): Likewise.
31410         (mallochook): Likewise.
31411         (memalignhook): Likewise.
31412         (reallochook): Likewise.
31413         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31414         (tr_old_realloc_hook): Likewise.
31415         (tr_old_memalign_hook): Likewise.
31416         (tr_mallochook): Likewise.
31417         (tr_reallochook): Likewise.
31418         (tr_memalignhook): Likewise.
31420 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31423         default_ldbl_pack and using as default implementation.
31424         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31425         implementation.
31426         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31427         redundant definition.
31428         (ldbl_insert_mantissa): Likewise.
31429         (ldbl_canonicalize): Likewise.
31430         (ldbl_nearbyint): Likewise.
31431         (ldbl_pack): Rename to ldbl_pack_ppc.
31432         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31433         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31434         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31436 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31439         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31441         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31444         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31445         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31447 2013-03-07  Andreas Jaeger  <aj@suse.de>
31449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31450         bits/mman-linux.h.
31452 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31454         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31455         Include mpa.h and declare __MPEXP.
31456         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31457         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31458         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31459         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31460         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31461         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31462         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31464         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31465         (__slowpow): Use long double EXPL and LOGL functions to
31466         compute POW.
31467         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31468         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31469         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31470         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31471         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31472         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31475         intermediate variable to calculate exponent.
31476         (__sqr): Likewise.
31477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31478         Likewise.
31479         (__sqr): Likewise.
31481         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31482         [!NO__SQR]: Define __sqr.
31483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31484         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31485         sysdeps/ieee754/dbl-64/mpa.c.
31486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31488         [BZ #12723]
31489         * posix/Makefile (tests): Add tst-pathconf.
31490         * posix/tst-pathconf.c: New test case.
31491         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31492         _PC_PIPE_BUF.
31493         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31495 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31497         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31499 2013-03-06  Andreas Jaeger  <aj@suse.de>
31501         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31502         definition via __MAP_ANONYMOUS.
31504         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31505         it's not part of Linux headers.
31507         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31508         (MAP_HUGE_MASK): Define.
31510         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31511         Define.
31512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31514         Define.
31515         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31516         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31517         Define.
31518         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31520         Define.
31521         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31523         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31524         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31525         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31526         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31527         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31528         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31531         Handle f2fs.
31533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31534         Handle f2fs and efivarfs.
31536         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31537         f2fs.
31539         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31540         (EFIVARFS_MAGIC): Add.
31541         (F2FS_LINK_MAX): Add.
31543 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31545         * stdio-common/vfprintf.c: Replace __builtin_expect with
31546         __glibc_unlikely.
31548 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31550         [BZ #13550]
31551         * sysdeps/generic/bp-sym.h: Remove file.
31552         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31553         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31554         <bp-sym.h> and <bp-asm.h>.
31555         (__longjmp): Don't use BP_SYM.
31556         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31557         and <bp-asm.h>.
31558         (memcpy): Don't use BP_SYM.
31559         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31560         <bp-sym.h> and <bp-asm.h>.
31561         (memcpy): Don't use BP_SYM.
31562         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31563         <bp-asm.h>.
31564         (memcpy): Don't use BP_SYM.
31565         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31566         <bp-asm.h>.
31567         (memset): Don't use BP_SYM.
31568         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31569         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31570         (__bzero): Don't use BP_SYM.
31571         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31572         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31574         <bp-sym.h> and <bp-asm.h>.
31575         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31576         pointers.
31577         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31578         <bp-sym.h> and <bp-asm.h>.
31579         (memcpy): Don't use BP_SYM.
31580         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31581         <bp-sym.h> and <bp-asm.h>.
31582         (memset): Don't use BP_SYM.
31583         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31584         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31585         (__bzero): Don't use BP_SYM.
31586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31588         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31589         <bp-sym.h> and <bp-asm.h>.
31590         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31591         pointers.
31592         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31593         <bp-sym.h> and <bp-asm.h>.
31594         (memcpy): Don't use BP_SYM.
31595         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31596         <bp-sym.h> and <bp-asm.h>.
31597         (memset): Don't use BP_SYM.
31598         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31599         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31600         (__bzero): Don't use BP_SYM.
31601         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31602         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31604         <bp-sym.h> and <bp-asm.h>.
31605         (__memchr): Don't use BP_SYM.
31606         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31607         <bp-sym.h> and <bp-asm.h>.
31608         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31609         pointers.
31610         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31611         <bp-sym.h> and <bp-asm.h>.
31612         (memcpy): Don't use BP_SYM.
31613         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31614         <bp-sym.h> and <bp-asm.h>.
31615         (__mempcpy): Don't use BP_SYM.
31616         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31617         <bp-sym.h> and <bp-asm.h>.
31618         (__memrchr): Don't use BP_SYM.
31619         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31620         <bp-sym.h> and <bp-asm.h>.
31621         (memset): Don't use BP_SYM.
31622         (__bzero): Likewise.
31623         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31624         <bp-sym.h> and <bp-asm.h>.
31625         (__rawmemchr): Don't use BP_SYM.
31626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31627         <bp-sym.h> and <bp-asm.h>.
31628         (__STRCMP): Don't use BP_SYM.
31629         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31630         <bp-sym.h> and <bp-asm.h>.
31631         (strchr): Don't use BP_SYM.
31632         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31633         <bp-sym.h> and <bp-asm.h>.
31634         (__strchrnul): Don't use BP_SYM.
31635         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31636         <bp-sym.h> and <bp-asm.h>.
31637         (strlen): Don't use BP_SYM.
31638         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31639         <bp-sym.h> and <bp-asm.h>.
31640         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31641         pointers.
31642         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31643         <bp-sym.h> and <bp-asm.h>.
31644         (__strnlen): Don't use BP_SYM.
31645         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31646         <bp-sym.h> and <bp-asm.h>.
31647         (__GI__setjmp): Don't use BP_SYM.
31648         (_setjmp): Likewise.
31649         (__sigsetjmp): Likewise.
31650         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31651         (L(start_addresses)): Don't use BP_SYM.
31652         (_start): Likewise.
31653         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31654         <bp-asm.h>.
31655         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31656         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31657         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31658         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31659         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31660         <bp-asm.h>.
31661         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31662         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31663         about bounded pointers.
31664         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31665         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31666         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31667         <bp-asm.h>.
31668         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31669         about bounded pointers.  Remove GKM FIXME comments.
31670         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31671         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31672         <bp-asm.h>.
31673         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31674         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31675         Remove GKM FIXME comments.
31676         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31677         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31678         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31679         <bp-asm.h>.
31680         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31681         about bounded pointers.  Remove GKM FIXME comment.
31682         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31683         and <bp-asm.h>.
31684         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31685         pointers.
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31687         <bp-sym.h> and <bp-asm.h>.
31688         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31690         <bp-sym.h> and <bp-asm.h>.
31691         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31692         comment.
31694 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31696         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31697         call free(NULL).
31699 2013-03-05  David S. Miller  <davem@davemloft.net>
31701         * po/es.po: Update from translation team.
31703 2013-03-05  Andreas Jaeger  <aj@suse.de>
31705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31706         <bits/mman-linux.h>.
31707         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31708         is fine.
31709         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31710         <bits/mman-linux.h> to end of file.
31711         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31712         is fine.
31713         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31714         <bits/mman-linux.h> to end of file.
31715         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31716         is fine.
31717         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31718         <bits/mman-linux.h> to end of file.
31720         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31721         (MCL_CURRENT, MCL_FUTURE): Define here.
31723 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31725         [BZ #15232]
31726         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31727         attribute_hidden.
31728         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31730 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31732         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31733         fourth parameter needed for rt_sigprocmask syscall.
31734         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31735         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31736         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31737         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31738         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31739         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31741 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31743         [BZ #13550]
31744         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31745         comment about bounded pointers.
31746         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31747         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31749 2013-03-04  Andreas Jaeger  <aj@suse.de>
31751         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31752         common definitions.
31754         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31755         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31756         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31757         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31758         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31759         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31761 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31763         [BZ #15055]
31764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31765         __ieee754_sqrl instead of __sqrl.
31767 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31769         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31770         * sysdeps/powerpc/fpu_control.h: ... here.
31771         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31772         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31773         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31774         * sysdeps/powerpc/bits/mathinline.h: ... here.
31776 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31778         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31779         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31780         to just [NEED_DL_SYSINFO_DSO].
31781         * elf/dl-support.c: Likewise.
31782         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31783         * elf/rtld.c (dl_main): Likewise.
31784         * elf/setup-vdso.h (setup_vdso): Likewise.
31785         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31786         * sysdeps/unix/sysv/linux/dl-sysdep.c
31787         (_dl_discover_osversion): Likewise.
31789 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31791         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31792         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31794 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31796         * NEWS: Mention libm performance improvements and non-x86 PI
31797         futex support.
31799         * csu/libc-start.c (__pthread_initialize_minimal): Change
31800         function arguments.
31801         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31803 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31805         [BZ #13550]
31806         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31807         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31808         <bp-sym.h> and <bp-asm.h>.
31809         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31810         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31811         and <bp-asm.h>.
31812         (memcpy): Don't use BP_SYM.
31813         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31814         <bp-asm.h>.
31815         (__mpn_add_n): Don't use BP_SYM.
31816         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31817         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31818         and <bp-asm.h>.
31819         (__mpn_addmul_1): Don't use BP_SYM.
31820         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31821         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31822         <bp-sym.h>.
31823         (_setjmp): Don't use BP_SYM.
31824         (__novmx_setjmp): Likewise.
31825         (__GI__setjmp): Likewise.
31826         (__vmx_setjmp): Likewise.
31827         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31828         <bp-sym.h>.
31829         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31830         (__bzero): Don't use BP_SYM.
31831         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31832         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31833         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31834         <bp-sym.h> and <bp-asm.h>.
31835         (memcpy): Don't use BP_SYM.
31836         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31837         <bp-sym.h> and <bp-asm.h>.
31838         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31840         <bp-sym.h> and <bp-asm.h>.
31841         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31842         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31843         <bp-asm.h>.
31844         (__mpn_lshift): Don't use BP_SYM.
31845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31846         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31847         <bp-asm.h>.
31848         (memset): Don't use BP_SYM.
31849         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31850         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31851         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31852         <bp-asm.h>.
31853         (__mpn_mul_1): Don't use BP_SYM.
31854         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31856         <bp-sym.h> and <bp-asm.h>.
31857         (memcmp): Don't use BP_SYM.
31858         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31859         <bp-sym.h> and <bp-asm.h>.
31860         (memcpy): Don't use BP_SYM.
31861         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31862         <bp-sym.h> and <bp-asm.h>.
31863         (memset): Don't use BP_SYM.
31864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31865         <bp-sym.h> and <bp-asm.h>.
31866         (strncmp): Don't use BP_SYM.
31867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31868         <bp-sym.h> and <bp-asm.h>.
31869         (memcpy): Don't use BP_SYM.
31870         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31871         <bp-sym.h> and <bp-asm.h>.
31872         (memset): Don't use BP_SYM.
31873         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31874         <bp-sym.h> and <bp-asm.h>.
31875         (__memchr): Don't use BP_SYM.
31876         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31877         <bp-sym.h> and <bp-asm.h>.
31878         (memcmp): Don't use BP_SYM.
31879         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31880         <bp-sym.h> and <bp-asm.h>.
31881         (memcpy): Don't use BP_SYM.
31882         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31883         <bp-sym.h> and <bp-asm.h>.
31884         (__mempcpy): Don't use BP_SYM.
31885         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31886         <bp-sym.h> and <bp-asm.h>.
31887         (__memrchr): Don't use BP_SYM.
31888         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31889         <bp-sym.h> and <bp-asm.h>.
31890         (memset): Don't use BP_SYM.
31891         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31892         <bp-sym.h> and <bp-asm.h>.
31893         (__rawmemchr): Don't use BP_SYM.
31894         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31895         <bp-sym.h> and <bp-asm.h>.
31896         (__STRCMP): Don't use BP_SYM.
31897         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31898         <bp-sym.h> and <bp-asm.h>.
31899         (strchr): Don't use BP_SYM.
31900         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31901         <bp-sym.h> and <bp-asm.h>.
31902         (__strchrnul): Don't use BP_SYM.
31903         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31904         <bp-sym.h> and <bp-asm.h>.
31905         (strlen): Don't use BP_SYM.
31906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31907         <bp-sym.h> and <bp-asm.h>.
31908         (strncmp): Don't use BP_SYM.
31909         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31910         <bp-sym.h> and <bp-asm.h>.
31911         (__strnlen): Don't use BP_SYM.
31912         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31913         <bp-asm.h>.
31914         (__mpn_rshift): Don't use BP_SYM.
31915         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31916         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31917         <bp-sym.h> and <bp-asm.h>.
31918         (__sigsetjmp): Don't use BP_SYM.
31919         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31920         (L(start_addresses)): Don't use BP_SYM.
31921         (_start): Likewise.
31922         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31923         <bp-asm.h>.
31924         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31925         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31926         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31927         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31928         <bp-asm.h>.
31929         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31930         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31931         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31932         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31933         <bp-asm.h>.
31934         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31935         comments.
31936         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31937         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31938         <bp-asm.h>.
31939         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31940         FIXME comments.
31941         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31942         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31943         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31944         <bp-asm.h>.
31945         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31946         comment.
31947         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31948         and <bp-asm.h>.
31949         (strncmp): Don't use BP_SYM,
31950         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31951         <bp-asm.h>.
31952         (__mpn_sub_n): Don't use BP_SYM.
31953         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31954         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31955         and <bp-asm.h>.
31956         (__mpn_submul_1): Don't use BP_SYM.
31957         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31959         <bp-sym.h> and <bp-asm.h>.
31960         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31962         <bp-sym.h> and <bp-asm.h>.
31963         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31964         comment.
31966 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31969         Use ZK to minimize writes to Z.
31970         (sub_magnitudes): Simplify code a bit.
31971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31972         Use ZK to minimize writes to Z.
31973         (sub_magnitudes): Simplify code a bit.
31975 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31977         * csu/gmon-start.c: Add special exception to license text.
31979 2013-02-27  Richard Henderson  <rth@redhat.com>
31981         * scripts/config.guess: Update from config.git.
31982         * scripts/config.sub: Likewise.
31984 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31986         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31988         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31990         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31992         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31994         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31996 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31998         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31999         [$(build-shared = yes].
32001 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32003         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32004         (__mul): Reduce iterations for calculating mantissa.
32006         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32007         MPTWO.
32008         (__mpranred): Likewise.
32010         [BZ #15160]
32011         * malloc/memusagestat.c (main): Draw graphs for heap and stack
32012         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32014 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
32016         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32017         Define __attribute__.
32019 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32021         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32022         unused.
32023         * posix/regex_internal.h (__attribute): Remove.
32024         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32025         (re_string_context_at): Likewise.
32026         (bitset_not): Use __attribute__ and mark function as possibly
32027         unused.
32028         (bitset_merge): Likewise.
32029         (bitset_mask): Likewise.
32030         (re_string_char_size_at): Likewise.
32031         (re_string_wchar_at): Likewise.
32032         (re_string_elem_size_at): Likewise.
32034 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32036         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32037         code.
32038         (cc32): Likewise.
32040         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32041         (__acr): Likewise.
32042         (__cpy): Likewise.
32043         (norm): Likewise.
32044         (denorm): Likewise.
32045         (__dbl_mp): Likewise.
32046         (add_magnitudes): Likewise.
32047         (sub_magnitudes): Likewise.
32048         (__mul): Likewise.
32049         (__inv): Likewise.
32051         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32052         style.
32054         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32055         style.
32057         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32058         code.
32060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32061         up changes with default code.
32062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32063         Likewise.
32065 2013-02-24  Allan McRae  <allan@archlinux.org>
32067         * manual/socket.texi (The Internet Namespace): Order menu items
32068         to match that in the file.
32070         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32071         node listing of the info page menu.
32073 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
32075         [BZ #13550]
32076         * sysdeps/i386/bp-asm.h: Remove file.
32077         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32078         (PARMS): Do not use macros from bp-asm.h.
32079         (S1): Likewise.
32080         (S2): Likewise.
32081         (SIZE): Likewise.
32082         (__mpn_add_n): Do not use BP_SYM
32083         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32084         "bp-asm.h".
32085         (PARMS): Do not use macros from bp-asm.h.
32086         (S1): Likewise.
32087         (SIZE): Likewise.
32088         (__mpn_addmul_1): Do not use BP_SYM
32089         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32090         "bp-asm.h".
32091         (PARMS): Do not use macros from bp-asm.h.
32092         (SIGMSK): Likewise.
32093         (_setjmp): Likewise.  Do not use BP_SYM.
32094         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32095         "bp-asm.h".
32096         (PARMS): Do not use macros from bp-asm.h.
32097         (SIGMSK): Likewise.
32098         (setjmp): Likewise.  Do not use BP_SYM.
32099         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32100         "bp-asm.h".
32101         (PARMS): Do not use macros from bp-asm.h.
32102         (__frexp): Do not use BP_SYM.
32103         (frexp): Likewise.
32104         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32105         "bp-asm.h".
32106         (PARMS): Do not use macros from bp-asm.h.
32107         (__frexpf): Do not use BP_SYM.
32108         (frexpf): Likewise.
32109         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32110         "bp-asm.h".
32111         (PARMS): Do not use macros from bp-asm.h.
32112         (__frexpl): Do not use BP_SYM.
32113         (frexpl): Likewise.
32114         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32115         "bp-asm.h".
32116         (PARMS): Do not use macros from bp-asm.h.
32117         (__remquo): Do not use BP_SYM.
32118         (remquo): Likewise.
32119         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32120         "bp-asm.h".
32121         (PARMS): Do not use macros from bp-asm.h.
32122         (__remquof): Do not use BP_SYM.
32123         (remquof): Likewise.
32124         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32125         "bp-asm.h".
32126         (PARMS): Do not use macros from bp-asm.h.
32127         (__remquol): Do not use BP_SYM.
32128         (remquol): Likewise.
32129         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32130         "bp-asm.h".
32131         (PARMS): Do not use macros from bp-asm.h.
32132         (DEST): Likewise.
32133         (SRC): Likewise.
32134         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
32135         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32136         "bp-asm.h".
32137         (PARMS): Do not use macros from bp-asm.h.
32138         (strlen): Do not use BP_SYM.
32139         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32140         "bp-asm.h".
32141         (PARMS): Do not use macros from bp-asm.h.
32142         (S1): Likewise.
32143         (S2): Likewise.
32144         (SIZE): Likewise.
32145         (__mpn_add_n): Do not use BP_SYM.
32146         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32147         "bp-asm.h".
32148         (PARMS): Do not use macros from bp-asm.h.
32149         (S1): Likewise.
32150         (SIZE): Likewise.
32151         (__mpn_addmul_1): Do not use BP_SYM.
32152         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32153         weak_alias.
32154         (bzero): Likewise.
32155         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32156         "bp-asm.h".
32157         (PARMS): Do not use macros from bp-asm.h.
32158         (S): Likewise.
32159         (SIZE): Likewise.
32160         (__mpn_lshift): Do not use BP_SYM.
32161         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32162         "bp-asm.h".
32163         (PARMS): Do not use macros from bp-asm.h.
32164         (DEST): Likewise.
32165         (SRC): Likewise.
32166         (LEN): Likewise.
32167         (memcpy): Likewise.  Do not use BP_SYM.
32168         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32169         libc_hidden_def and weak_alias.
32170         (mempcpy): Do not use BP_SYM in weak_alias.
32171         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32172         "bp-asm.h".
32173         (PARMS): Do not use macros from bp-asm.h.
32174         (DEST): Likewise.
32175         (LEN): Likewise.
32176         [!BZERO_P] (CHR): Likewise.
32177         (memset): Likewise.  Do not use BP_SYM.
32178         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32179         "bp-asm.h".
32180         (PARMS): Do not use macros from bp-asm.h.
32181         (S1): Likewise.
32182         (SIZE): Likewise.
32183         (__mpn_mul_1): Do not use BP_SYM.
32184         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32185         "bp-asm.h".
32186         (PARMS): Do not use macros from bp-asm.h.
32187         (S): Likewise.
32188         (SIZE): Likewise.
32189         (__mpn_rshift): Do not use BP_SYM.
32190         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32191         "bp-asm.h".
32192         (PARMS): Do not use macros from bp-asm.h.
32193         (STR): Likewise.
32194         (CHR): Likewise.
32195         (strchr): Likewise.  Do not use BP_SYM.
32196         (index): Do not use BP_SYM in weak_alias.
32197         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32198         "bp-asm.h".
32199         (PARMS): Do not use macros from bp-asm.h.
32200         (DEST): Likewise.
32201         (SRC): Likewise.
32202         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32203         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32204         "bp-asm.h".
32205         (PARMS): Do not use macros from bp-asm.h.
32206         (strlen): Do not use BP_SYM.
32207         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32208         "bp-asm.h".
32209         (PARMS): Do not use macros from bp-asm.h.
32210         (S1): Likewise.
32211         (S2): Likewise.
32212         (SIZE): Likewise.
32213         (__mpn_sub_n): Do not use BP_SYM.
32214         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32215         "bp-asm.h".
32216         (PARMS): Do not use macros from bp-asm.h.
32217         (S1): Likewise.
32218         (SIZE): Likewise.
32219         (__mpn_submul_1): Do not use BP_SYM.
32220         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32221         "bp-asm.h".
32222         (PARMS): Do not use macros from bp-asm.h.
32223         (S1): Likewise.
32224         (S2): Likewise.
32225         (SIZE): Likewise.
32226         (__mpn_add_n): Do not use BP_SYM.
32227         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32228         weak_alias.
32229         (bzero): Likewise.
32230         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32231         "bp-asm.h".
32232         (PARMS): Do not use macros from bp-asm.h.
32233         (BLK2): Likewise.
32234         (LEN): Likewise.
32235         (memcmp): Do not use BP_SYM.
32236         (bcmp): Do not use BP_SYM in weak_alias.
32237         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32238         "bp-asm.h".
32239         (PARMS): Do not use macros from bp-asm.h.
32240         (DEST): Likewise.
32241         (SRC): Likewise.
32242         (LEN): Likewise.
32243         (memcpy): Likewise.  Do not use BP_SYM.
32244         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32245         "bp-asm.h".
32246         (PARMS): Do not use macros from bp-asm.h.
32247         (DEST): Likewise.
32248         (SRC): Likewise.
32249         (LEN): Likewise.
32250         (memmove): Likewise.  Do not use BP_SYM.
32251         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32252         "bp-asm.h".
32253         (PARMS): Do not use macros from bp-asm.h.
32254         (DEST): Likewise.
32255         (SRC): Likewise.
32256         (LEN): Likewise.
32257         (__mempcpy): Likewise.  Do not use BP_SYM.
32258         (mempcpy): Do not use BP_SYM in weak_alias.
32259         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32260         "bp-asm.h".
32261         (PARMS): Do not use macros from bp-asm.h.
32262         (DEST): Likewise.
32263         (LEN): Likewise.
32264         [!BZERO_P] (CHR): Likewise.
32265         (memset): Likewise.  Do not use BP_SYM.
32266         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32267         "bp-asm.h".
32268         (PARMS): Do not use macros from bp-asm.h.
32269         (STR2): Likewise.
32270         (strcmp): Do not use BP_SYM.
32271         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32272         "bp-asm.h".
32273         (PARMS): Do not use macros from bp-asm.h.
32274         (STR): Likewise.
32275         (DELIM): Likewise.
32276         [USE_AS_STRTOK_R] (SAVE): Likewise.
32277         (FUNCTION): Likewise.  Do not use BP_SYM.
32278         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32279         aliases.
32280         (strtok_r): Likewise.
32281         (__GI___strtok_r): Likewise.
32282         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32283         (PARMS): Do not use macros from bp-asm.h.
32284         (S): Likewise.
32285         (SIZE): Likewise.
32286         (__mpn_lshift): Do not use BP_SYM.
32287         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32288         (PARMS): Do not use macros from bp-asm.h.
32289         (STR): Likewise.
32290         (CHR): Likewise.
32291         (__memchr): Do not use BP_SYM.
32292         (memchr): Do not use BP_SYM in weak_alias.
32293         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32294         (PARMS): Do not use macros from bp-asm.h.
32295         (BLK2): Likewise.
32296         (LEN): Likewise.
32297         (memcmp): Do not use BP_SYM.
32298         (bcmp): Do not use BP_SYM in weak_alias.
32299         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32300         (PARMS): Do not use macros from bp-asm.h.
32301         (S1): Likewise.
32302         (SIZE): Likewise.
32303         (__mpn_mul_1): Do not use BP_SYM.
32304         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32305         "bp-asm.h".
32306         (PARMS): Do not use macros from bp-asm.h.
32307         (STR): Likewise.
32308         (CHR): Likewise.
32309         (__rawmemchr): Do not use BP_SYM.
32310         (rawmemchr): Do not use BP_SYM in weak_alias.
32311         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32312         (PARMS): Do not use macros from bp-asm.h.
32313         (S): Likewise.
32314         (SIZE): Likewise.
32315         (__mpn_rshift): Do not use BP_SYM.
32316         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32317         (PARMS): Do not use macros from bp-asm.h.
32318         (SIGMSK): Likewise.
32319         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32320         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32321         (_start): Do not use BP_SYM.
32322         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32323         (PARMS): Do not use macros from bp-asm.h.
32324         (DEST): Likewise.
32325         (SRC): Likewise.
32326         (__stpcpy): Likewise.  Do not use BP_SYM.
32327         (stpcpy): Do not use BP_SYM in weak_alias.
32328         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32329         "bp-asm.h".
32330         (PARMS): Do not use macros from bp-asm.h.
32331         (DEST): Likewise.
32332         (SRC): Likewise.
32333         (LEN): Likewise.
32334         (__stpncpy): Likewise.  Do not use BP_SYM.
32335         (stpncpy): Do not use BP_SYM in weak_alias.
32336         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32337         (PARMS): Do not use macros from bp-asm.h.
32338         (STR): Likewise.
32339         (CHR): Likewise.
32340         (strchr): Likewise.  Do not use BP_SYM.
32341         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32342         "bp-asm.h".
32343         (PARMS): Do not use macros from bp-asm.h.
32344         (STR): Likewise.
32345         (CHR): Likewise.
32346         (__strchrnul): Likewise.  Do not use BP_SYM.
32347         (strchrnul): Do not use BP_SYM in weak_alias.
32348         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32349         "bp-asm.h".
32350         (PARMS): Do not use macros from bp-asm.h.
32351         (STOP): Likewise.
32352         (strcspn): Do not use BP_SYM.
32353         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32354         "bp-asm.h".
32355         (PARMS): Do not use macros from bp-asm.h.
32356         (STR): Likewise.
32357         (STOP): Likewise.
32358         (strpbrk): Likewise.  Do not use BP_SYM.
32359         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32360         "bp-asm.h".
32361         (PARMS): Do not use macros from bp-asm.h.
32362         (STR): Likewise.
32363         (CHR): Likewise.
32364         (strrchr): Likewise.  Do not use BP_SYM.
32365         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32366         (PARMS): Do not use macros from bp-asm.h.
32367         (SKIP): Likewise.
32368         (strspn): Do not use BP_SYM.
32369         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32370         (PARMS): Do not use macros from bp-asm.h.
32371         (STR): Likewise.
32372         (DELIM): Likewise.
32373         (SAVE): Likewise.
32374         (FUNCTION): Likewise.  Do not use BP_SYM.
32375         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32376         aliases.
32377         (strtok_r): Likewise.
32378         (__GI___strtok_r): Likewise.
32379         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32380         (PARMS): Do not use macros from bp-asm.h.
32381         (S1): Likewise.
32382         (S2): Likewise.
32383         (SIZE): Likewise.
32384         (__mpn_sub_n): Do not use BP_SYM.
32385         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32386         "bp-asm.h".
32387         (PARMS): Do not use macros from bp-asm.h.
32388         (S1): Likewise.
32389         (SIZE): Likewise.
32390         (__mpn_submul_1): Do not use BP_SYM.
32391         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32392         <bp-sym.h>.
32393         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32394         and <bp-asm.h>.
32395         (PARMS): Do not use macros from bp-asm.h.
32396         (FLAGS): Likewise.
32397         (PTID): Likewise.
32398         (TLS): Likewise.
32399         (CTID): Likewise.
32400         (__clone): Do not use BP_SYM.
32401         (clone): Do not use BP_SYM in weak_alias.
32402         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32403         and <bp-asm.h>.
32404         (PARMS): Do not use macros from bp-asm.h.
32405         (LEN): Likewise.
32406         (__mmap64): Do not use BP_SYM.
32407         (mmap64): Do not use BP_SYM in weak_alias.
32408         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32409         <bp-sym.h> and <bp-asm.h>.
32410         (PARMS): Do not use macros from bp-asm.h.
32411         (__posix_fadvise64_l64): Do not use BP_SYM.
32412         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32413         (PARMS): Do not use macros from bp-asm.h.
32414         (NSOPS): Likewise.
32415         (semtimedop): Do not use BP_SYM.
32416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32417         and <bp-asm.h>.
32419 2013-02-21  Allan McRae  <allan@archlinux.org>
32421         * manual/message.texi (Charset conversion in gettext):
32422         Move @end statement to beginning of line.
32424 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32427         static.
32428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32429         Likewise.
32431         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32432         (denorm): Likewise.
32433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32436 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32438         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32439         tail-call to the resolved function if pltexit isn't needed.
32441 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32444         or Y being zero as being unlikely.
32445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32446         Likewise.
32448 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32450         * manual/nss.texi (System Databases and Name Service Switch):
32451         Remove frobnicate @pxref.
32453 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32455         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32456         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32458 2013-02-20  Petr Machata  <pmachata@redhat.com>
32460         * elf/elf.h (R_ARM_TARGET1): New macro.
32461         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32462         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32463         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32464         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32465         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32466         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32467         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32468         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32469         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32470         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32471         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32472         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32473         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32474         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32475         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32476         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32477         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32478         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32479         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32480         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32481         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32482         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32483         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32484         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32485         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32486         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32487         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32488         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32489         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32490         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32491         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32492         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32493         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32494         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32495         (R_ARM_THM_GOT_BREL12): Likewise.
32496         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32497         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32498         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32499         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32500         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32501         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32502         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32503         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32504         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32506 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32508         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32509         __attribute_used__ to __attribute__ ((unused)).
32511 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32513         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32514         powerpc mpa.c.
32515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32516         comment formatting.
32517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32519 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32521         [BZ #13550]
32522         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32523         Remove macro.
32524         (ENTER): Remove both macro definitions.
32525         (LEAVE): Likewise.
32526         (CHECK_BOUNDS_LOW): Likewise.
32527         (CHECK_BOUNDS_HIGH): Likewise.
32528         (CHECK_BOUNDS_BOTH): Likewise.
32529         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32530         (RETURN_BOUNDED_POINTER): Likewise.
32531         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32532         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32533         (POP_ERRNO_LOCATION_RETURN): Likewise.
32534         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32535         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32536         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32537         macros.
32538         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32539         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32540         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32541         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32542         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32543         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32544         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32545         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32546         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32547         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32548         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32549         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32551         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32552         removed macros.
32553         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32554         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32555         macros.
32556         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32557         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32558         * sysdeps/i386/i586/memset.S (memset): Likewise.
32559         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32560         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32561         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32562         macros.
32563         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32564         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32565         Change uses of L(2) to L(out).
32566         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32567         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32568         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32569         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32570         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32571         removed macros.
32572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32573         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32574         macros.
32575         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32576         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32577         (RETURN): Do not use macro LEAVE.
32578         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32579         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32580         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32581         * sysdeps/i386/i686/memset.S (memset): Likewise.
32582         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32583         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32584         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32585         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32586         Likewise.
32587         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32588         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32589         L(1_2) and L(1_3) into L(1).
32590         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32591         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32592         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32593         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32594         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32595         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32596         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32598         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32599         macros.
32600         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32601         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32602         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32603         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32604         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32605         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32606         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32607         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32608         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32609         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32610         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32611         * sysdeps/i386/strspn.S (strspn): Likewise.
32612         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32613         conditional code.
32614         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32615         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32616         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32617         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32618         L(1_3) into L(1_1).
32619         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32620         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32621         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32622         macros.
32623         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32625 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32627         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32628         macro.
32630 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32632         * math/atest-exp.c (exp_mpn): Remove ROUND.
32633         * math/atest-exp2.c (exp_mpn): Likewise.
32634         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32636         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32637         * stdlib/tst-tls-atexit-lib.c: Likewise.
32638         * stdlib/tst-tls-atexit.c: Likewise.
32640 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32642         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32643         and __attribute_alloc_size__.
32645 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32647         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32648         __attribute_alloc_size__.
32649         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32650         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32654         * include/programs/xmalloc.h: New file.
32655         * catgets/gencat.c: Include it.
32656         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32657         * elf/pldd.c: Likewise.
32658         * iconv/iconv_charmap.c: Likewise.
32659         * iconv/iconvconfig.c: Likewise.
32660         * iconv/strtab.c: Likewise.
32661         * locale/programs/locale.c: Likewise.
32662         * locale/programs/localedef.h: Likewise.
32663         * locale/programs/simple-hash.c: Likewise.
32664         * nscd/nscd.h: Likewise.
32665         * nss/makedb.c: Likewise.
32666         * sysdeps/generic/ldconfig.h: Likewise.
32668 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32670         * Versions.def: Add GLIBC_2.18.
32671         * include/link.h (struct link_map): New member l_tls_dtor_count.
32672         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32673         (__call_tls_dtors): Likewise.
32674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32675         __cxa_thread_atexit_impl.
32676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32677         Likewise.
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32679         Likewise.
32680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32681         Likewise.
32682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32683         Likewise.
32684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32686         Likewise.
32687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32688         Likewise.
32689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32691         Likewise.
32692         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32693         (tests): Add test case tst-tls-atexit.
32694         (modules-names): Add shared library for tst-tls-atexit.
32695         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32696         (GLIBC_PRIVATE): Add __call_tls_dtors.
32697         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32698         for libstdc++.
32699         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32700         * stdlib/tst-tls-atexit.c: New test case.
32701         * stdlib/tst-tls-atexit-lib.c: New test case.
32703         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32705         * elf/Versions (ld): Add _dl_find_dso_for_object.
32706         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32707         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32708         (dl_open_worker): Use _dl_find_dso_for_object.
32709         * elf/dl-sym.c (do_sym): Likewise.
32710         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32712 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32714         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32715         Syntactic changes only.
32716         (_dl_runtime_profile): Do a tail-call to the resolved function.
32718 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32720         [BZ #13550]
32721         * sysdeps/x86_64/bp-asm.h: Remove file.
32722         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32723         <bp-sym.h> and <bp-asm.h>.
32724         (__clone): Do not use BP_SYM.
32725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32726         <bp-sym.h> and <bp-asm.h>.
32727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32728         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32729         "bp-asm.h".
32730         (_setjmp): Do not use BP_SYM.
32731         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32732         "bp-asm.h".
32733         (setjmp): Do not use BP_SYM.
32734         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32735         libc_hidden_def.
32736         (mempcpy): Do not use BP_SYM in weak_alias.
32737         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32738         "bp-asm.h".
32739         (strchr): Do not use BP_SYM.
32740         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32741         "bp-asm.h".
32742         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32743         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32744         (_start): Do not use BP_SYM.
32745         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32746         "bp-asm.h".
32747         (strcat): Do not use BP_SYM.
32748         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32749         "bp-asm.h".
32750         (STRCMP): Do not use BP_SYM.
32751         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32752         "bp-asm.h".
32753         (STRCPY): Do not use BP_SYM.
32754         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32755         "bp-asm.h".
32756         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32757         "bp-asm.h".
32758         (FUNCTION): Do not use BP_SYM.
32759         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32760         weak_alias.
32761         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32763 2013-02-17  Andreas Jaeger  <aj@suse.de>
32765         * time/Versions: Sort entries.
32766         * string/Versions: Likewise.
32767         * resolv/Versions: Likewise.
32768         * posix/Versions: Likewise.
32769         * iconv/Versions: Likewise.
32770         * elf/Versions: Likewise.
32771         * wcsmbs/Versions: Likewise.
32773 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32775         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32776         loop termination condition.
32778         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32779         variable to calculate EZ.
32780         (__sqr): Likewise.
32782         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32783         the lower precision input.
32785 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32787         [BZ #13550]
32788         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32789         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32790         (run-via-rtld-prefix): Do not handle %-bp tests.
32791         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32792         (all-object-suffixes): Remove .ob.
32793         (bppfx): Remove variable.
32794         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32795         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32796         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32797         [$(build-bounded) = yes] (libtype.ob): Likewise.
32798         * Makerules (elide-routines.ob): Remove variable.
32799         (do-tests-clean): Do not handle *-bp.out.
32800         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32801         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32802         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32803         (tests): Do not include $(tests-bp.out).
32804         (xtests): Do not include $(xtests-bp.out).
32805         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32806         [$(build-bounded) = yes] ($(addprefix
32807         $(objpfx),$(binaries-bounded))): Remove rule.
32808         ($(objpfx)%-bp.out): Remove rule.
32809         * config.make.in (build-bounded): Remove variable.
32810         * crypt/Makefile [$(build-bounded) = yes]
32811         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32812         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32813         append to variable.
32814         [$(build-bounded) = yes] (install-lib): Likewise.
32815         [$(build-bounded) = yes] (generated): Likewise.
32816         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32817         Remove rule.
32818         * intl/Makefile [$(build-bounded) = yes]
32819         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32820         * math/Makefile [$(build-bounded) = yes]
32821         ($(tests:%=$(objpfx)%-bp): Likewise.
32822         * misc/Makefile [$(build-bounded) = yes]
32823         ($(objpfx)tst-tsearch-bp): Likewise.
32824         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32825         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32826         Remove dependency.
32827         * string/Makefile (o-objects.ob): Remove variable.
32828         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32829         (CFLAGS-.ob): Remove variable.
32830         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32831         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32832         both definitions of variable.
32833         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32834         (ASFLAGS-.ob): Remove variable.
32836 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32838         [BZ #13550]
32839         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32840         Remove __BOUNDED_POINTERS__ from condition.
32841         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32842         * string/bits/string2.h [!__NO_STRING_INLINES &&
32843         !__BOUNDED_POINTERS__]: Likewise.
32844         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32845         Likewise.
32846         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32847         Remove conditional code.
32848         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32849         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32850         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32851         condition.
32853         [BZ #13550]
32854         * csu/libc-start.c: Do not include <bp-sym.h>.
32855         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32856         * elf/dl-open.c: Do not include <bp-sym.h>.
32857         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32858         * math/fegetenv.c: Do not include <bp-sym.h>.
32859         (fegetenv): Do not use BP_SYM in versioned symbols.
32860         * nptl/sysdeps/pthread/bits/libc-lockP.h
32861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32862         <bp-sym.h>.
32863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32864         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32866         (__pthread_mutex_destroy): Likewise.
32867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32868         (__pthread_mutex_lock): Likewise.
32869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32870         (__pthread_mutex_trylock): Likewise.
32871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32872         (__pthread_mutex_unlock): Likewise.
32873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32874         (__pthread_mutexattr_init): Likewise.
32875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32876         (__pthread_mutexattr_destroy): Likewise.
32877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32878         (__pthread_mutexattr_settype): Likewise.
32879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32880         (__pthread_rwlock_init): Likewise.
32881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32882         (__pthread_rwlock_destroy): Likewise.
32883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32884         (__pthread_rwlock_rdlock): Likewise.
32885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32886         (__pthread_rwlock_tryrdlock): Likewise.
32887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32888         (__pthread_rwlock_wrlock): Likewise.
32889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32890         (__pthread_rwlock_trywrlock): Likewise.
32891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32892         (__pthread_rwlock_unlock): Likewise.
32893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32894         (__pthread_key_create): Likewise.
32895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32896         (__pthread_setspecific): Likewise.
32897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32898         (__pthread_getspecific): Likewise.
32899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32900         Likewise.
32901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32902         (_pthread_cleanup_push_defer): Likewise.
32903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32904         (_pthread_cleanup_pop_restore): Likewise.
32905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32906         (pthread_setcancelstate): Likewise.
32907         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32908         <bp-sym.h>.
32909         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32910         (memchr): Do not use BP_SYM in weak_alias.
32911         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32912         (fegetenv): Do not use BP_SYM in versioned symbols.
32913         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32914         (fesetenv): Do not use BP_SYM in versioned symbols.
32915         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32916         (feupdateenv): Do not use BP_SYM in versioned symbols.
32917         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32918         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32919         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32920         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32921         (open64): Do not use BP_SYM in weak_alias.
32922         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32923         (fegetenv): Do not use BP_SYM in versioned symbols.
32924         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32925         (fesetenv): Do not use BP_SYM in versioned symbols.
32926         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32927         (feupdateenv): Do not use BP_SYM in versioned symbols.
32928         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32929         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32930         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32931         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32932         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32933         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32934         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32935         <bp-sym.h>.
32936         (__libc_start_main): Do not use BP_SYM.
32938 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32941         redundant return line.
32942         (norm): Likewise.
32943         (denorm): Likewise.
32944         (dbl_mp): Likewise.
32945         (sub_magnitudes): Likewise.
32946         (__add): Likewise.
32947         (__sub): Likewise.
32948         (__mul): Likewise.
32949         (__inv): Likewise.
32950         (__dvd): Likewise.
32951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32952         (norm): Likewise.
32953         (denorm): Likewise.
32954         (dbl_mp): Likewise.
32955         (sub_magnitudes): Likewise.
32956         (__add): Likewise.
32957         (__sub): Likewise.
32958         (__mul): Likewise.
32959         (__inv): Likewise.
32960         (__dvd): Likewise.
32962         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32963         instead of __mul.
32964         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32965         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32966         (cc32): Likewise.
32968         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32969         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32971         of __mul for squares.
32972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32973         function
32974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32975         Likewise.
32976         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32977         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32979 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32981         [BZ #13550]
32982         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32983         code.
32984         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32985         prototype or function definition.  Rename ubp_* variables and
32986         parameters.  Remove argv definitions conditional on
32987         [__BOUNDED_POINTERS__].
32988         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32989         * elf/dl-runtime.c (_dl_fixup): Likewise.
32990         * include/set-hooks.h (RUN_HOOK): Likewise.
32991         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32992         definition.
32993         * string/strcpy.c (strcpy): Do not use __unbounded.
32994         * sysdeps/generic/frame.h (struct layout): Likewise.
32995         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32996         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32997         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32998         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32999         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33000         (__backtrace): Likewise.
33001         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33002         use __ptrvalue.
33003         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33004         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33005         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33006         Likewise.
33007         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33008         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33009         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33010         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33011         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33012         Do not use __unbounded.
33013         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33014         Rename __unboundedrlimits parameter to rlimits in prototype.
33015         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33016         Do not use __unbounded.
33017         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33018         not use __ptrvalue.
33019         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33020         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33021         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33022         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33023         __ptrvalue or __unbounded.
33024         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33025         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33026         use __unbounded.
33027         (__new_msgctl): Do not use __ptrvalue.
33028         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33029         __unbounded.
33030         (__libc_msgrcv): Do not use __ptrvalue.
33031         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33032         startup_info): Do not use __unbounded.
33033         (__libc_start_main): Likewise.  Rename ubp_* variables and
33034         parameters.  Remove argv definitions conditional on
33035         [__BOUNDED_POINTERS__].
33036         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33037         __ptrvalue.
33038         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33039         use __unbounded.
33040         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33041         or __ptrvalue.
33042         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33043         use __unbounded.
33044         (__new_shmctl): Do not use __ptrvalue.
33045         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33046         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33047         Likewise.
33048         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33049         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33050         (__libc_sigaction): Likewise.
33051         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33052         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33053         Likewise.
33054         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33056 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
33058         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33060         * string/mempcpy.c: Implement by calling memcpy.
33062 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33067         evaluation.
33069         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33070         values in the mantissa.
33072         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33073         minimize writes to Z.
33074         (sub_magnitudes): Simplify code a bit.
33076 2013-02-12  Roland McGrath  <roland@hack.frob.com>
33078         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33079         from the message.  The linker prefixes all warnings with that already.
33081 2013-02-12  Andreas Schwab  <schwab@suse.de>
33083         [BZ #15078]
33084         * posix/regexec.c (extend_buffers): Add parameter min_len.
33085         (check_matching): Pass minimum needed length.
33086         (clean_state_log_if_needed): Likewise.
33087         (get_subexp): Likewise.
33088         * posix/Makefile (tests): Add bug-regex34.
33089         (bug-regex34-ENV): Define.
33090         * posix/bug-regex34.c: New file.
33092         [BZ #11561]
33093         * posix/regcomp.c (parse_bracket_exp): When looking up collating
33094         elements compare against the byte sequence of it, not its name.
33095         * posix/Makefile (tests): Add bug-regex35.
33096         (bug-regex35-ENV): Define.
33097         * posix/bug-regex35.c: New file.
33099 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33101         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
33102         comment.
33103         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33104         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33105         (CHECK_EOL): Add undef.
33107 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
33109         * bits/stdlib-bsearch.h: New file.
33110         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33111         * stdlib/stdlib.h: Likewise.
33113 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33115         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33116         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33117         declaration.
33118         * manual/search.texi (Array Search Function): Add missing const in
33119         lfind prototype.
33120         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33121         declaration to use rlim_t.
33122         (Basic Scheduling Functions): Remove erroneous const from
33123         sched_getparam prototype.  Remove erroneous * from
33124         sched_get_priority_max and sched_get_priority_min prototypes.
33125         (Resource Usage): Fix summary @comment on vtimes to refer to
33126         sys/vtimes.h rather than vtimes.h.
33127         Add missing *s in vtimes prototype.
33128         (Limits on Resources): Fix ulimit prototype to return long int.
33129         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33130         prototypes to use long int rather than double.
33131         (BSD Random): Fix initstate and setstate to use char *, not void *.
33132         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33133         prototype to make second argument 'struct aiocb64 *const[]'.
33134         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33135         (Status of AIO Operations): Remove erroneous const in aio_return and
33136         aio_return64 prototypes.
33137         (Synchronizing I/O): Fix sync prototype to return void.
33138         * manual/startup.texi (Suboptions): Remove an erroneous const in
33139         getsubopt prototype.
33140         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33141         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33142         use size_t rather than int.
33143         (Scanning All Users): Likewise for getpwent_r.
33144         (Setting Groups): Add missing const to setgroups prototype.
33145         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33146         * manual/socket.texi (Host Names): Fix gethostbyaddr and
33147         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33148         'const void *' rather than 'const char *'.
33149         (Host Address Functions): Likewise for inet_ntop.
33150         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33151         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33152         ssize_t for return value.
33153         (Sending Data): Likewise for send, sendto, sendmsg.
33154         (Socket Option Functions): Add a missing const in setsockopt prototype.
33155         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33156         use wchar_t for the argument.
33157         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33158         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33159         take no arguments.
33160         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33161         double/float/long double for second argument.
33162         Fix return types of significand, significandf, significandl.
33163         * manual/filesys.texi (Setting Permissions): Use mode_t for second
33164         argument in fchmod prototype.
33165         (File Owner): Use uid_t and gid_t in fchown prototype.
33166         (File Times): Add const to utimes, futimes, and lutimes prototypes.
33167         (Making Special Files): Use mode_t and dev_t in mknod prototype.
33168         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33169         use 'const struct dirent **' as argument types to CMP function pointer
33170         argument.
33171         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33172         (File Times): Fix summary magic @comment for struct utimbuf and utime
33173         to refer to utime.h, not time.h.
33174         * manual/string.texi (Argz Functions): Add missing const in
33175         argz_extract and argz_next prototypes.
33176         (Finding Tokens in a String): Likewise for basename.
33177         (String/Array Comparison): Fix typo in wcscasecmp prototype.
33178         (Copying and Concatenation): Fix typo in wmemmove prototype.
33179         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33180         (Signal Stack): Remove erroneous const in sigstack prototype.
33181         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33182         prototype.
33183         (Simple Calendar Time): Likewise for stime.
33184         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33185         prototype.
33186         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33187         say sys/sysctl.h instead.
33188         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33189         and vsyslog prototypes.
33191 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33193         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33194         Remove.
33196 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33198         * misc/sys/mman.h: Fix typo in mremap comment.
33200 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33202         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33203         the '\0' terminator.
33205 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33207         [BZ #13550]
33208         * debug/segfault.c: Don't include <bp-checks.h>.
33209         * sysdeps/generic/bp-checks.h: Remove file.
33210         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33211         (__GETDENTS): Don't use CHECK_N.
33212         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33213         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33214         (__getgroups): Don't use CHECK_N.
33215         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33216         (setgroups): Don't use CHECK_N.
33217         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33218         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33219         (__libc_msgrcv): Don't use CHECK_N.
33220         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33221         (__libc_msgsnd): Don't use CHECK_N.
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33223         <bp-checks.h>.
33224         (__libc_pread): Don't use CHECK_N.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33226         include <bp-checks.h>.
33227         (__libc_pread64): Don't use CHECK_N.
33228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33229         include <bp-checks.h>.
33230         (__libc_pwrite): Don't use CHECK_N.
33231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33232         include <bp-checks.h>.
33233         (__libc_pwrite64): Don't use CHECK_N.
33234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33235         <bp-checks.h>.
33236         (__libc_pread): Don't use CHECK_N.
33237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33238         include <bp-checks.h>.
33239         (__libc_pread64): Don't use CHECK_N.
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33241         include <bp-checks.h>.
33242         (__libc_pwrite): Don't use CHECK_N.
33243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33244         include <bp-checks.h>.
33245         (__libc_pwrite64): Don't use CHECK_N.
33246         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33247         (do_pread): Don't use CHECK_N.
33248         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33249         (do_pread64): Don't use CHECK_N.
33250         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33251         (do_pwrite): Don't use CHECK_N.
33252         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33253         (do_pwrite64): Don't use CHECK_N.
33254         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33255         (__libc_readv): Don't use CHECK_N.
33256         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33257         (semop): Don't use CHECK_N.
33258         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33259         <bp-checks.h>.
33260         (semtimedop): Don't use CHECK_N.
33261         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33262         (__libc_pread): Don't use CHECK_N.
33263         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33264         <bp-checks.h>.
33265         (__libc_pread64): Don't use CHECK_N.
33266         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33267         <bp-checks.h>.
33268         (__libc_pwrite): Don't use CHECK_N.
33269         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33270         <bp-checks.h>.
33271         (__libc_pwrite64): Don't use CHECK_N.
33272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33273         <bp-checks.h>.
33274         (__libc_msgrcv): Don't use CHECK_N.
33275         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33276         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33277         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33278         (__libc_writev): Don't use CHECK_N.
33280 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33282         * string/strcpy.c: Removed unused variable.
33284         * Makeconfig (+sysdep-includes): Define with := rather than =.
33285         Use an existing include/ subdir of each sysdeps dir before it.
33287 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33289         * nscd/connection.c (register_traced_file): Comment function.
33290         [HAVE_INOTIFY] (union __inev): Define.
33291         [HAVE_INOTIFY] (inotify_check_files): New function.
33292         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33293         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33294         clear_db_cache.
33295         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33297 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33299         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33300         loaded if not already and that a failure is permanent.
33302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33304         [BZ #15006]
33305         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33306         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33308 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33310         [BZ #13550]
33311         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33312         (CHECK_1_NULL_OK): Likewise.
33313         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33314         (__fxstat): Do not use CHECK_1.
33315         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33316         <bp-checks.h>.
33317         (___fxstat64): Do not use CHECK_1.
33318         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33319         <bp-checks.h>.
33320         (__fxstatat): Do not use CHECK_1.
33321         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33322         <bp-checks.h>.
33323         (__fxstatat64): Do not use CHECK_1.
33324         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33325         <bp-checks.h>.
33326         (__fxstat): Do not use CHECK_1.
33327         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33328         <bp-checks.h>.
33329         (__fxstatat): Do not use CHECK_1.
33330         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33331         <bp-checks.h>.
33332         (__getresgid): Do not use CHECK_1.
33333         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33334         <bp-checks.h>.
33335         (__getresuid): Do not use CHECK_1.
33336         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33337         <bp-checks.h>.
33338         (__lxstat): Do not use CHECK_1.
33339         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33340         <bp-checks.h>.
33341         (__old_msgctl): Do not use CHECK_1.
33342         (__new_msgctl): Likewise.
33343         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33344         <bp-checks.h>.
33345         (__new_setrlimit): Do not use CHECK_1.
33346         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33347         <bp-checks.h>.
33348         (__old_shmctl): Do not use CHECK_1.
33349         (__new_shmctl): Likewise.
33350         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33351         <bp-checks.h>.
33352         (__xstat): Do not use CHECK_1.
33353         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33354         (__lxstat): Do not use CHECK_1.
33355         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33356         <bp-checks.h>.
33357         (___lxstat64): Do not use CHECK_1.
33358         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33359         (__old_msgctl): Do not use CHECK_1.
33360         (__new_msgctl): Likewise.
33361         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33362         <bp-checks.h>.
33363         (__gettimeofday): Do not use CHECK_1.
33364         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33365         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33366         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33367         <bp-checks.h>.
33368         (__gettimeofday): Do not use CHECK_1.
33369         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33370         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33371         (__new_shmctl): Do not use CHECK_1.
33372         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33373         <bp-checks.h>.
33374         (do_sigtimedwait): Do not use CHECK_1.
33375         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33376         <bp-checks.h>.
33377         (do_sigwaitinfo): Do not use CHECK_1.
33378         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33379         <bp-checks.h>.
33380         (msgctl): Do not use CHECK_1.
33381         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33382         <bp-checks.h>.
33383         (shmctl): Do not use CHECK_1.
33384         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33385         (ustat): Do not use CHECK_1.
33386         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33387         <bp-checks.h>.
33388         (__fxstat): Do not use CHECK_1.
33389         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33390         <bp-checks.h>.
33391         (__fxstatat): Do not use CHECK_1.
33392         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33393         <bp-checks.h>.
33394         (__lxstat): Do not use CHECK_1.
33395         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33396         <bp-checks.h>.
33397         (__xstat): Do not use CHECK_1.
33398         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33399         (__xstat): Do not use CHECK_1.
33400         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33401         (___xstat64): Do not use CHECK_1.
33403         [BZ #13550]
33404         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33405         definitions.
33406         (CHECK_BOUNDS_HIGH): Likewise.
33407         * string/strcpy.c: Do not include <bp-checks.h>.
33408         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33410 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33412         * nscd/nscd-client.h (__nscd_drop_map_ref):
33413         Add __attribute__ ((unused)).
33414         * nis/nss-nisplus.h (niserr2nss): Likewise.
33416         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33417         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33419         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33420         Remove inline keyword.
33421         * include/rounding-mode.h (round_away): Likewise.
33422         * libio/wfileops.c (adjust_wide_data): Likewise.
33423         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33424         (__m128i_strloadu_tolower): Likewise.
33425         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33426         (__m128i_strloadu_tolower): Likewise.
33427         * time/mktime.c (ydhms_diff): Likewise.
33428         * locale/elem-hash.h (elem_hash): Likewise.
33429         * locale/setlocale.c (setdata): Likewise.
33430         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33431         (re_string_wchar_at): Likewise.
33432         (bitset_not, bitset_merge, bitset_mask): Likewise.
33433         [!(__GNUC__ > 3)] (inline): Remove macro.
33434         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33435         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33436         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33437         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33438         * string/memcmp.c (memcmp_bytes): Likewise.
33439         * locale/programs/locarchive.c (compute_hashval): Likewise.
33440         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33441         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33442         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33443         * nss/getent.c (print_rpc, print_protocols): Likewise.
33444         (print_passwd, print_group, print_aliases): Likewise.
33445         * nis/nss-nisplus.h (niserr2nss): Likewise.
33446         * nscd/connections.c (restart_p): Likewise.
33447         Change return type to bool.
33449 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33451         * Makeconfig (all-Depend-files): Add existing
33452         $(sorted-subdirs:=/Depend) files.
33453         (all-subdirs): Remove nss.
33454         * sysdeps/unix/inet/Subdirs: Add it here instead.
33455         * hesiod/Depend: New file.
33457         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33458         instead of calling alloca.
33460         * io/lseek.c (__lseek): Rename to __libc_lseek.
33461         Define __lseek as an alias.
33463         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33465 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33467         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33468         else clause and remove check for non-standard endianness.
33470 2013-02-04  David S. Miller  <davem@davemloft.net>
33472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33474 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33476         [BZ #13550]
33477         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33478         (__ubp_memchr): Remove prototype.
33479         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33480         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33481         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33482         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33483         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33484         Remove alias.
33485         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33486         (__ubp_memchr): Likewise.
33487         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33488         (__ubp_memchr): Likewise.
33489         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33490         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33491         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33492         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33493         CHECK_STRING.
33494         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33495         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33496         (__getcwd): Do not use CHECK_STRING.
33497         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33498         <bp-checks.h>.
33499         (__real_chown): Do not use CHECK_STRING.
33500         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33501         <bp-checks.h>.
33502         (fchownat): Do not use CHECK_STRING.
33503         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33504         CHECK_STRING.
33505         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33506         <bp-checks.h>.
33507         (__lchown): Do not use CHECK_STRING.
33508         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33509         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33510         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33511         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33513         include <bp-checks.h>.
33514         (truncate64): Do not use CHECK_STRING.
33515         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33516         <bp-checks.h>.
33517         (__real_chown): Do not use CHECK_STRING.
33518         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33519         <bp-checks.h>.
33520         (__lchown): Do not use CHECK_STRING.
33521         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33522         <bp-checks.h>.
33523         (__chown): Do not use CHECK_STRING.
33524         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33525         <bp-checks.h>.
33526         (truncate64): Do not use CHECK_STRING.
33527         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33528         Likewise.
33529         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33530         (__xmknod): Do not use CHECK_STRING.
33531         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33532         <bp-checks.h>.
33533         (__xmknodat): Do not use CHECK_STRING.
33534         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33535         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33537 2013-02-04  Andreas Schwab  <schwab@suse.de>
33539         [BZ #14142]
33540         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33541         * include/netdb.h: Likewise for h_errno.
33542         * elf/tst-stackguard1.c: Include <tls.h>.
33544 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33546         * elf/link.h (struct link_map): Extend the l_addr comment.
33547         * include/link.h (struct link_map): Likewise.
33549 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33551         [BZ #13550]
33552         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33553         (BOUNDED_1): Remove macro.
33554         * debug/backtrace.c: Don't include <bp-checks.h>.
33555         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33556         (__backtrace): Likewise.
33557         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33558         <bp-checks.h>.
33559         (__backtrace): Don't use BOUNDED_1.
33560         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33561         <bp-checks.h>.
33562         (__backtrace): Don't use BOUNDED_1.
33563         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33564         (__backtrace): Don't use BOUNDED_1.
33565         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33566         (shmat): Don't use BOUNDED_N.
33568 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33570         [BZ #13550]
33571         * sysdeps/generic/bp-start.h: Remove file.
33572         * csu/libc-start.c: Don't include <bp-start.h>.
33573         (LIBC_START_MAIN): Set up __environ directly instead of using
33574         INIT_ARGV_and_ENVIRON.
33575         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33576         <bp-start.h>.
33578         [BZ #13550]
33579         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33580         definitions.
33581         (CHECK_FCNTL): Likewise.
33582         (CHECK_N_PAGES): Likewise.
33584         [BZ #13550]
33585         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33586         definitions.
33587         (CHECK_SIGSET_NULL_OK): Likewise.
33588         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33589         <bp-checks.h>.
33590         (sigpending): Don't use CHECK_SIGSET.
33591         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33592         <bp-checks.h>.
33593         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33594         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33595         <bp-checks.h>.
33596         (do_sigsuspend): Don't use CHECK_SIGSET.
33597         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33598         use CHECK_SIGSET.
33599         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33600         (do_sigwait): Don't use CHECK_SIGSET.
33601         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33602         use CHECK_SIGSET.
33603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33604         include <bp-checks.h>.
33605         (sigpending): Don't use CHECK_SIGSET.
33606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33607         include <bp-checks.h>.
33608         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33609         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33610         <bp-checks.h>.
33611         (sigpending): Don't use CHECK_SIGSET.
33612         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33613         <bp-checks.h>.
33614         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33616         [BZ #13550]
33617         * sysdeps/generic/bp-semctl.h: Remove file.
33618         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33619         <bp-checks.h> and <bp-semctl.h>.
33620         (__old_semctl): Don't use CHECK_SEMCTL.
33621         (__new_semctl): Likewise.
33622         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33623         and <bp-semctl.h>.
33624         (__old_semctl): Don't use CHECK_SEMCTL.
33625         (__new_semctl): Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33627         <bp-checks.h> and <bp-semctl.h>.
33628         (__old_semctl): Don't use CHECK_SEMCTL.
33629         (__new_semctl): Likewise.
33630         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33631         <bp-checks.h> and <bp-semctl.h>.
33632         (semctl): Don't use CHECK_SEMCTL.
33634         [BZ #13550]
33635         * Makerules (elide-bp-thunks): Remove variable.
33636         (elide-routines.oS): Don't use $(elide-bp-thunks).
33637         (elide-routines.os): Likewise.
33638         (elide-routines.o): Likewise.
33639         (elide-routines.op): Likewise.
33640         (elide-routines.og): Likewise.
33641         (objects): Don't use $(bp-thunks).
33642         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33643         include.
33644         (common-generated): Do not add s-proto-bp.d.
33645         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33646         (int): Likewise.
33647         (typ): Likewise.
33648         Do not generate makefile rules for bounded-pointer thunks.
33649         * sysdeps/generic/bp-thunks.h: Remove file.
33650         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33651         * sysdeps/unix/s-proto-bp.S: Likewise.
33653         [BZ #15062]
33654         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33655         parts of result separately when argument is not close to line from
33656         -i to i and one part of argument is small.
33657         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33658         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33659         * math/libm-test.inc (cacos_test): Add more tests.
33660         (casin_test): Likewise.
33661         (casinh_test): Likewise.
33662         * sysdeps/i386/fpu/libm-test-ulps: Update.
33663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33665 2013-01-31  David S. Miller  <davem@davemloft.net>
33667         * po/de.po: Update from translation team.
33669 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33671         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33673 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33675         * configure.in (_AC_PROG_CC_C89): New definition.
33676         * configure: Regenerate.
33678         * configure.in (AC_PROG_CPP): New definition.
33679         * configure: Regenerate.
33681 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33683         * debug/tst-backtrace.h: New file.
33684         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33685         (ret): Remove variable.
33686         (x): Likewise.
33687         (FAIL): Remove macro.
33688         (NO_INLINE): Likewise.
33689         (fn1): Use match function instead of strstr.
33690         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33691         (ret): Remove variable.
33692         (x): Likewise.
33693         (FAIL): Remove macro.
33694         (NO_INLINE): Likewise.
33695         (fn): Use match function instead of strstr.
33696         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33697         (ret): Remove variable.
33698         (x): Likewise.
33699         (FAIL): Remove macro.
33700         (NO_INLINE): Likewise.
33701         (handle_signal): Use match function instead of strstr.
33702         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33703         (ret): Remove variable.
33704         (x): Likewise.
33705         (FAIL): Remove macro.
33706         (NO_INLINE): Likewise.
33707         (handle_signal): Use match function instead of strstr.
33709 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33711         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33713 2013-01-23  David S. Miller  <davem@davemloft.net>
33715         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33716         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33717         argument of CAS if possible.
33718         * sysdeps/sparc/sparc64/bits/atomic.h
33719         (__arch_compare_and_exchange_val_32_acq): Likewise.
33720         (__arch_compare_and_exchange_val_64_acq): Likewise.
33722 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33724         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33725         * sysdeps/posix/ulimit.c: ... this.
33726         Include <limits.h>.
33727         * sysdeps/unix/bsd/ulimit.c: Remove file.
33729 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33731         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33732         (LDFLAGS-tst-array5): Likewise.
33734 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33736         [BZ #15036]
33737         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33738         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33739         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33740         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33742 2013-01-21  David S. Miller  <davem@davemloft.net>
33744         * sysdeps/sparc/backtrace.c: New file.
33745         * sysdeps/sparc/sparc32/backtrace.h: New file.
33746         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33747         * sysdeps/sparc/sparc64/backtrace.h: New file.
33748         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33749         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33750         -funwind-tables.
33752 2013-01-21  Andreas Schwab  <schwab@suse.de>
33754         [BZ #15020]
33755         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33756         closed its stdout.
33758 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33761         "mpa2.h".
33762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33764 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33765             Mark Mitchell  <mark@codesourcery.com>
33766             Tom de Vries  <tom@codesourcery.com>
33767             Paul Pluzhnikov  <ppluzhnikov@google.com>
33769         * debug/tst-backtrace2.c: New file.
33770         * debug/tst-backtrace3.c: Likewise.
33771         * debug/tst-backtrace4.c: Likewise.
33772         * debug/tst-backtrace5.c: Likewise.
33773         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33774         (CFLAGS-tst-backtrace3.c): Likewise.
33775         (CFLAGS-tst-backtrace4.c): Likewise.
33776         (CFLAGS-tst-backtrace5.c): Likewise.
33777         (LDFLAGS-tst-backtrace2): Likewise.
33778         (LDFLAGS-tst-backtrace3): Likewise.
33779         (LDFLAGS-tst-backtrace4): Likewise.
33780         (LDFLAGS-tst-backtrace5): Likewise.
33781         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33782         tst-backtrace4 and tst-backtrace5.
33784 2013-01-18  Anton Blanchard  <anton@samba.org>
33785             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33788         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33789         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33790         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33792         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33793         "+r" and remove output regs list as redundant.  Add explicit inline
33794         asm to specify register of return val to work around compiler codegen
33795         bug.  Remove (int) cast on return value.  Add return type parameter to
33796         use in macro so that this macro does not truncate return value for
33797         64-bit values.
33798         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33799         pass to INTERNAL_VSYSCALL_NCS.
33800         (INLINE_VSYSCALL): Add 'long int' as return type to
33801         INTERNAL_VSYSCALL_NCS macro invocation.
33802         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33803         INTERNAL_VSYSCALL_NCS macro invocation.
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33806 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33808         [BZ #14496]
33809         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33810         Fix application of SIMD FP exception mask.
33812         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33813         mp_no from a power of two.
33814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33815         __mpexp_twomm1.  Use __pow_mp.
33817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33818         multiplication.
33820 2013-01-17  David S. Miller  <davem@davemloft.net>
33822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33824 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33826         [BZ #15023]
33827         * include/complex.h: Condition contents on [!_COMPLEX_H].
33828         (__kernel_casinhf): New prototype.
33829         (__kernel_casinh): Likewise.
33830         (__kernel_casinhl): Likewise.
33831         * math/Makefile (libm_calls): Add k_casinh.
33832         * math/k_casinh.c: New file.
33833         * math/k_casinhf.c: Likewise.
33834         * math/k_casinhl.c: Likewise.
33835         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33836         finite nonzero arguments.
33837         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33838         finite nonzero arguments.
33839         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33840         finite nonzero arguments.
33841         * math/s_casinh.c: Do not include <float.h>.
33842         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33843         * math/s_casinhf.c: Do not include <float.h>.
33844         (__casinhf): Move code for finite nonzero arguments to
33845         k_casinhf.c.
33846         * math/s_casinhl.c: Do not include <float.h>.
33847         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33848         redefine.
33849         (__casinhl): Move code for finite nonzero arguments to
33850         k_casinhl.c.
33851         * math/libm-test.inc (cacos_test): Add more tests.
33852         * sysdeps/i386/fpu/libm-test-ulps: Update.
33853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33855 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33857         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33858         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33859         [!HAVE_MREMAP]: Remove [defined linux] case.
33860         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33862 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33864         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33866 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33868         * elf/elf.h (R_386_SIZE32): New relocation.
33869         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33870         R_386_SIZE32.
33871         (elf_machine_rela): Likewise.
33872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33873         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33875 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33877         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33878         (FP_FAST_FMA): Do not define.
33879         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33880         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33881         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33882         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33883         !_SOFT_FLOAT]: Likewise.
33884         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33885         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33886         value.
33887         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33888         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33889         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33891         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33892         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33893         file.
33895 2013-01-16  Andreas Schwab  <schwab@suse.de>
33897         [BZ #14327]
33898         * include/stdlib.h (__mktemp): Add declaration.
33899         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33900         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33902 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33904         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33905         definitions.
33906         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33907         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33908         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33909         definitions here.
33910         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33911         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33912         definitions.
33913         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33914         and ONE.
33915         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33916         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33917         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33918         definitions.
33919         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33920         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33921         definitions.
33922         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33924         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33926 2013-01-15  David S. Miller  <davem@davemloft.net>
33928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33929         trunc{,f} to libm-sysdep_routes.
33930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33932         file.
33933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33935         file.
33936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33937         file.
33938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33940         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33941         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33942         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33943         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33944         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33945         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33948         nearbyint{,f} to libm-sysdep_routes.
33949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33951         New file.
33952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33953         file.
33954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33955         New file.
33956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33957         file.
33958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33960         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33961         file.
33962         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33964         file.
33965         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33966         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33967         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33969         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33970         libc_feholdexcept and libc_fesetenv.
33972 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33974         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33976 2013-01-14  David S. Miller  <davem@davemloft.net>
33978         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33979         (SPARC_ASM_VIS2_IFUNC): Likewise.
33980         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33982         use of 'siam' instruction.
33983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33984         Likewise.
33985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33986         Likewise.
33987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33988         Likewise.
33989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33994         file.
33995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33996         file.
33997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33998         file.
33999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34000         file.
34001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34006         new VIS2 routines.
34007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34010         Likewise.
34011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34016         routines to libm-sysdep_routines.
34017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34020         fdim/fdimf to libm-sysdep_routines.
34021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34022         file.
34023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34025         file.
34026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34029         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34030         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34031         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34032         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34034 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34037         to optimize copies.
34039         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34044         local variable MPTWO.
34045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34046         Likewise.
34048 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34050         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34051         GLOB_NOESCAPE.
34053 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34055         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34057 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34059         * manual/pattern.texi (glob_t): Document gl_flags.
34060         (glob64_t): Likewise.
34062 2013-01-11  David S. Miller  <davem@davemloft.net>
34064         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34065         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34066         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
34067         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34068         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34069         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34070         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34071         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34072         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34073         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34074         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34075         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34076         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34078         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34079         sparc V9 rather than using V8 code.
34080         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34081         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34083         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34084         Move to...
34085         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34086         Here.
34088 2013-01-11  Roland McGrath  <roland@hack.frob.com>
34090         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34091         not in the main loop.
34092         * configure: Regenerated.
34094 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
34096         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34097         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34098         to just #else.
34099         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
34100         [!__GLIBC_HAVE_LONG_LONG] case.
34101         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34102         condition to just #else.
34103         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34104         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34105         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34106         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34107         unconditional.
34108         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34109         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34110         #elif condition to just #else.
34111         * sysdeps/unix/sysv/linux/sys/sysmacros.h
34112         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34113         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34114         #elif condition to just #else.
34116 2013-01-11  Steve Ellcey  <sellcey@mips.com>
34118         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34119         (EF_MIPS_ARCH_64): Fix value.
34120         (EF_MIPS_ARCH_32R2): New.
34121         (EF_MIPS_ARCH_64R2): New.
34123 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
34125         * Makeconfig (+link-pie-before-libc): New.
34126         (+link-pie-after-libc): Likewise.
34127         (+link-pie-tests): Likewise.
34128         (+link-pie): Rewritten.
34129         (link-before-libc): Remove $(config-LDFLAGS).
34130         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34131         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34132         (config-LDFLAGS): Renamed to ...
34133         (rtld-LDFLAGS): This.
34134         (rtld-tests-LDFLAGS): New macro.
34135         (link-libc-rpath-link): Likewise.
34136         (link-libc-tests-rpath-link): Likewise.
34137         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34138         (link-libc): Prepand $(link-libc-rpath-link).
34139         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34140         (test-program-prefix): New macro.
34141         (test-via-rtld-prefix): Likewise.
34142         (test-program-cmd): Likewise.
34143         (host-test-program-cmd): Likewise.
34144         * Makefile ($(common-objpfx)testrun.sh): Replace
34145         $(run-program-prefix) with $(test-program-prefix).
34146         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34147         $(rtld-LDFLAGS).
34148         ($(common-objpfx)shlib.lds): Likewise.
34149         (build-module-helper): Likewise.
34150         ($(common-objpfx)format.lds): Likewise.
34151         * Rules (binaries-pie-tests): New.
34152         (binaries-pie-notests): Likewise.
34153         (binaries-pie): Rewritten.
34154         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34155         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34156         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34157         (make-test-out): Replace $(host-built-program-cmd) with
34158         $(host-test-program-cmd).
34159         * config.make.in (build-hardcoded-path-in-tests): New variable.
34160         * configure.in (--enable-hardcoded-path-in-tests): New configure
34161         option.
34162         (hardcoded_path_in_tests): New AC_SUBST.
34163         * configure: Regenerated.
34164         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34165         $(built-program-cmd) with $(test-program-cmd).
34166         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34167         (test_program_cmd): This.
34168         * elf/Makefile ($(objpfx)order.out): Run test with
34169         $(test-program-prefix).
34170         ($(objpfx)order2.out): Likewise.
34171         ($(objpfx)tst-initorder.out): Likewise.
34172         ($(objpfx)tst-initorder2.out): Likewise.
34173         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34174         $(test-program-cmd).
34175         ($(objpfx)tst-array1-static.out): Likewise.
34176         ($(objpfx)tst-array2.out): Likewise.
34177         ($(objpfx)tst-array3.out): Likewise.
34178         ($(objpfx)tst-array4.out): Likewise.
34179         ($(objpfx)tst-array5.out): Likewise.
34180         ($(objpfx)tst-array5-static.out): Likewise.
34181         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34182         $(test-program-cmd).
34183         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34184         $(run-program-prefix) with $(test-program-prefix).
34185         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34186         (test_program_prefix): This.
34187         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34188         $(run-program-prefix) with $(test-program-prefix).
34189         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34190         (test_program_prefix): This.
34191         * iconvdata/tst-tables.sh: Likewise.
34192         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34193         $(run-program-prefix) with $(test-program-prefix).
34194         ($(objpfx)tst-translit.out): Likewise.
34195         ($(objpfx)tst-gettext2.out): Likewise.
34196         ($(objpfx)tst-gettext4.out): Likewise.
34197         ($(objpfx)tst-gettext6.out): Likewise.
34198         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34199         (test_program_prefix): This.
34200         * intl/tst-gettext2.sh: Likewise.
34201         * intl/tst-gettext4.sh  Likewise.
34202         * intl/tst-gettext6.sh: Likewise.
34203         * intl/tst-translit.sh: Likewise.
34204         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34205         with $(test-program-cmd).
34206         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34207         $(run-program-prefix) with $(test-program-prefix).
34208         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34209         (test_program_prefix): This.
34210         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34211         $(run-program-prefix) with $(test-program-prefix).
34212         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34213         (test_program_prefix): This.
34214         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34215         * posix/Makefile ($(objpfx)globtest.out): Replace
34216         $(run-via-rtld-prefix) and $(test-wrapper) with
34217         $(test-program-prefix) and $(test-via-rtld-prefix).
34218         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34219         $(test-program-prefix).
34220         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34221         $(host-test-program-cmd).
34222         (tst-spawn-ARGS): Likewise.
34223         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34224         $(test-program-prefix).
34225         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34226         (test_via_rtld_prefix): This.
34227         (test_wrapper): Renamed to ...
34228         (test_program_prefix): This.
34229         (run_program_prefix): Replaced by test_program_prefix.
34230         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34231         (test_program_prefix): This.
34232         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34233         with $(host-test-program-cmd).
34234         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34235         $(run-program-prefix) with $(test-program-prefix).
34236         ($(objpfx)tst-printf.out): Likewise.
34237         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34238         $(test-program-cmd).
34239         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34240         (test_program_prefix): This.
34241         * stdio-common/tst-unbputc.sh: Likewise.
34242         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34243         $(run-program-prefix) with $(test-program-prefix).
34244         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34245         (test_program_prefix): This.
34246         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34247         $(built-program-cmd) with $(test-program-cmd).
34249 2013-01-11  Andreas Jaeger  <aj@suse.de>
34251         [BZ #15003]
34252         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34253         value. Sync with Linux 3.7.
34255 2013-01-10  David S. Miller  <davem@davemloft.net>
34257         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34261 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34263         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34264         never set.
34265         * configure: Regenerated.
34267 2013-01-10  David S. Miller  <davem@davemloft.net>
34269         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34270         sparc V9 rather than using V8 code.
34271         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34272         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34274 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34276         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34277         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34278         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34279         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34280         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34281         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34282         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34283         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34284         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34285         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34286         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34287         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34288         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34289         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34290         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34291         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34292         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34293         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34294         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34295         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34296         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34297         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34298         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34299         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34300         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34301         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34302         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34304 2013-01-10  David S. Miller  <davem@davemloft.net>
34306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34308 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34310         * posix/Makefile (tests-static): New variable.
34311         (tests): Add $(tests-static).
34312         (tst-exec-static-ARGS): New variable.
34313         (tst-spawn-static-ARGS): Likewise.
34314         * posix/tst-exec-static.c: New file.
34315         * posix/tst-spawn-static.c: Likewise.
34316         * posix/tst-exec.c: Support run directly.
34317         * posix/tst-spawn.c: Likewise.
34319 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34321         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34322         long.
34323         * math/bits/mathcalls.h (llrint): Likewise.
34324         (llround): Likewise.
34325         * stdlib/stdlib.h (struct drand48_data): Likewise.
34326         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34327         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34328         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34329         Likewise.
34330         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34331         Likewise.
34332         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34333         (elf_greg_t): Likewise.
34334         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34335         (__jmp_buf): Likewise.
34336         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34337         definitions.
34338         (llrint): Likewise, for all definitions.
34339         (llrintl): Likewise.
34341         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34342         Remove [__GNUC__] condition.
34343         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34344         condition to just [__USE_ISOC99].
34345         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34347 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34349         [BZ #14200]
34350         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34351         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34352         defined.
34353         (_POSIX_V6_ILP32_OFF32): Likewise.
34354         (_XBS5_ILP32_OFF32): Likewise.
34355         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34356         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34358 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34360         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34363         doubles __mpexp_twomm1.  Adjust usage.
34364         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34365         Remove.
34367 2013-01-10  Andreas Schwab  <schwab@suse.de>
34369         [BZ #14964]
34370         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34371         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34373 2013-01-09  David S. Miller  <davem@davemloft.net>
34375         [BZ #15003]
34376         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34377         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34378         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34379         (TCP_FASTOPEN): Define.
34380         (tcp_repair_opt): New structure.
34381         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34382         enum values.
34383         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34384         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34385         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34386         (tcp_cookie_transactions): New structure.
34388 2013-01-09  Anton Blanchard  <anton@samba.org>
34390         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34391         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34392         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34393         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34395 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34397         * include/features.h (__USE_ANSI): Remove.
34399 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34401         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34403         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34405 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34407         * sysdeps/s390/fpu/libm-test-ulps: Update.
34409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34411         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34412         (__acr): Likewise.
34413         (__cpy): Likewise.
34414         (norm): Likewise.
34415         (denorm): Likewise.
34416         (__mp_dbl): Likewise.
34417         (__dbl_mp): Likewise.
34418         (add_magnitudes): Likewise.
34419         (sub_magnitudes): Likewise.
34420         (__add): Likewise.
34421         (__sub): Likewise.
34422         (__mul): Likewise.
34423         (__inv): Likewise.
34424         (__dvd): Likewise.
34425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34426         (__acr): Likewise.
34427         (__cpy): Likewise.
34428         (norm): Likewise.
34429         (denorm): Likewise.
34430         (__mp_dbl): Likewise.
34431         (__dbl_mp): Likewise.
34432         (add_magnitudes): Likewise.
34433         (sub_magnitudes): Likewise.
34434         (__add): Likewise.
34435         (__sub): Likewise.
34436         (__mul): Likewise.
34437         (__inv): Likewise.
34438         (__dvd): Likewise.
34439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34440         (__acr): Likewise.
34441         (__cpy): Likewise.
34442         (norm): Likewise.
34443         (denorm): Likewise.
34444         (__mp_dbl): Likewise.
34445         (__dbl_mp): Likewise.
34446         (add_magnitudes): Likewise.
34447         (sub_magnitudes): Likewise.
34448         (__add): Likewise.
34449         (__sub): Likewise.
34450         (__mul): Likewise.
34451         (__inv): Likewise.
34452         (__dvd): Likewise.
34454 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34456         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34457         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34458         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34459         2 && __USE_EXTERN_INLINES]: Likewise.
34461 2013-01-08  Andreas Jaeger  <aj@suse.de>
34463         [BZ# 14985]
34464         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34465         Remove.
34466         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34467         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34469 2013-01-07  Anton Blanchard  <anton@samba.org>
34471         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34472         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34473         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34474         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34475         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34476         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34477         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34478         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34480         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34481         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34482         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34483         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34484         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34485         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34486         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34487         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34488         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34490         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34491         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34492         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34493         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34494         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34495         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34496         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34497         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34498         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34499         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34500         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34501         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34503         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34506         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34507         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34508         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34509         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34511         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34512         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34513         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34515 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34517         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34518         (__MALLOC_PMT): Likewise.
34519         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34520         [__GNUC__], only on [_LIBC].
34521         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34522         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34523         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34524         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34525         forward declaration.
34526         (realloc_hook_ini): Likewise.
34527         (memalign_hook_ini): Likewise.
34528         (__libc_memalign): Do not use __MALLOC_PMT in variable
34529         declaration.
34530         (__libc_valloc): Likewise.
34531         (__libc_pvalloc): Likewise.
34532         (__libc_calloc): Likewise.
34533         (__posix_memalign): Likewise.
34535         [BZ #14996]
34536         * math/s_casinh.c: Include <float.h>.
34537         (__casinh): Do not do computation with squaring and square root
34538         for large arguments.
34539         * math/s_casinhf.c: Include <float.h>.
34540         (__casinhf): Do not do computation with squaring and square root
34541         for large arguments.
34542         * math/s_casinhl.c: Include <float.h>.
34543         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34544         (__casinhl): Do not do computation with squaring and square root
34545         for large arguments.
34546         * math/libm-test.inc (casin_test): Add more tests.
34547         (casinh_test): Likewise.
34548         * sysdeps/i386/fpu/libm-test-ulps: Update.
34549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34551 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34553         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34554         (__x86_64_raw_data_cache_size): Likewise.
34555         (__x86_64_data_cache_size_half): Likewise.
34556         (__x86_64_raw_data_cache_size_half): Likewise.
34557         (__x86_64_shared_cache_size): Likewise.
34558         (__x86_64_raw_shared_cache_size): Likewise.
34559         (__x86_64_shared_cache_size_half): Likewise.
34560         (__x86_64_raw_shared_cache_size_half): Likewise.
34561         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34562         to ...
34563         (__x86_data_cache_size): This.
34564         (__x86_64_raw_data_cache_size): Renamed to ...
34565         (__x86_raw_data_cache_size): This.
34566         (__x86_64_data_cache_size_half): Renamed to ...
34567         (__x86_data_cache_size_half): This.
34568         (__x86_64_raw_data_cache_size_half): Renamed to ...
34569         (__x86_raw_data_cache_size_half): This.
34570         (__x86_64_shared_cache_size): Renamed to ...
34571         (__x86_shared_cache_size): This.
34572         (__x86_64_raw_shared_cache_size): Renamed to ...
34573         (__x86_raw_shared_cache_size): This.
34574         (__x86_64_shared_cache_size_half): Renamed to ...
34575         (__x86_shared_cache_size_half): This.
34576         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34577         (__x86_raw_shared_cache_size_half): This.
34578         * sysdeps/x86_64/memcpy.S: Updated.
34579         * sysdeps/x86_64/memset.S: Likewise.
34580         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34581         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34584 2013-01-04  David S. Miller  <davem@davemloft.net>
34586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34588 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34590         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34591         1 to avoid redefinition warning.
34592         (__USE_GNU): Don't define.
34593         (init_signaling_nan): Protoize.
34595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34597 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34599         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34601         (__cpymn): Likewise.
34602         (norm): Remove commented code.
34603         (denorm): Likewise.
34604         (__mp_dbl): Likewise.
34605         (__inv): Likewise.
34606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34607         (__cpymn): Likewise.
34608         (norm): Remove commented code.
34609         (denorm): Likewise.
34610         (__mp_dbl): Likewise.
34611         (__inv): Likewise.
34613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34614         mp_no value for 1.0 and 2.0.
34615         (norm): Use RADIXI instead of radixi.d.
34616         (denorm): Likewise.
34617         (__mul): Use 0.0 instead of zero.d.
34618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34619         mp_no value for 1.0 and 2.0.
34620         (norm): Use RADIXI instead of radixi.d.
34621         (denorm): Likewise.
34622         (__mul): Use 0.0 instead of zero.d.
34624 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34626         [BZ #14994]
34627         * math/s_casinh.c (__casinh): Reduce finite argument to first
34628         quadrant then set signs of results at the end.
34629         * math/s_casinhf.c (__casinhf): Likewise.
34630         * math/s_casinhl.c (__casinhl): Likewise.
34631         * math/libm-test.inc (casin_test): Add more tests.
34632         (casinh_test): Likewise.
34633         * sysdeps/i386/fpu/libm-test-ulps: Update.
34634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34636 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34638         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34640         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34642         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34643         declarations.
34644         (denorm): Likewise.
34645         (__mp_dbl): Likewise.
34646         (__inv): Likewise.
34648         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34649         and adjust the header comment.
34651         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34652         variable name from declaration.
34654 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34657         Initialize COMMON_CPUID_INDEX_7 element.
34658         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34659         (CPUID_RTM): Likewise.
34660         (HAS_RTM): Likewise.
34661         (COMMON_CPUID_INDEX_7): New enum.
34663 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34665         [BZ #14981]
34666         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34667         size is zero, record memory as freed.
34669 2013-01-03  Andreas Jaeger  <aj@suse.de>
34671         * po/ia.po: Add new Interlingua translation.
34673 2012-01-03  Allan McRae  <allan@archlinux.org>
34675         * locale/programs/localedef.c: Fix description of '--posix' flag.
34677 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34679         * NEWS: Update dates in second copyright notice.
34680         * README: Update copyright dates in example.
34681         * manual/libc.texinfo: Update copyright dates.
34682         * scripts/test-installation.pl: Update copyright date in --version
34683         output.
34685         * hurd/ctty-input.c: Fix copyright notice formatting.
34686         * hurd/ctty-output.c: Likewise.
34687         * hurd/dtable.c: Likewise.
34688         * hurd/hurd-raise.c: Likewise.
34689         * hurd/hurdprio.c: Likewise.
34690         * hurd/msgportdemux.c: Likewise.
34691         * misc/sys/file.h: Likewise.
34692         * misc/sys/ioctl.h: Likewise.
34693         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34694         * sysdeps/mach/hurd/chdir.c: Likewise.
34695         * sysdeps/mach/hurd/fchdir.c: Likewise.
34696         * sysdeps/mach/hurd/rename.c: Likewise.
34697         * sysdeps/mach/hurd/rmdir.c: Likewise.
34698         * sysdeps/mach/hurd/seekdir.c: Likewise.
34699         * sysdeps/mach/hurd/setsid.c: Likewise.
34700         * sysdeps/posix/wait3.c: Likewise.
34702         * All files with FSF copyright notices: Update copyright dates
34703         using scripts/update-copyrights.
34704         * intl/plural.c: Regenerated.
34705         * locale/programs/charmap-kw.h: Likewise.
34706         * locale/programs/locfile-kw.h: Likewise.
34708 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34710         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34711         four values.
34713         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34714         calculation loop and add branch prediction.
34716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34717         check access beyond bounds of m1np.
34719         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34720         MPTWO.
34721         (__inv): Remove local variable MPTWO to use the global
34722         constant.
34723         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34724         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34725         variable MPTWO.
34726         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34727         MP3HALFS static const.
34729 2013-01-01  David S. Miller  <davem@davemloft.net>
34731         * po/ca.po: Update from translation team.
34733 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34735         * scripts/update-copyrights: New file.
34736         * Makeconfig: Reformat copyright notice.
34737         * ctype/ctype.h: Likewise.
34738         * debug/swprintf_chk.c: Likewise.
34739         * elf/dl-cache.c: Likewise.
34740         * elf/dl-debug.c: Likewise.
34741         * elf/dl-object.c: Likewise.
34742         * grp/initgroups.c: Likewise.
34743         * hurd/Makefile: Likewise.
34744         * hurd/hurd/signal.h: Likewise.
34745         * hurd/hurdfault.c: Likewise.
34746         * hurd/hurdioctl.c: Likewise.
34747         * hurd/hurdlookup.c: Likewise.
34748         * hurd/intr-msg.c: Likewise.
34749         * iconv/gconv_open.c: Likewise.
34750         * libio/swprintf.c: Likewise.
34751         * locale/lc-ctype.c: Likewise.
34752         * locale/nl_langinfo.c: Likewise.
34753         * mach/Machrules: Likewise.
34754         * mach/Makefile: Likewise.
34755         * malloc/obstack.h: Likewise.
34756         * manual/Makefile: Likewise.
34757         * manual/tsort.awk: Likewise.
34758         * misc/bits/stab.def: Likewise.
34759         * nis/nis_print_group_entry.c: Likewise.
34760         * nis/nis_table.c: Likewise.
34761         * nis/nss_compat/compat-pwd.c: Likewise.
34762         * nis/nss_compat/compat-spwd.c: Likewise.
34763         * po/Makefile: Likewise.
34764         * posix/fnmatch.c: Likewise.
34765         * posix/regex.h: Likewise.
34766         * resolv/Makefile: Likewise.
34767         * resolv/nss_dns/dns-network.c: Likewise.
34768         * resolv/res_hconf.c: Likewise.
34769         * scripts/gen-sorted.awk: Likewise.
34770         * soft-fp/soft-fp.h: Likewise.
34771         * stdio-common/printf.h: Likewise.
34772         * stdlib/monetary.h: Likewise.
34773         * stdlib/random.c: Likewise.
34774         * stdlib/random_r.c: Likewise.
34775         * sysdeps/generic/Makefile: Likewise.
34776         * sysdeps/gnu/Makefile: Likewise.
34777         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34778         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34779         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34781         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34784         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34785         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34787         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34788         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34789         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34790         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34791         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34792         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34793         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34795         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34797         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34798         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34799         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34800         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34801         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34802         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34803         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34804         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34805         * sysdeps/mach/hurd/errnos.awk: Likewise.
34806         * sysdeps/mach/hurd/fork.c: Likewise.
34807         * sysdeps/mach/hurd/getcwd.c: Likewise.
34808         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34809         * sysdeps/mach/hurd/mmap.c: Likewise.
34810         * sysdeps/mach/hurd/utimes.c: Likewise.
34811         * sysdeps/mach/hurd/xmknod.c: Likewise.
34812         * sysdeps/posix/profil.c: Likewise.
34813         * sysdeps/posix/readdir_r.c: Likewise.
34814         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34815         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34816         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34817         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34819         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34820         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34821         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34823         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34824         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34825         * sysdeps/pthread/lio_listio.c: Likewise.
34826         * sysdeps/sparc/dl-procinfo.h: Likewise.
34827         * sysdeps/unix/i386/sysdep.S: Likewise.
34828         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34829         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34830         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34831         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34833         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34834         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34835         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34836         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34837         * sysdeps/wordsize-32/divdi3.c: Likewise.
34838         * time/sys/time.h: Likewise.
34839         * wcsmbs/Makefile: Likewise.
34841 2013-01-01  David S. Miller  <davem@davemloft.net>
34843         * po/fr.po: Update from translation team.
34845         * catgets/gencat.c: Update copyright year.
34846         * csu/version.c: Likewise.
34847         * debug/catchsegv.sh: Likewise.
34848         * debug/pcprofiledump.c: Likewise.
34849         * debug/xtrace.sh: Likewise.
34850         * elf/ldconfig.c: Likewise.
34851         * elf/ldd.bash.in: Likewise.
34852         * elf/pldd.c: Likewise.
34853         * elf/sotruss.ksh: Likewise.
34854         * elf/sprof.c: Likewise.
34855         * iconv/iconv_prog.c: Likewise.
34856         * iconv/iconvconfig.c: Likewise.
34857         * locale/programs/locale.c: Likewise.
34858         * locale/programs/localedef.c: Likewise.
34859         * login/programs/pt_chown.c: Likewise.
34860         * malloc/memusage.sh: Likewise.
34861         * malloc/memusagestat.c: Likewise.
34862         * malloc/mtrace.pl: Likewise.
34863         * nscd/nscd.c: Likewise.
34864         * nss/getent.c: Likewise.
34865         * nss/makedb.c: Likewise.
34866         * posix/getconf.c: Likewise.
34868 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34870         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34871         numbers.
34873 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34875         * math/bits/mathcalls.h (modf): Use __nonnull.
34877 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34879         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34880         (split): Use macro CN instead of the bare value.
34881         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34882         could be used.
34883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34884         instead of the bare value.
34885         (power1): Likewise.
34887 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34889         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34890         __ATAN_TWOM.
34891         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34893         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34894         their values.
34895         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34896         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34897         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34898         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34900 2012-12-28  Andreas Jaeger  <aj@suse.de>
34902         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34903         values are from Linux 3.7.
34905         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34906         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34908 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34910         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34911         TRUE case.
34913         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34914         (norm): Likewise.
34915         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34916         variables with preprocessor constants.
34917         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34918         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34919         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34921 2012-12-27  Bruno Haible  <bruno@clisp.org>
34923         [BZ #14317]
34924         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34925         only if needed.
34927 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34930         and use variable directly.
34931         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34933         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34934         MPONE.
34935         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34937         variable MPONE.
34938         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34939         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34940         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34941         include directive.  Remove local variable MPONE.
34942         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34943         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34944         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34946 2012-12-25  David S. Miller  <davem@davemloft.net>
34948         * version.h (RELEASE): Set to "development".
34949         (VERSION): Set to "2.17.90".
34950         * NEWS: Add 2.18 section.
34952 2012-12-21  David S. Miller  <davem@davemloft.net>
34954         * po/hr.po: Update from translation team.
34956 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34958         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34960 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34962         * NEWS:  Mention new memcpy for MIPS.
34964 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34966         * manual/contrib.texi (Contributors): Spelling correction.
34968 2012-12-15  David S. Miller  <davem@davemloft.net>
34970         * po/ru.po: Update from translation team.
34972 2012-12-13  David S. Miller  <davem@davemloft.net>
34974         * NEWS: Mention IFUNC testsuite enhancements.
34976         * po/pl.po: Update from translation team.
34977         * po/bg.po: Likewise.
34979         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34980         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34982 2012-12-11  David S. Miller  <davem@davemloft.net>
34984         * po/sv.po: Update from translation team.
34986         * po/vi.po: Update from translation team.
34988         * po/cs.po: Update from translation team.
34990         * po/de.po: Update from translation team.
34991         * po/eo.po: Likewise.
34992         * po/nl.po: Likewise.
34994 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34996         [BZ #14246]
34997         * manual/argp.texi (Argp Helper Functions): Move node to follow
34998         Argp Parsing State.
35000         [BZ #14872]
35001         * manual/conf.texi (Limits on File System Capacity): Mention if
35002         terminating null is included in the max size.
35004 2012-12-10  Andreas Jaeger  <aj@suse.de>
35006         * po/cs.po: Update from translation team.
35008 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35010         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35011         void pointer and cast to uintptr_t.
35012         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35013         path.
35014         * sysdeps/s390/s390-64/memcpy.S: Likewise.
35015         * sysdeps/s390/s390-64/memset.S: Likewise.
35017 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
35019         [BZ #14833]
35020         * menual/message.texi (Message Translation): Fix typos.
35021         (Helper programs for gettext): Likewise.
35023 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
35025         [BZ #14898]
35026         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35027         Change to -1.
35029 2012-12-07  David S. Miller  <davem@davemloft.net>
35031         * po/libc.pot: Update.
35033 2012-12-07  Richard Henderson  <rth@redhat.com>
35035         [BZ #10114]
35036         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35037         normal/normal case to before the switch.
35038         (_FP_DIV): Likewise.
35040 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
35041             Mike Frysinger  <vapier@gentoo.org>
35043         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35044         check for __NR_fadvise64_64.
35046 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
35048         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35049         0, not just to plain "0" as a statement.
35050         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35051         with cw.
35053 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
35055         * NEWS: Use sourceware.org in Bugzilla URL.
35057 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35060         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35062         * stdio-common/tst-put-error.c (do_test): Add newline to the
35063         padded test to ensure flush.
35065 2012-12-05  Jeff Law  <law@redhat.com>
35067         * sunrpc/etc.rpc (fedfs_admin): Add entry.
35069 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
35071         * README: Don't refer to ports add-on as distributed separately.
35072         Mention AArch64 in list of systems supported in the ports add-on.
35074         * LICENSES: Add more non-FSF copyright and license notices.
35076         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35077         ((unused)).
35079         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35081         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35082         10000 as width of padded output.
35084 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35086         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35089         variable LX with __attribute__ ((unused)).
35090         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35091         Likewise.
35092         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35093         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35094         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35095         with __attribute__ ((unused)).
35097 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
35099         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35101 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35103         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35104         (CFLAGS-nldbl-acos.c): New variable.
35105         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35106         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35107         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35108         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35109         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35110         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35111         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35112         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35113         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35114         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35115         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35116         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35117         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35118         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35119         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35120         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35121         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35122         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35123         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35124         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35125         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35126         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35127         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35128         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35129         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35130         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35131         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35132         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35133         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35134         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35135         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35136         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35137         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35138         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35139         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35140         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35141         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35142         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35143         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35144         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35145         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35146         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35147         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35148         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35149         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35150         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35151         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35152         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35153         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35154         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35155         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35156         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35157         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35158         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35159         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35160         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35161         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35162         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35163         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35164         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35165         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35166         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35167         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35168         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35169         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35170         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35171         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35172         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35173         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35174         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35175         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35176         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35177         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35178         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35179         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35180         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35181         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35182         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35183         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35184         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35185         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35186         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35187         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35188         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35189         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35190         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35191         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35192         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35193         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35194         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35195         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35196         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35197         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35198         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35199         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35200         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35201         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35204         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35206         [BZ #14914]
35207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35208         whole low double instead of just low 47 bits when splitting values
35209         into two parts.
35211 2012-12-03  Allan McRae  <allan@archlinux.org>
35213         * manual/stdio.texi (Predefined Printf Handlers): Remove
35214         @hsep and @vsep usage.
35216 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35218         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35219         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35221 2012-12-03  Jeff Law  <law@redhat.com>
35223         * time/sys/time.h (settimeofday): Do not mark TV argument
35224         as __nonnull.
35226 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35228         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35229         when currently writing and seek to current position when not.
35230         * libio/Makefile (tests): Remove bug-fclose1.
35231         * libio/bug-fclose1.c: Delete.
35233 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35235         * manual/arith.texi (feenableexcept): Fix typo.
35236         (fedisableexcept): Likewise.
35238 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35240         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35241         second, differently-typed declaration, rather than a cast.
35243 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35245         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35246         * include/rpc/svc.h: ... here.
35248 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35250         [BZ #13013]
35251         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35252         depending n and resplen2 to catch cases where answer
35253         equals answerp2.
35255 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35257         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35258         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35260 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35262         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35264 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35266         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35268 2012-11-28  Jeff Law  <law@redhat.com>
35270         [BZ #13761]
35271         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35272         dataset_temporary.  Track alloca usage into alloca_used.
35273         If dataset is large allocate and release it via malloc/free.
35275 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35277         [BZ #14197]
35278         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35280 2012-11-28  David S. Miller  <davem@davemloft.net>
35282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35284 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35286         [BZ #14803]
35287         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35288         of pi/2 rounded to nearest to 64 bits.
35289         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35290         nearest to 64 bits.
35291         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35292         bits.
35294 2012-11-28  Jeff Law <law@redhat.com>
35295             Martin Osvald <mosvald@redhat.com>
35297         [BZ #14889]
35298         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35299         * sunrpc/svc.c: Include time.h.
35300         (__svc_accept_failed): New function.
35301         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35302         any reason other than EINTR, call __svc_accept_failed.
35303         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35304         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35306 2012-11-28  Andreas Schwab  <schwab@suse.de>
35308         * scripts/abilist.awk: Also handle indirect functions in .opd
35309         section.
35311 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35313         [BZ #13881]
35314         * sysdeps/x86/fpu/powl_helper.c: New file.
35315         * sysdeps/x86/fpu/Makefile: Likewise.
35316         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35317         (p3): New object.
35318         (__ieee754_powl): Use __powl_helper for finite arguments except
35319         integer exponents below 8.
35320         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35321         (p3): New object.
35322         (__ieee754_powl): Use __powl_helper for finite arguments except
35323         integer exponents below 8.
35324         * math/libm-test.inc (pow_test): Add more tests and enable some
35325         previously disabled tests.
35326         * sysdeps/i386/fpu/libm-test-ulps: Update.
35327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35329 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35330             Carlos O'Donell  <carlos_odonell@mentor.com>
35332         * nss/makedb.c (is_prime): Assert that input is odd and greater
35333         than 4.  Note that fact in a comment too.
35334         (next_prime): Add 4 to input.
35336 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35338         [BZ #11741]
35339         * libio/Makefile (tests): Add test case tst-fwrite-error.
35340         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35341         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35342         * libio/tst-fwrite-error.c: New test case.
35344 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35346         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35347         before casting to void *.
35348         * include/libc-internal.h (__pointer_type): New macro.
35349         (__integer_if_pointer_type_sub): Likewise.
35350         (__integer_if_pointer_type): Likewise.
35351         (cast_to_integer): Likewise.
35352         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35353         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35354         before casting to atomic64_t.
35355         (atomic_exchange_acq): Likewise.
35356         (__arch_exchange_and_add_body): Likewise.
35357         (__arch_add_body): Likewise.
35358         (atomic_add_negative): Likewise.
35359         (atomic_add_zero): Likewise.
35361 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35363         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35364         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35365         (add_fdes): Likewise.
35366         (linear_search_fdes): Likewise.
35367         (binary_search_unencoded_fdes): Likewise.
35369 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35371         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35373 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35375         * configure.in: Autodetect C++ header directories.
35376         * configure: Regenerated.
35378 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35380         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35382 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35386 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35388         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35389         LDBL_MANT_DIG == 106]: Disable some tests.
35390         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35391         Likewise.
35392         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35393         Likewise.
35395         [BZ #14871]
35396         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35397         input for small inputs.  Return +/- pi/2 for large inputs.
35398         * math/libm-test.inc (atan_test): Add more tests.
35400         * sysdeps/generic/unwind-dw2-fde-glibc.c
35401         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35402         __attribute__ ((unused)).
35404         [BZ #14645]
35405         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35406         x * y if x and y are nonzero and z is zero.
35408         [BZ #14811]
35409         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35410         nonzero exponents with absolute value below 0x1p-117 to +/-
35411         0x1p-117.
35413         [BZ #14869]
35414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35415         up arguments below 2**-450, not just those below 2**-500.
35416         * math/libm-test.inc (hypot_test): Add another test.
35418         [BZ #14868]
35419         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35420         Return a+b for ratio over 2**120, not 2**60.
35421         * math/libm-test.inc (hypot_test): Add another test.
35423         * math/libm-test.inc (clog_test): Use
35424         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35425         (clog10_test): Likewise.
35427         [BZ #6778]
35428         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35430 2012-11-22  Andreas Schwab  <schwab@suse.de>
35432         * sysdeps/i386/fpu/libm-test-ulps: Update.
35434 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35436         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35437         printf output with newline.
35439 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35441         [BZ #14865]
35442         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35443         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35444         -z nodlopen, -z initfirst and -z execstack support.
35445         * configure: Regenerated.
35447         * elf/elf.h (DF_1_NODIRECT): New macro.
35448         (DF_1_IGNMULDEF): Likewise.
35449         (DF_1_NOKSYMS): Likewise.
35450         (DF_1_NOHDR): Likewise.
35451         (DF_1_EDITED): Likewise.
35452         (DF_1_NORELOC): Likewise.
35453         (DF_1_SYMINTPOSE): Likewise.
35454         (DF_1_GLOBAUDIT): Likewise.
35455         (DF_1_SINGLETON): Likewise.
35456         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35457         DT_1_SUPPORTED_MASK bits.
35458         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35460 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35462         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35464 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35466         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35467         macro.
35469         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35470         (sendmmsg): Move declarations...
35471         * socket/sys/socket.h: ... here.
35472         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35473         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35474         include it from...
35475         * socket/recvmmsg.c: ... this new file.
35476         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35477         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35478         definition of __sendmmsg hidden.
35479         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35480         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35481         Move ENOSYS stub into and include it from...
35482         * socket/sendmmsg.c: ... this new file.
35483         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35484         (sysdep_routines): Move recvmmsg and sendmmsg...
35485         * socket/Makefile (routines): ... here.
35486         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35487         (GLIBC_PRIVATE): Add __sendmmsg.
35488         * include/sys/socket.h (__sendmmsg): Add declarations.
35489         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35490         sendmmsg.
35492 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35495         variable I1 with __attribute__ ((unused)).
35496         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35498 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35500         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35501         DUMMY variables with __attribute__ ((unused)).
35503         * bits/byteswap.h: Include <bits/types.h>.
35504         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35506 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35508         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35509         string_t.  Do not manually set errno.
35510         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35511         length with __strnlen.  Make sure to both set errno and return it on
35512         failure.
35514 2012-11-19  David S. Miller  <davem@davemloft.net>
35516         With help from Joseph Myers.
35517         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35518         very large arguments properly.
35519         * math/libm-test.inc (atan_test): New tests.
35520         (atan2_test): New tests.
35521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35524 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35526         [BZ #14856]
35527         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35528         Define to 3.
35530         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35531         [POSIX] (EADDRNOTAVAIL): Likewise.
35532         [POSIX] (EAFNOSUPPORT): Likewise.
35533         [POSIX] (EALREADY): Likewise.
35534         [POSIX] (ECONNABORTED): Likewise.
35535         [POSIX] (ECONNREFUSED): Likewise.
35536         [POSIX] (ECONNRESET): Likewise.
35537         [POSIX] (EDESTADDRREQ): Likewise.
35538         [POSIX] (EDQUOT): Likewise.
35539         [POSIX] (EHOSTUNREACH): Likewise.
35540         [POSIX] (EIDRM): Likewise.
35541         [POSIX] (EISCONN): Likewise.
35542         [POSIX] (ELOOP): Likewise.
35543         [POSIX] (EMULTIHOP): Likewise.
35544         [POSIX] (ENETDOWN): Likewise.
35545         [POSIX] (ENETUNREACH): Likewise.
35546         [POSIX] (ENOBUFS): Likewise.
35547         [POSIX] (ENODATA): Likewise.
35548         [POSIX] (ENOLINK): Likewise.
35549         [POSIX] (ENOMSG): Likewise.
35550         [POSIX] (ENOPROTOOPT): Likewise.
35551         [POSIX] (ENOSR): Likewise.
35552         [POSIX] (ENOSTR): Likewise.
35553         [POSIX] (ENOTCONN): Likewise.
35554         [POSIX] (ENOTSOCK): Likewise.
35555         [POSIX] (EOPNOTSUPP): Likewise.
35556         [POSIX] (EOVERFLOW): Likewise.
35557         [POSIX] (EPROTO): Likewise.
35558         [POSIX] (EPROTONOSUPPORT): Likewise.
35559         [POSIX] (EPROTOTYPE): Likewise.
35560         [POSIX] (ESTALE): Likewise.
35561         [POSIX] (ETIME): Likewise.
35562         [POSIX] (ETXTBSY): Likewise.
35563         [POSIX] (EWOULDBLOCK): Likewise.
35564         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35565         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35566         [POSIX] (SEEK_CUR): Likewise.
35567         [POSIX] (SEEK_END): Likewise.
35568         [POSIX || UNIX98] (mode_t): Do not require.
35569         [POSIX] (off_t): Likewise.
35570         [POSIX] (pid_t): Likewise.
35571         [POSIX] (sys/stat.h): Do not allow header.
35572         [POSIX] (unistd.h): Likewise.
35573         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35574         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35575         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35576         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35577         require.
35578         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35579         sigevent): Specify elements.
35580         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35581         entry.
35582         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35583         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35585         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35586         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35587         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35588         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35589         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35590         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35591         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35592         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35593         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35594         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35595         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35596         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35597         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35598         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35599         Likewise.
35600         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35601         Likewise.
35602         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35603         Likewise.
35604         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35605         Likewise.
35606         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35607         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35608         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35609         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35610         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35611         Specify lower bound on value.
35612         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35613         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35614         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35615         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35616         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35617         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35618         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35619         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35620         value.
35621         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35622         as optional.
35623         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35624         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35625         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35626         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35627         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35628         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35629         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35630         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35631         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35632         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35633         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35634         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35635         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35636         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35637         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35638         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35639         entry.
35640         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35641         optional.
35642         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35643         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35644         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35645         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35646         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35647         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35648         Likewise.
35649         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35650         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35651         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35652         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35653         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35654         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35655         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35656         as optional.
35657         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35658         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35660         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35661         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35662         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35663         specify as optional.
35664         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35665         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35666         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35667         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35668         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35669         [XPG3] (NL_LANGMAX): Likewise.
35670         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35671         [POSIX || XPG3] (NL_NMAX): Likewise.
35672         [POSIX || XPG3] (NL_SETMAX): Likewise.
35673         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35674         [XPG3] (NZERO): Likewise.
35675         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35676         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35677         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35678         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35679         (REG_ERANGE): Expect.
35680         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35681         optional-constant.
35682         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35683         Use (void) in prototype.
35684         [POSIX] (*_t): Allow.
35685         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35686         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35687         (WRDE_BADVAL): Expect.
35689         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35690         expect.
35691         [XPG3 || XPG4] (O_RSYNC): Likewise.
35692         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35693         Likewise.
35694         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35695         [XPG3 || XPG4] (sigqueue): Likewise.
35696         [XPG3 || XPG4] (sigtimedwait): Likewise.
35697         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35698         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35699         [XPG3 || XPG4] (vsnprintf): Likewise.
35700         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35701         Likewise.
35702         [XPG3 || XPG4] (blksize_t): Likewise.
35703         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35704         Likewise.
35705         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35706         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35707         [XPG3 || XPG4] (struct itimerspec): Likewise.
35708         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35709         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35710         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35711         [XPG3 || XPG4] (clockid_t): Likewise.
35712         [XPG3 || XPG4] (timer_t): Likewise.
35713         [XPG3 || XPG4] (clock_getres): Likewise.
35714         [XPG3 || XPG4] (clock_gettime): Likewise.
35715         [XPG3 || XPG4] (clock_settime): Likewise.
35716         [XPG3 || XPG4] (nanosleep): Likewise.
35717         [XPG3 || XPG4] (timer_create): Likewise.
35718         [XPG3 || XPG4] (timer_delete): Likewise.
35719         [XPG3 || XPG4] (timer_gettime): Likewise.
35720         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35721         [XPG3 || XPG4] (timer_settime): Likewise.
35722         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35723         [XPG3 || XPG4] (getlogin_r): Likewise.
35724         [XPG3 || XPG4] (pread): Likewise.
35725         [XPG3 || XPG4] (pthread_atfork): Likewise.
35726         [XPG3 || XPG4] (pwrite): Likewise.
35728         [BZ #14835]
35729         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35730         <bits/siginfo.h>.
35732 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35734         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35735         finalizing MALLSTREAM.
35737         * sysdeps/mach/hurd/syncfs.c: New file.
35739 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35741         [BZ #14719]
35742         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35743         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35744         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35745         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35746         (_nss_dns_gethostbyname4_r): Likewise.
35747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35748         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35750 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35752         [BZ #13763]
35753         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35755 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35757         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35758         * elf/cache.c (print_entry): Print ",AArch64" for
35759         FLAG_AARCH64_LIB64
35761         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35762         * elf/cache.c (print_entry): Print ",hard-float" for
35763         FLAG_ARM_LIBHF.
35765 2012-11-18  David S. Miller  <davem@davemloft.net>
35767         With help from Joseph Myers.
35768         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35769         cutoff to 2**-13.
35770         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35771         cutoff to 2**-25.
35772         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35773         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35774         small.
35775         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35776         * math/libm-test.inc (y0_test): New tests.
35777         (y1_test): New tests.
35778         * sysdeps/i386/fpu/libm-test-ulps: Update.
35779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35782 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35784         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35785         64-bit targets.
35786         * configure: Regenerated.
35788 2012-11-17  David S. Miller  <davem@davemloft.net>
35790         [BZ #14811]
35791         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35792         nonzero exponents with absolute value below 0x1p-128 to +/-
35793         0x1p-128.
35795 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35797         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35799         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35801         * posix/getconf-speclist.c: New file.
35802         * posix/posix-envs.def: Likewise.
35803         * posix/confstr.c (START_ENV_GROUP): New macro.
35804         (END_ENV_GROUP): Likewise.
35805         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35806         (KNOWN_PRESENT_ENV_STRING): Likewise.
35807         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35808         (UNKNOWN_ENVIRONMENT): Likewise.
35809         (confstr): Include posix-envs.def instead of handling
35810         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35811         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35812         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35813         (END_ENV_GROUP): Likewise.
35814         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35815         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35816         (UNKNOWN_ENVIRONMENT): Likewise.
35817         (__sysconf): Include posix-envs.def instead of handling associated
35818         cases directly here.
35819         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35820         preprocessing getconf-speclist.c rather than running getconf or
35821         generating empty file.
35823 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35825         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35827 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35829         [BZ #14672]
35830         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35832 2012-11-16  David S. Miller  <davem@davemloft.net>
35834         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35835         smaller than LDBL_EPSILON/2.0L, just return xm1.
35837 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35839         * elf/tst-array1.c (init): Set constructor priority to 1000.
35840         (fini): Set destructor priority to 1000.
35841         * elf/tst-array2dep.c: Likewise.
35843 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35845         [BZ #11741]
35846         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35847         (_IO_new_file_xsputn): Also return EOF if none of the input
35848         data was written when overflow failed.
35849         * libio/iopadn.c (_IO_padn): Likewise.
35850         * libio/iowpadn.c (_IO_wpadn): Likewise.
35851         * stdio-common/tst-put-error.c: Add copyright notice.
35852         (do_test): Add case for printing padded string.
35853         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35854         _IO_padn returned error.
35855         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35856         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35857         return EOF.
35859 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35861         * libio/libioP.h: Add comment note that the references to C++
35862         bits are now obsolete.
35864 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35866         * math/libm-test.inc (check_complex): Use asprintf.
35868 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35870         * debug/pcprofiledump.c (print_version): Update copyright year.
35871         * malloc/memusagestat.c (print_version): Likewise.
35873 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35875         [BZ #14831]
35876         * elf/Makefile (tests): Add tst-audit8.
35877         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35878         ($(objpfx)tst-audit8.out): New target.
35879         (tst-audit8-ENV): New variable.
35880         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35881         audit if l_reloc_result is NULL.
35882         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35883         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35884         * elf/tst-audit8.c: New file.
35886 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35888         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35889         * misc/Makefile (CFLAGS-select.c): Define.
35890         * posix/Makefile (CFLAGS-pause.c): Define.
35892 2012-11-13  David S. Miller  <davem@davemloft.net>
35894         * crypt/Makefile: Move test targets after toplevel Rules
35895         inclusion.  Grab any necessary sysdep routines when linking.
35896         * crypt/md5.c (md5_process_block): Remove define, we will always
35897         name it __md5_process_block.
35898         (md5_finish_ctx): Update md5_process_block call.
35899         (md5_stream): Likewise.
35900         (md5_process_bytes): Likewise.
35901         (md5_process_block): Rename to __md5_process_block and move to ...
35902         * crypt/md5-block.c: ... here.
35903         * crypt/sha256.c (sha256_process_block): Move to ...
35904         * crypt/sha256-block.c: ... here.
35905         * crypt/sha512.c (sha512_process_block): Move to ...
35906         * crypt/sha512-block.c: ... here.
35907         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35908         path.
35909         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35910         * sysdeps/sparc/sparc64/multiarch/Makefile
35911         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35912         crypt subdir.
35913         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35914         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35915         multiarch changes.
35916         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35917         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35918         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35919         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35920         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35921         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35922         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35923         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35924         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35925         file.
35926         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35927         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35928         file.
35929         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35931 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35933         * timezone/tzselect.ksh: Update from tzcode git revision
35934         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35935         * timezone/zdump.c: Likewise.
35936         * timezone/zic.c: Likewise.
35937         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35938         in TZVERSION setting, not $(PKGVERSION).
35939         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35940         REPORT_BUGS_TO settings.
35942         [BZ #14838]
35943         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35944         macro.
35946 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35948         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35949         detection to immediately after _FP_ROUND().
35950         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35951         bits are 0.
35953 2012-11-11  David S. Miller  <davem@davemloft.net>
35955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35956         inttypes.h
35957         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35958         __close rather than their public counterparts.
35960 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35962         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35963         file.
35964         [UNIX98] (sem_timedwait): Do not expect.
35965         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35966         [XPG4 || UNIX98] (sockatmark): Do not expect.
35967         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35968         (clock_getcpuclockid): Do not expect.
35969         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35970         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35971         Do not expect.
35972         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35973         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35974         [UNIX98] (vwscanf): Likewise.
35975         [UNIX98] (vswscanf): Likewise.
35977 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35979         * timezone/version.h: Remove file.
35980         * timezone/README: Do not refer to version.h.
35981         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35982         $(objpfx)version.h.
35983         ($(objpfx)zdump.o): Likewise.
35984         ($(objpfx)version.h): New target.
35986         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35987         2012i.
35988         * timezone/README: Don't mention modification to tzselect.ksh.
35989         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35990         work on unmodified tzselect.ksh.  Substitute version numbers in
35991         tzselect.ksh.
35993         * Makefile (format-me): Remove.
35994         (INSTALL): Adjust indentation.  Use commands directly instead of
35995         using $(format-me).
35997         * aclocal.m4 (ACX_PKGVERSION): New macro.
35998         (ACX_BUGURL): Likewise.
35999         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36000         (PKGVERSION): New AC_DEFINE_UNQUOTED.
36001         (REPORT_BUGS_TO): Likewise.
36002         * configure: Regenerated.
36003         * config.h.in (PKGVERSION): New macro.
36004         (REPORT_BUGS_TO): Likewise.
36005         * config.make.in (PKGVERSION): New variable.
36006         (PKGVERSION_TEXI): Likewise.
36007         (REPORT_BUGS_TO): Likewise.
36008         (REPORT_BUGS_TEXI): Likewise.
36009         * Makefile (format-me): Use -I$(common-objpfx)manual.
36010         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36011         ($(common-objpfx)manual/%): New target.
36012         (manual/%): Remove target.
36013         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36014         (print_version): Use PKGVERSION.
36015         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36016         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36017         and REPORT_BUGS_TO.
36018         ($(objpfx)xtrace): Likewise.
36019         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36020         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36021         (print_version): Use PKGVERSION.
36022         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36023         (do_version): Use PKGVERSION.
36024         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36025         REPORT_BUGS_TO.
36026         (common-ldd-rewrite): Likewise.
36027         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36028         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36029         (print_version): Use PKGVERSION.
36030         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36031         * elf/pldd.c (argp_program_bug_address): Remove variable.
36032         (more_help): New function.
36033         (argp): Use more_help.
36034         (print_version): Use PKGVERSION.
36035         * elf/sln.c (main): Use PKGVERSION.
36036         (usage): Use REPORT_BUGS_TO.
36037         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36038         (top level): Use PKGVERSION.
36039         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36040         (print_version): Use PKGVERSION.
36041         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36042         (print_version): Use PKGVERSION.
36043         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36044         (print_version): Use PKGVERSION.
36045         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36046         (print_version): Use PKGVERSION.
36047         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36048         (print_version): Use PKGVERSION.
36049         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36050         (print_version): Use PKGVERSION.
36051         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36052         and BUGURL.
36053         ($(objpfx)memusage): Likewise.
36054         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36055         (do_version): Use PKGVERSION.
36056         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36057         (print_version): Use PKGVERSION.
36058         * malloc/mtrace.pl ($PACKAGE): Remove variable.
36059         ($PKGVERSION): New variable.
36060         ($REPORT_BUGS_TO): Likewise.
36061         (usage): Use $REPORT_BUGS_TO.
36062         (top level): Use $PKGVERSION.
36063         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36064         ($(objpfx)pkgvers.texi): New rule.
36065         ($(objpfx)stamp-pkgvers): Likewise.
36066         * manual/install.texi: Include pkgvers.texi.
36067         (--with-pkgversion): Document new configure option.
36068         (--with-bugurl): Likewise.
36069         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36070         than necessarily for this particular distribution.  Use
36071         REPORT_BUGS_TO for where to report bugs.
36072         * INSTALL: Regenerated.
36073         * manual/libc.texinfo: Include pkgvers.texi.
36074         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36075         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36076         (print_version): Use PKGVERSION.
36077         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36078         (print_version): Use PKGVERSION.
36079         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36080         (print_version): Use PKGVERSION.
36081         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36082         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36083         macro.
36084         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36085         (print_version): Use PKGVERSION.
36086         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36087         (print_version): Use PKGVERSION.
36088         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36089         and PKGVERSION.
36091         * timezone/checktab.awk: Update from tzcode 2012i.
36092         * timezone/ialloc.c: Likewise.
36093         * timezone/private.h: Likewise.
36094         * timezone/scheck.c: Likewise.
36095         * timezone/tzfile.h: Likewise.
36096         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36097         (TZVERSION): Hardcode tzcode version number.
36098         * timezone/zdump.c: Update from tzcode 2012i.
36099         * timezone/zic.c: Likewise.
36100         * timezone/version.h: New file.
36101         * timezone/README: Describe version.h.  Update upstream location.
36103         [BZ #14824]
36104         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36105         (mktemp): Enable declaration.
36106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36110         Likewise.
36111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36112         Likewise.
36113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36114         Likewise.
36115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36116         Likewise.
36117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36118         Likewise.
36119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36120         Likewise.
36122         [BZ #14821]
36123         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36124         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
36125         for copies of such integer values.
36126         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36127         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36129 2012-11-09  Andreas Jaeger  <aj@suse.de>
36131         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36132         definitions and declarations that are provided by
36133         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36135 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36137         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36138         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36139         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36140         definition.
36142 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36144         * elf/elf.h: Update comment before AArch64 relocations.
36146 2012-11-07  David S. Miller  <davem@davemloft.net>
36148         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36149         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36150         (__start_context): Declare.
36151         (__makecontext_ret): Delete.
36152         (__makecontext): Hook up __start_context instead of
36153         __makecontext_ret.
36154         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36155         (sysdep_routines): Add __start_context when in stdlib.
36157 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36159         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36160         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36161         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
36162         hardcoded "nm".
36163         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
36164         (READELF): New variable.  Use it instead of hardcoded "readelf".
36166 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36168         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36169         * sysdeps/x86/Makefile: Here.
36170         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36171         * sysdeps/x86/tst-xmmymm.sh: This.
36173 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36175         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36176         expectations.
36177         [UNIX98] (pthread_barrier_t): Do not expect.
36178         [UNIX98] (pthread_barrierattr_t): Likewise.
36179         [UNIX98] (pthread_spinlock_t): Likewise.
36180         [UNIX98] (pthread_barrier_destroy): Likewise.
36181         [UNIX98] (pthread_barrier_init): Likewise.
36182         [UNIX98] (pthread_barrier_wait): Likewise.
36183         [UNIX98] (pthread_barrierattr_destroy): Likewise.
36184         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36185         [UNIX98] (pthread_barrierattr_init): Likewise.
36186         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36187         [UNIX98] (pthread_getcpuclockid): Likewise.
36188         [UNIX98] (pthread_mutex_timedlock): Likewise.
36189         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36190         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36191         [UNIX98] (pthread_sigmask): Likewise.
36192         [UNIX98] (pthread_spin_destroy): Likewise.
36193         [UNIX98] (pthread_spin_init): Likewise.
36194         [UNIX98] (pthread_spin_lock): Likewise.
36195         [UNIX98] (pthread_spin_trylock): Likewise.
36196         [UNIX98] (pthread_spin_unlock): Likewise.
36197         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36198         Do not expect.
36199         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36200         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36201         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36202         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36203         [XPG3 || XPG4] (pthread_key_t): Likewise.
36204         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36205         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36206         [XPG3 || XPG4] (pthread_once_t): Likewise.
36207         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36208         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36209         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36210         [XPG3 || XPG4] (pthread_t): Likewise.
36212         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36213         not expect.
36214         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36216         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36217         Change function return type to int.
36219         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36220         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36221         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36222         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36223         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36224         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36225         [!POSIX] (posix_madvise): Likewise.
36226         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36227         && !UNIX98].
36228         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36229         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36230         (mode_t): Likewise.
36231         (posix_mem_offset): Likewise.
36232         (posix_typed_mem_get_info): Likewise.
36233         (posix_typed_mem_open): Likewise.
36235         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36236         Change condition to [XOPEN2K8].
36238         * conform/conformtest.pl: Preprocess allow-header data with -x c
36239         instead of from stdin.
36240         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36241         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36242         [C99-based standards] (cerfc): Likewise.
36243         [C99-based standards] (cexp2): Likewise.
36244         [C99-based standards] (cexpm1): Likewise.
36245         [C99-based standards] (clog10): Likewise.
36246         [C99-based standards] (clog1p): Likewise.
36247         [C99-based standards] (clog2): Likewise.
36248         [C99-based standards] (clgamma): Likewise.
36249         [C99-based standards] (ctgamma): Likewise.
36250         [C99-based standards] (cerff): Likewise.
36251         [C99-based standards] (cerfcf): Likewise.
36252         [C99-based standards] (cexp2f): Likewise.
36253         [C99-based standards] (cexpm1f): Likewise.
36254         [C99-based standards] (clog10f): Likewise.
36255         [C99-based standards] (clog1pf): Likewise.
36256         [C99-based standards] (clog2f): Likewise.
36257         [C99-based standards] (clgammaf): Likewise.
36258         [C99-based standards] (ctgammaf): Likewise.
36259         [C99-based standards] (cerfl): Likewise.
36260         [C99-based standards] (cerfcl): Likewise.
36261         [C99-based standards] (cexp2l): Likewise.
36262         [C99-based standards] (cexpm1l): Likewise.
36263         [C99-based standards] (clog10l): Likewise.
36264         [C99-based standards] (clog1pl): Likewise.
36265         [C99-based standards] (clog2l): Likewise.
36266         [C99-based standards] (clgammal): Likewise.
36267         [C99-based standards] (ctgammal): Likewise.
36268         * conform/data/inttypes.h-data [C99-based standards]: Include
36269         stdint.h-data.  Remove all expectations for stdint.h contents.
36270         [C99-based standards] (PRI*): Do not allow.
36271         [C99-based standards] (SCN*): Likewise.
36272         [C99-based standards] (*_t): Likewise.
36273         [C99-based-standards] (PRId8): Expect macro.
36274         [C99-based-standards] (PRIi8): Likewise.
36275         [C99-based-standards] (PRIo8): Likewise.
36276         [C99-based-standards] (PRIu8): Likewise.
36277         [C99-based-standards] (PRIx8): Likewise.
36278         [C99-based-standards] (PRIX8): Likewise.
36279         [C99-based-standards] (SCNd8): Likewise.
36280         [C99-based-standards] (SCNi8): Likewise.
36281         [C99-based-standards] (SCNo8): Likewise.
36282         [C99-based-standards] (SCNu8): Likewise.
36283         [C99-based-standards] (SCNx8): Likewise.
36284         [C99-based-standards] (PRIdLEAST8): Likewise.
36285         [C99-based-standards] (PRIiLEAST8): Likewise.
36286         [C99-based-standards] (PRIoLEAST8): Likewise.
36287         [C99-based-standards] (PRIuLEAST8): Likewise.
36288         [C99-based-standards] (PRIxLEAST8): Likewise.
36289         [C99-based-standards] (PRIXLEAST8): Likewise.
36290         [C99-based-standards] (SCNdLEAST8): Likewise.
36291         [C99-based-standards] (SCNiLEAST8): Likewise.
36292         [C99-based-standards] (SCNoLEAST8): Likewise.
36293         [C99-based-standards] (SCNuLEAST8): Likewise.
36294         [C99-based-standards] (SCNxLEAST8): Likewise.
36295         [C99-based-standards] (PRIdFAST8): Likewise.
36296         [C99-based-standards] (PRIiFAST8): Likewise.
36297         [C99-based-standards] (PRIoFAST8): Likewise.
36298         [C99-based-standards] (PRIuFAST8): Likewise.
36299         [C99-based-standards] (PRIxFAST8): Likewise.
36300         [C99-based-standards] (PRIXFAST8): Likewise.
36301         [C99-based-standards] (SCNdFAST8): Likewise.
36302         [C99-based-standards] (SCNiFAST8): Likewise.
36303         [C99-based-standards] (SCNoFAST8): Likewise.
36304         [C99-based-standards] (SCNuFAST8): Likewise.
36305         [C99-based-standards] (SCNxFAST8): Likewise.
36306         [C99-based-standards] (PRId16): Likewise.
36307         [C99-based-standards] (PRIi16): Likewise.
36308         [C99-based-standards] (PRIo16): Likewise.
36309         [C99-based-standards] (PRIu16): Likewise.
36310         [C99-based-standards] (PRIx16): Likewise.
36311         [C99-based-standards] (PRIX16): Likewise.
36312         [C99-based-standards] (SCNd16): Likewise.
36313         [C99-based-standards] (SCNi16): Likewise.
36314         [C99-based-standards] (SCNo16): Likewise.
36315         [C99-based-standards] (SCNu16): Likewise.
36316         [C99-based-standards] (SCNx16): Likewise.
36317         [C99-based-standards] (PRIdLEAST16): Likewise.
36318         [C99-based-standards] (PRIiLEAST16): Likewise.
36319         [C99-based-standards] (PRIoLEAST16): Likewise.
36320         [C99-based-standards] (PRIuLEAST16): Likewise.
36321         [C99-based-standards] (PRIxLEAST16): Likewise.
36322         [C99-based-standards] (PRIXLEAST16): Likewise.
36323         [C99-based-standards] (SCNdLEAST16): Likewise.
36324         [C99-based-standards] (SCNiLEAST16): Likewise.
36325         [C99-based-standards] (SCNoLEAST16): Likewise.
36326         [C99-based-standards] (SCNuLEAST16): Likewise.
36327         [C99-based-standards] (SCNxLEAST16): Likewise.
36328         [C99-based-standards] (PRIdFAST16): Likewise.
36329         [C99-based-standards] (PRIiFAST16): Likewise.
36330         [C99-based-standards] (PRIoFAST16): Likewise.
36331         [C99-based-standards] (PRIuFAST16): Likewise.
36332         [C99-based-standards] (PRIxFAST16): Likewise.
36333         [C99-based-standards] (PRIXFAST16): Likewise.
36334         [C99-based-standards] (SCNdFAST16): Likewise.
36335         [C99-based-standards] (SCNiFAST16): Likewise.
36336         [C99-based-standards] (SCNoFAST16): Likewise.
36337         [C99-based-standards] (SCNuFAST16): Likewise.
36338         [C99-based-standards] (SCNxFAST16): Likewise.
36339         [C99-based-standards] (PRId32): Likewise.
36340         [C99-based-standards] (PRIi32): Likewise.
36341         [C99-based-standards] (PRIo32): Likewise.
36342         [C99-based-standards] (PRIu32): Likewise.
36343         [C99-based-standards] (PRIx32): Likewise.
36344         [C99-based-standards] (PRIX32): Likewise.
36345         [C99-based-standards] (SCNd32): Likewise.
36346         [C99-based-standards] (SCNi32): Likewise.
36347         [C99-based-standards] (SCNo32): Likewise.
36348         [C99-based-standards] (SCNu32): Likewise.
36349         [C99-based-standards] (SCNx32): Likewise.
36350         [C99-based-standards] (PRIdLEAST32): Likewise.
36351         [C99-based-standards] (PRIiLEAST32): Likewise.
36352         [C99-based-standards] (PRIoLEAST32): Likewise.
36353         [C99-based-standards] (PRIuLEAST32): Likewise.
36354         [C99-based-standards] (PRIxLEAST32): Likewise.
36355         [C99-based-standards] (PRIXLEAST32): Likewise.
36356         [C99-based-standards] (SCNdLEAST32): Likewise.
36357         [C99-based-standards] (SCNiLEAST32): Likewise.
36358         [C99-based-standards] (SCNoLEAST32): Likewise.
36359         [C99-based-standards] (SCNuLEAST32): Likewise.
36360         [C99-based-standards] (SCNxLEAST32): Likewise.
36361         [C99-based-standards] (PRIdFAST32): Likewise.
36362         [C99-based-standards] (PRIiFAST32): Likewise.
36363         [C99-based-standards] (PRIoFAST32): Likewise.
36364         [C99-based-standards] (PRIuFAST32): Likewise.
36365         [C99-based-standards] (PRIxFAST32): Likewise.
36366         [C99-based-standards] (PRIXFAST32): Likewise.
36367         [C99-based-standards] (SCNdFAST32): Likewise.
36368         [C99-based-standards] (SCNiFAST32): Likewise.
36369         [C99-based-standards] (SCNoFAST32): Likewise.
36370         [C99-based-standards] (SCNuFAST32): Likewise.
36371         [C99-based-standards] (SCNxFAST32): Likewise.
36372         [C99-based-standards] (PRId64): Likewise.
36373         [C99-based-standards] (PRIi64): Likewise.
36374         [C99-based-standards] (PRIo64): Likewise.
36375         [C99-based-standards] (PRIu64): Likewise.
36376         [C99-based-standards] (PRIx64): Likewise.
36377         [C99-based-standards] (PRIX64): Likewise.
36378         [C99-based-standards] (SCNd64): Likewise.
36379         [C99-based-standards] (SCNi64): Likewise.
36380         [C99-based-standards] (SCNo64): Likewise.
36381         [C99-based-standards] (SCNu64): Likewise.
36382         [C99-based-standards] (SCNx64): Likewise.
36383         [C99-based-standards] (PRIdLEAST64): Likewise.
36384         [C99-based-standards] (PRIiLEAST64): Likewise.
36385         [C99-based-standards] (PRIoLEAST64): Likewise.
36386         [C99-based-standards] (PRIuLEAST64): Likewise.
36387         [C99-based-standards] (PRIxLEAST64): Likewise.
36388         [C99-based-standards] (PRIXLEAST64): Likewise.
36389         [C99-based-standards] (SCNdLEAST64): Likewise.
36390         [C99-based-standards] (SCNiLEAST64): Likewise.
36391         [C99-based-standards] (SCNoLEAST64): Likewise.
36392         [C99-based-standards] (SCNuLEAST64): Likewise.
36393         [C99-based-standards] (SCNxLEAST64): Likewise.
36394         [C99-based-standards] (PRIdFAST64): Likewise.
36395         [C99-based-standards] (PRIiFAST64): Likewise.
36396         [C99-based-standards] (PRIoFAST64): Likewise.
36397         [C99-based-standards] (PRIuFAST64): Likewise.
36398         [C99-based-standards] (PRIxFAST64): Likewise.
36399         [C99-based-standards] (PRIXFAST64): Likewise.
36400         [C99-based-standards] (SCNdFAST64): Likewise.
36401         [C99-based-standards] (SCNiFAST64): Likewise.
36402         [C99-based-standards] (SCNoFAST64): Likewise.
36403         [C99-based-standards] (SCNuFAST64): Likewise.
36404         [C99-based-standards] (SCNxFAST64): Likewise.
36405         [C99-based-standards] (PRIdMAX): Likewise.
36406         [C99-based-standards] (PRIiMAX): Likewise.
36407         [C99-based-standards] (PRIoMAX): Likewise.
36408         [C99-based-standards] (PRIuMAX): Likewise.
36409         [C99-based-standards] (PRIxMAX): Likewise.
36410         [C99-based-standards] (PRIXMAX): Likewise.
36411         [C99-based-standards] (SCNdMAX): Likewise.
36412         [C99-based-standards] (SCNiMAX): Likewise.
36413         [C99-based-standards] (SCNoMAX): Likewise.
36414         [C99-based-standards] (SCNuMAX): Likewise.
36415         [C99-based-standards] (SCNxMAX): Likewise.
36416         [C99-based-standards] (PRIdPTR): Likewise.
36417         [C99-based-standards] (PRIiPTR): Likewise.
36418         [C99-based-standards] (PRIoPTR): Likewise.
36419         [C99-based-standards] (PRIuPTR): Likewise.
36420         [C99-based-standards] (PRIxPTR): Likewise.
36421         [C99-based-standards] (PRIXPTR): Likewise.
36422         [C99-based-standards] (SCNdPTR): Likewise.
36423         [C99-based-standards] (SCNiPTR): Likewise.
36424         [C99-based-standards] (SCNoPTR): Likewise.
36425         [C99-based-standards] (SCNuPTR): Likewise.
36426         [C99-based-standards] (SCNxPTR): Likewise.
36427         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36428         allow.
36429         * conform/data/stdint.h-data: Update comments to clarify
36430         requirements.
36431         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36432         type.
36433         [C99-based standards] (INT8_MAX): Likewise.
36434         [C99-based standards] (INT16_MIN): Likewise.
36435         [C99-based standards] (INT16_MAX): Likewise.
36436         [C99-based standards] (INT32_MIN): Likewise.
36437         [C99-based standards] (INT32_MAX): Likewise.
36438         [C99-based standards] (INT64_MIN): Likewise.
36439         [C99-based standards] (INT64_MAX): Likewise.
36440         [C99-based standards] (UINT8_MAX): Likewise.
36441         [C99-based standards] (UINT16_MAX): Likewise.
36442         [C99-based standards] (UINT32_MAX): Likewise.
36443         [C99-based standards] (UINT64_MAX): Likewise.
36444         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36445         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36446         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36447         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36448         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36449         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36450         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36451         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36452         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36453         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36454         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36455         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36456         [C99-based standards] (INT_FAST8_MIN): Likewise.
36457         [C99-based standards] (INT_FAST8_MAX): Likewise.
36458         [C99-based standards] (INT_FAST16_MIN): Likewise.
36459         [C99-based standards] (INT_FAST16_MAX): Likewise.
36460         [C99-based standards] (INT_FAST32_MIN): Likewise.
36461         [C99-based standards] (INT_FAST32_MAX): Likewise.
36462         [C99-based standards] (INT_FAST64_MIN): Likewise.
36463         [C99-based standards] (INT_FAST64_MAX): Likewise.
36464         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36465         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36466         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36467         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36468         [C99-based standards] (INTPTR_MIN): Likewise.
36469         [C99-based standards] (INTPTR_MAX): Likewise.
36470         [C99-based standards] (UINTPTR_MAX): Likewise.
36471         [C99-based standards] (INTMAX_MIN): Likewise.
36472         [C99-based standards] (INTMAX_MAX): Likewise.
36473         [C99-based standards] (UINTMAX_MAX): Likewise.
36474         [C99-based standards] (PTRDIFF_MIN): Likewise.
36475         [C99-based standards] (PTRDIFF_MAX): Likewise.
36476         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36477         [C99-based standards] (SIZE_MAX): Likewise.
36478         [C99-based standards] (WCHAR_MAX): Likewise.
36479         [C99-based standards] (WINT_MAX): Likewise.
36480         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36481         constraint on value.
36482         [C99-based standards] (WCHAR_MIN): Likewise.
36483         [C99-based standards] (WINT_MIN): Likewise.
36484         [C99-based standards] (*_t): Allow.
36485         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36486         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36487         Include math.h-data and complex.h-data.  Remove all expectations
36488         of math.h and complex.h contents.
36489         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36490         at end of line.
36491         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36492         (struct tm): Expect tag.
36493         [C99-based-standards] (wcstof): Expect function.
36494         [C99-based-standards] (wcstold): Likewise.
36495         [C99-based-standards] (wcstoll): Likewise.
36496         [C99-based-standards] (wcstoull): Likewise.
36497         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36498         macro-int-constant.  Specify type.
36499         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36500         constraint on value.
36501         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36502         Specify type.
36503         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36504         Specify value.
36505         [ISO C standards]: Do not allow headers.
36506         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36507         wcs[abcdefghijklmnopqrstuvwxyz]*.
36508         [ISO C standards] (*_t): Do not allow.
36509         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36510         Expect function.
36511         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36512         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36513         Specify type.
36514         [ISO C standards]: Do not allow headers.
36515         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36516         is[abcdefghijklmnopqrstuvwxyz]*.
36517         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36518         to[abcdefghijklmnopqrstuvwxyz]*.
36519         [ISO C standards] (*_t): Do not allow.
36520         * conform/data/stdalign.h-data: New file.
36521         * conform/data/stdbool.h-data: Likewise.
36522         * conform/data/stdnoreturn.h-data: Likewise.
36524 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36526         [BZ #14815]
36527         * manual/filesys.texi (Directory Entries): Typo fix.
36528         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36530 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36532         * elf/elf.h (EM_AARCH64): New macro.
36533         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36534         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36535         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36536         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36537         (R_AARCH64_TLSDESC): Likewise.
36538         (NT_ARM_TLS): Likewise.
36539         (NT_ARM_HW_BREAK): Likewise.
36540         (NT_ARM_HW_WATCH): Likewise.
36542 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36544         [BZ #14811]
36545         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36546         (__ieee754_powl): Saturate nonzero exponents with absolute value
36547         below 0x1p-79 to +/- 0x1p-79.
36548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36549         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36550         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36551         nonzero exponents with absolute value below 0x1p-32 to +/-
36552         0x1p-32.
36553         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36554         (__ieee754_powl): Saturate nonzero exponents with absolute value
36555         below 0x1p-79 to +/- 0x1p-79.
36556         * math/libm-test.inc (pow_test): Add more tests.
36558 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36560         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36561         _dl_s390_cap_flags with kernel. Increase string length.
36562         (_dl_s390_platforms): Add z196 and zEC12.
36564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36566         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36567         Change XOPEN21K to XOPEN2K.
36569 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36571         * string/memmove.c: Use memcpy when possible.
36573 2012-11-06  Andreas Jaeger  <aj@suse.de>
36575         * po/eo.po: Update from translation team.
36577 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36579         [BZ #14793]
36580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36581         exponent and small x and y exponents, scale x or y up.  Increase
36582         by 2 the exponent used in scaling up.
36583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36585         * math/libm-test.inc (fma_test): Add more tests.
36586         (fma_test_towardzero): Likewise.
36587         (fma_test_downward): Likewise.
36588         (fma_test_upward): Likewise.
36590 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36592         [BZ #14805]
36593         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36594         fenv_t *.
36596         [BZ #14801]
36597         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36598         namespace for names of struct fields.
36599         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36600         fenv_t fields.
36601         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36602         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36604 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36606         [BZ #3665]
36607         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36609 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36611         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36612         PTR_DEMANGLE.
36614         [BZ #5246]
36615         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36616         PTR_DEMANGLE.
36618 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36620         [BZ #14797]
36621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36622         definitely overflow as x * y not x * y + z.
36623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36625         * math/libm-test.inc (fma_test): Add more tests.
36626         (fma_test_towardzero): Likewise.
36627         (fma_test_downward): Likewise.
36628         (fma_test_upward): Likewise.
36630 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36632         [BZ #157]
36634         * include/stub-tag.h: Remove file.
36635         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36636         '#include' of it.
36637         * manual/maint.texi (Porting): Don't reference it.
36638         * Makerules ($(objpfx)stubs): Likewise.
36639         * dirent/closedir.c: Don't include <stub-tag.h>.
36640         * dirent/dirfd.c: Likewise.
36641         * dirent/fdopendir.c: Likewise.
36642         * dirent/getdents.c: Likewise.
36643         * dirent/getdents64.c: Likewise.
36644         * dirent/opendir.c: Likewise.
36645         * dirent/readdir.c: Likewise.
36646         * dirent/readdir64.c: Likewise.
36647         * dirent/readdir64_r.c: Likewise.
36648         * dirent/readdir_r.c: Likewise.
36649         * dirent/rewinddir.c: Likewise.
36650         * dirent/seekdir.c: Likewise.
36651         * dirent/telldir.c: Likewise.
36652         * gmon/profil.c: Likewise.
36653         * grp/setgroups.c: Likewise.
36654         * inet/if_index.c: Likewise.
36655         * io/access.c: Likewise.
36656         * io/chdir.c: Likewise.
36657         * io/chmod.c: Likewise.
36658         * io/chown.c: Likewise.
36659         * io/close.c: Likewise.
36660         * io/dup.c: Likewise.
36661         * io/dup2.c: Likewise.
36662         * io/dup3.c: Likewise.
36663         * io/euidaccess.c: Likewise.
36664         * io/faccessat.c: Likewise.
36665         * io/fchdir.c: Likewise.
36666         * io/fchmod.c: Likewise.
36667         * io/fchmodat.c: Likewise.
36668         * io/fchown.c: Likewise.
36669         * io/fchownat.c: Likewise.
36670         * io/fcntl.c: Likewise.
36671         * io/flock.c: Likewise.
36672         * io/fstatfs.c: Likewise.
36673         * io/fstatfs64.c: Likewise.
36674         * io/fstatvfs.c: Likewise.
36675         * io/fstatvfs64.c: Likewise.
36676         * io/futimens.c: Likewise.
36677         * io/fxstat.c: Likewise.
36678         * io/fxstat64.c: Likewise.
36679         * io/fxstatat.c: Likewise.
36680         * io/fxstatat64.c: Likewise.
36681         * io/getcwd.c: Likewise.
36682         * io/isatty.c: Likewise.
36683         * io/lchmod.c: Likewise.
36684         * io/lchown.c: Likewise.
36685         * io/link.c: Likewise.
36686         * io/linkat.c: Likewise.
36687         * io/lseek.c: Likewise.
36688         * io/lseek64.c: Likewise.
36689         * io/lxstat64.c: Likewise.
36690         * io/mkdir.c: Likewise.
36691         * io/mkdirat.c: Likewise.
36692         * io/mkfifo.c: Likewise.
36693         * io/mkfifoat.c: Likewise.
36694         * io/open.c: Likewise.
36695         * io/open64.c: Likewise.
36696         * io/openat.c: Likewise.
36697         * io/openat64.c: Likewise.
36698         * io/pipe.c: Likewise.
36699         * io/pipe2.c: Likewise.
36700         * io/poll.c: Likewise.
36701         * io/posix_fadvise.c: Likewise.
36702         * io/posix_fadvise64.c: Likewise.
36703         * io/posix_fallocate.c: Likewise.
36704         * io/posix_fallocate64.c: Likewise.
36705         * io/read.c: Likewise.
36706         * io/readlink.c: Likewise.
36707         * io/readlinkat.c: Likewise.
36708         * io/rmdir.c: Likewise.
36709         * io/sendfile.c: Likewise.
36710         * io/sendfile64.c: Likewise.
36711         * io/statfs.c: Likewise.
36712         * io/statfs64.c: Likewise.
36713         * io/statvfs.c: Likewise.
36714         * io/statvfs64.c: Likewise.
36715         * io/symlink.c: Likewise.
36716         * io/symlinkat.c: Likewise.
36717         * io/ttyname.c: Likewise.
36718         * io/ttyname_r.c: Likewise.
36719         * io/umask.c: Likewise.
36720         * io/unlink.c: Likewise.
36721         * io/unlinkat.c: Likewise.
36722         * io/utime.c: Likewise.
36723         * io/utimensat.c: Likewise.
36724         * io/write.c: Likewise.
36725         * io/xmknod.c: Likewise.
36726         * io/xmknodat.c: Likewise.
36727         * io/xstat.c: Likewise.
36728         * io/xstat64.c: Likewise.
36729         * login/getpt.c: Likewise.
36730         * login/grantpt.c: Likewise.
36731         * login/unlockpt.c: Likewise.
36732         * math/e_acoshl.c: Likewise.
36733         * math/e_acosl.c: Likewise.
36734         * math/e_asinl.c: Likewise.
36735         * math/e_atan2l.c: Likewise.
36736         * math/e_atanhl.c: Likewise.
36737         * math/e_coshl.c: Likewise.
36738         * math/e_expl.c: Likewise.
36739         * math/e_fmodl.c: Likewise.
36740         * math/e_gammal_r.c: Likewise.
36741         * math/e_hypotl.c: Likewise.
36742         * math/e_j0l.c: Likewise.
36743         * math/e_j1l.c: Likewise.
36744         * math/e_jnl.c: Likewise.
36745         * math/e_lgammal_r.c: Likewise.
36746         * math/e_log10l.c: Likewise.
36747         * math/e_log2l.c: Likewise.
36748         * math/e_logl.c: Likewise.
36749         * math/e_powl.c: Likewise.
36750         * math/e_rem_pio2l.c: Likewise.
36751         * math/e_sinhl.c: Likewise.
36752         * math/e_sqrtl.c: Likewise.
36753         * math/fclrexcpt.c: Likewise.
36754         * math/fedisblxcpt.c: Likewise.
36755         * math/feenablxcpt.c: Likewise.
36756         * math/fegetenv.c: Likewise.
36757         * math/fegetexcept.c: Likewise.
36758         * math/fegetround.c: Likewise.
36759         * math/feholdexcpt.c: Likewise.
36760         * math/fesetenv.c: Likewise.
36761         * math/fesetround.c: Likewise.
36762         * math/feupdateenv.c: Likewise.
36763         * math/fgetexcptflg.c: Likewise.
36764         * math/fraiseexcpt.c: Likewise.
36765         * math/fsetexcptflg.c: Likewise.
36766         * math/ftestexcept.c: Likewise.
36767         * math/k_cosl.c: Likewise.
36768         * math/k_rem_pio2l.c: Likewise.
36769         * math/k_sinl.c: Likewise.
36770         * math/k_tanl.c: Likewise.
36771         * math/s_asinhl.c: Likewise.
36772         * math/s_atanl.c: Likewise.
36773         * math/s_cbrtl.c: Likewise.
36774         * math/s_erfl.c: Likewise.
36775         * math/s_expm1l.c: Likewise.
36776         * math/s_log1pl.c: Likewise.
36777         * math/s_tanhl.c: Likewise.
36778         * misc/acct.c: Likewise.
36779         * misc/brk.c: Likewise.
36780         * misc/chflags.c: Likewise.
36781         * misc/chroot.c: Likewise.
36782         * misc/fchflags.c: Likewise.
36783         * misc/fgetxattr.c: Likewise.
36784         * misc/flistxattr.c: Likewise.
36785         * misc/fremovexattr.c: Likewise.
36786         * misc/fsetxattr.c: Likewise.
36787         * misc/fsync.c: Likewise.
36788         * misc/ftruncate.c: Likewise.
36789         * misc/futimes.c: Likewise.
36790         * misc/futimesat.c: Likewise.
36791         * misc/getdomain.c: Likewise.
36792         * misc/getdtsz.c: Likewise.
36793         * misc/gethostid.c: Likewise.
36794         * misc/gethostname.c: Likewise.
36795         * misc/getloadavg.c: Likewise.
36796         * misc/getpagesize.c: Likewise.
36797         * misc/getsysstats.c: Likewise.
36798         * misc/getxattr.c: Likewise.
36799         * misc/gtty.c: Likewise.
36800         * misc/ioctl.c: Likewise.
36801         * misc/lgetxattr.c: Likewise.
36802         * misc/listxattr.c: Likewise.
36803         * misc/llistxattr.c: Likewise.
36804         * misc/lremovexattr.c: Likewise.
36805         * misc/lsetxattr.c: Likewise.
36806         * misc/lutimes.c: Likewise.
36807         * misc/madvise.c: Likewise.
36808         * misc/mincore.c: Likewise.
36809         * misc/mlock.c: Likewise.
36810         * misc/mlockall.c: Likewise.
36811         * misc/mmap.c: Likewise.
36812         * misc/mprotect.c: Likewise.
36813         * misc/msync.c: Likewise.
36814         * misc/munlock.c: Likewise.
36815         * misc/munlockall.c: Likewise.
36816         * misc/munmap.c: Likewise.
36817         * misc/preadv.c: Likewise.
36818         * misc/preadv64.c: Likewise.
36819         * misc/ptrace.c: Likewise.
36820         * misc/pwritev.c: Likewise.
36821         * misc/pwritev64.c: Likewise.
36822         * misc/readv.c: Likewise.
36823         * misc/reboot.c: Likewise.
36824         * misc/remap_file_pages.c: Likewise.
36825         * misc/removexattr.c: Likewise.
36826         * misc/revoke.c: Likewise.
36827         * misc/select.c: Likewise.
36828         * misc/setdomain.c: Likewise.
36829         * misc/setegid.c: Likewise.
36830         * misc/seteuid.c: Likewise.
36831         * misc/sethostid.c: Likewise.
36832         * misc/sethostname.c: Likewise.
36833         * misc/setregid.c: Likewise.
36834         * misc/setreuid.c: Likewise.
36835         * misc/setxattr.c: Likewise.
36836         * misc/sstk.c: Likewise.
36837         * misc/stty.c: Likewise.
36838         * misc/swapoff.c: Likewise.
36839         * misc/swapon.c: Likewise.
36840         * misc/sync.c: Likewise.
36841         * misc/syncfs.c: Likewise.
36842         * misc/syscall.c: Likewise.
36843         * misc/truncate.c: Likewise.
36844         * misc/ualarm.c: Likewise.
36845         * misc/usleep.c: Likewise.
36846         * misc/ustat.c: Likewise.
36847         * misc/utimes.c: Likewise.
36848         * misc/vhangup.c: Likewise.
36849         * misc/writev.c: Likewise.
36850         * posix/_exit.c: Likewise.
36851         * posix/alarm.c: Likewise.
36852         * posix/execve.c: Likewise.
36853         * posix/fexecve.c: Likewise.
36854         * posix/fork.c: Likewise.
36855         * posix/fpathconf.c: Likewise.
36856         * posix/getaddrinfo.c: Likewise.
36857         * posix/getegid.c: Likewise.
36858         * posix/geteuid.c: Likewise.
36859         * posix/getgid.c: Likewise.
36860         * posix/getgroups.c: Likewise.
36861         * posix/getlogin.c: Likewise.
36862         * posix/getlogin_r.c: Likewise.
36863         * posix/getpgid.c: Likewise.
36864         * posix/getpid.c: Likewise.
36865         * posix/getppid.c: Likewise.
36866         * posix/getresgid.c: Likewise.
36867         * posix/getresuid.c: Likewise.
36868         * posix/getsid.c: Likewise.
36869         * posix/getuid.c: Likewise.
36870         * posix/glob64.c: Likewise.
36871         * posix/nanosleep.c: Likewise.
36872         * posix/pathconf.c: Likewise.
36873         * posix/pause.c: Likewise.
36874         * posix/posix_madvise.c: Likewise.
36875         * posix/pread.c: Likewise.
36876         * posix/pread64.c: Likewise.
36877         * posix/pwrite.c: Likewise.
36878         * posix/pwrite64.c: Likewise.
36879         * posix/sched_getaffinity.c: Likewise.
36880         * posix/sched_getp.c: Likewise.
36881         * posix/sched_gets.c: Likewise.
36882         * posix/sched_primax.c: Likewise.
36883         * posix/sched_primin.c: Likewise.
36884         * posix/sched_rr_gi.c: Likewise.
36885         * posix/sched_setaffinity.c: Likewise.
36886         * posix/sched_setp.c: Likewise.
36887         * posix/sched_sets.c: Likewise.
36888         * posix/sched_yield.c: Likewise.
36889         * posix/setgid.c: Likewise.
36890         * posix/setlogin.c: Likewise.
36891         * posix/setpgid.c: Likewise.
36892         * posix/setresgid.c: Likewise.
36893         * posix/setresuid.c: Likewise.
36894         * posix/setsid.c: Likewise.
36895         * posix/setuid.c: Likewise.
36896         * posix/sleep.c: Likewise.
36897         * posix/spawni.c: Likewise.
36898         * posix/sysconf.c: Likewise.
36899         * posix/times.c: Likewise.
36900         * posix/wait.c: Likewise.
36901         * posix/wait3.c: Likewise.
36902         * posix/wait4.c: Likewise.
36903         * posix/waitpid.c: Likewise.
36904         * resolv/gai_sigqueue.c: Likewise.
36905         * resource/getpriority.c: Likewise.
36906         * resource/getrlimit.c: Likewise.
36907         * resource/getrusage.c: Likewise.
36908         * resource/nice.c: Likewise.
36909         * resource/setpriority.c: Likewise.
36910         * resource/setrlimit.c: Likewise.
36911         * resource/ulimit.c: Likewise.
36912         * rt/aio_cancel.c: Likewise.
36913         * rt/aio_fsync.c: Likewise.
36914         * rt/aio_read.c: Likewise.
36915         * rt/aio_sigqueue.c: Likewise.
36916         * rt/aio_suspend.c: Likewise.
36917         * rt/aio_write.c: Likewise.
36918         * rt/clock_getres.c: Likewise.
36919         * rt/clock_gettime.c: Likewise.
36920         * rt/clock_nanosleep.c: Likewise.
36921         * rt/clock_settime.c: Likewise.
36922         * rt/lio_listio.c: Likewise.
36923         * rt/mq_close.c: Likewise.
36924         * rt/mq_getattr.c: Likewise.
36925         * rt/mq_notify.c: Likewise.
36926         * rt/mq_open.c: Likewise.
36927         * rt/mq_receive.c: Likewise.
36928         * rt/mq_send.c: Likewise.
36929         * rt/mq_setattr.c: Likewise.
36930         * rt/mq_timedreceive.c: Likewise.
36931         * rt/mq_timedsend.c: Likewise.
36932         * rt/mq_unlink.c: Likewise.
36933         * rt/shm_open.c: Likewise.
36934         * rt/shm_unlink.c: Likewise.
36935         * rt/timer_create.c: Likewise.
36936         * rt/timer_delete.c: Likewise.
36937         * rt/timer_getoverr.c: Likewise.
36938         * rt/timer_gettime.c: Likewise.
36939         * rt/timer_settime.c: Likewise.
36940         * setjmp/__longjmp.c: Likewise.
36941         * setjmp/setjmp.c: Likewise.
36942         * signal/kill.c: Likewise.
36943         * signal/killpg.c: Likewise.
36944         * signal/raise.c: Likewise.
36945         * signal/sigaction.c: Likewise.
36946         * signal/sigaltstack.c: Likewise.
36947         * signal/sigblock.c: Likewise.
36948         * signal/sigignore.c: Likewise.
36949         * signal/sigintr.c: Likewise.
36950         * signal/signal.c: Likewise.
36951         * signal/sigpause.c: Likewise.
36952         * signal/sigpending.c: Likewise.
36953         * signal/sigqueue.c: Likewise.
36954         * signal/sigreturn.c: Likewise.
36955         * signal/sigset.c: Likewise.
36956         * signal/sigsetmask.c: Likewise.
36957         * signal/sigstack.c: Likewise.
36958         * signal/sigsuspend.c: Likewise.
36959         * signal/sigtimedwait.c: Likewise.
36960         * signal/sigvec.c: Likewise.
36961         * signal/sigwait.c: Likewise.
36962         * signal/sigwaitinfo.c: Likewise.
36963         * signal/sysv_signal.c: Likewise.
36964         * socket/accept.c: Likewise.
36965         * socket/accept4.c: Likewise.
36966         * socket/bind.c: Likewise.
36967         * socket/connect.c: Likewise.
36968         * socket/getpeername.c: Likewise.
36969         * socket/getsockname.c: Likewise.
36970         * socket/getsockopt.c: Likewise.
36971         * socket/isfdtype.c: Likewise.
36972         * socket/listen.c: Likewise.
36973         * socket/recv.c: Likewise.
36974         * socket/recvfrom.c: Likewise.
36975         * socket/recvmsg.c: Likewise.
36976         * socket/send.c: Likewise.
36977         * socket/sendmsg.c: Likewise.
36978         * socket/sendto.c: Likewise.
36979         * socket/setsockopt.c: Likewise.
36980         * socket/shutdown.c: Likewise.
36981         * socket/sockatmark.c: Likewise.
36982         * socket/socket.c: Likewise.
36983         * socket/socketpair.c: Likewise.
36984         * stdio-common/ctermid.c: Likewise.
36985         * stdio-common/cuserid.c: Likewise.
36986         * stdio-common/remove.c: Likewise.
36987         * stdio-common/rename.c: Likewise.
36988         * stdio-common/renameat.c: Likewise.
36989         * stdio-common/tempname.c: Likewise.
36990         * stdlib/getcontext.c: Likewise.
36991         * stdlib/makecontext.c: Likewise.
36992         * stdlib/setcontext.c: Likewise.
36993         * stdlib/swapcontext.c: Likewise.
36994         * stdlib/system.c: Likewise.
36995         * streams/fattach.c: Likewise.
36996         * streams/fdetach.c: Likewise.
36997         * streams/getmsg.c: Likewise.
36998         * streams/getpmsg.c: Likewise.
36999         * streams/putmsg.c: Likewise.
37000         * streams/putpmsg.c: Likewise.
37001         * sysdeps/unix/bsd/getpt.c: Likewise.
37002         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37003         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37004         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37006         Likewise.
37007         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37008         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37009         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37010         * sysvipc/msgctl.c: Likewise.
37011         * sysvipc/msgget.c: Likewise.
37012         * sysvipc/msgrcv.c: Likewise.
37013         * sysvipc/msgsnd.c: Likewise.
37014         * sysvipc/semctl.c: Likewise.
37015         * sysvipc/semget.c: Likewise.
37016         * sysvipc/semop.c: Likewise.
37017         * sysvipc/semtimedop.c: Likewise.
37018         * sysvipc/shmat.c: Likewise.
37019         * sysvipc/shmctl.c: Likewise.
37020         * sysvipc/shmdt.c: Likewise.
37021         * sysvipc/shmget.c: Likewise.
37022         * termios/tcdrain.c: Likewise.
37023         * termios/tcflow.c: Likewise.
37024         * termios/tcflush.c: Likewise.
37025         * termios/tcgetattr.c: Likewise.
37026         * termios/tcgetpgrp.c: Likewise.
37027         * termios/tcsendbrk.c: Likewise.
37028         * termios/tcsetattr.c: Likewise.
37029         * termios/tcsetpgrp.c: Likewise.
37030         * time/adjtime.c: Likewise.
37031         * time/clock.c: Likewise.
37032         * time/getitimer.c: Likewise.
37033         * time/gettimeofday.c: Likewise.
37034         * time/setitimer.c: Likewise.
37035         * time/settimeofday.c: Likewise.
37036         * time/stime.c: Likewise.
37037         * time/time.c: Likewise.
37039 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
37041         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37042         /usr/old/bin.
37044         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37045         instead of spaces.
37046         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37048 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
37050         [BZ #14796]
37051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37052         FE_TONEAREST before applying Dekker multiplication and Knuth
37053         addition.  Clear inexact exceptions and check for exact zero
37054         results afterwards.
37055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37056         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37058         * math/libm-test.inc (fma_test): Add more tests.
37059         (fma_test_towardzero): Likewise.
37060         (fma_test_downward): Likewise.
37061         (fma_test_upward): Likewise.
37062         * sysdeps/generic/math_private.h (default_libc_fesetround): New
37063         function.
37064         (libc_fesetround): New macro.
37065         (libc_fesetroundf): Likewise.
37066         (libc_fesetroundl): Likewise.
37067         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37068         function.
37069         (libc_fesetround_387): Likewise.
37070         (libc_fesetroundf): New macro.
37071         (libc_fesetround): Likewise.
37072         (libc_fesetroundl): Likewise.
37073         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37074         function.
37075         (libc_fesetroundf): New macro.
37076         (libc_fesetround): Likewise.
37077         (libc_fesetroundl): Likewise.
37078         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37079         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37080         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37081         libm_hidden_ver.
37082         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37083         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37084         libm_hidden_def.
37085         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37086         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37087         libm_hidden_ver.
37088         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37089         libm_hidden_def.
37091         [BZ #3439]
37092         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37093         integer constant usable in #if and use that to give value to enum
37094         constant.
37095         (FE_DIVBYZERO): Likewise.
37096         (FE_UNDERFLOW): Likewise.
37097         (FE_OVERFLOW): Likewise.
37098         (FE_INVALID): Likewise.
37099         (FE_INVALID_SNAN): Likewise.
37100         (FE_INVALID_ISI): Likewise.
37101         (FE_INVALID_IDI): Likewise.
37102         (FE_INVALID_ZDZ): Likewise.
37103         (FE_INVALID_IMZ): Likewise.
37104         (FE_INVALID_COMPARE): Likewise.
37105         (FE_INVALID_SOFTWARE): Likewise.
37106         (FE_INVALID_SQRT): Likewise.
37107         (FE_INVALID_INTEGER_CONVERSION): Likewise.
37108         (FE_TONEAREST): Likewise.
37109         (FE_TOWARDZERO): Likewise.
37110         (FE_UPWARD): Likewise.
37111         (FE_DOWNWARD): Likewise.
37112         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37113         (FE_DIVBYZERO): Likewise.
37114         (FE_OVERFLOW): Likewise.
37115         (FE_UNDERFLOW): Likewise.
37116         (FE_INEXACT): Likewise.
37117         (FE_TONEAREST): Likewise.
37118         (FE_DOWNWARD): Likewise.
37119         (FE_UPWARD): Likewise.
37120         (FE_TOWARDZERO): Likewise.
37121         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37122         (FE_UNDERFLOW): Likewise.
37123         (FE_OVERFLOW): Likewise.
37124         (FE_DIVBYZERO): Likewise.
37125         (FE_INVALID): Likewise.
37126         (FE_TONEAREST): Likewise.
37127         (FE_TOWARDZERO): Likewise.
37128         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37129         (FE_OVERFLOW): Likewise.
37130         (FE_UNDERFLOW): Likewise.
37131         (FE_DIVBYZERO): Likewise.
37132         (FE_INEXACT): Likewise.
37133         (FE_TONEAREST): Likewise.
37134         (FE_TOWARDZERO): Likewise.
37135         (FE_UPWARD): Likewise.
37136         (FE_DOWNWARD): Likewise.
37137         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37138         (FE_DIVBYZERO): Likewise.
37139         (FE_OVERFLOW): Likewise.
37140         (FE_UNDERFLOW): Likewise.
37141         (FE_INEXACT): Likewise.
37142         (FE_TONEAREST): Likewise.
37143         (FE_DOWNWARD): Likewise.
37144         (FE_UPWARD): Likewise.
37145         (FE_TOWARDZERO): Likewise.
37147 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
37149         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37151 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
37153         * scripts/cross-test-ssh.sh (command): Use newlines to separate
37154         commands.  Quote $PWD.
37155         (blacklist_exports): Don't use remove_newlines.  Replace "declare
37156         -x" by "export".
37157         (remove_newlines): Remove.
37159 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
37161         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37162         * stdlib/stdlib.h (atof): Moved to ...
37163         * include/bits/stdlib-float.h: Here.  New file.
37164         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37165         * stdlib/bits/stdlib-float.h: New file.
37166         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37167         -mno-sse -mno-mmx.
37168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37169         <xmmintrin.h>.
37171 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37173         * conform/conformtest.pl (@headers): Add fenv.h.
37174         * conform/data/fenv.h-data: New file.
37175         * include/fenv.h [_ISOMAC]: Disable all contents of file except
37176         include of <math/fenv.h>.
37178         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37179         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37180         && !UNIX98].  Enables tests for XOPEN2K8.
37181         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37182         POSIX2008]: Likewise.
37184         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37185         (struct rusage): Do not expect type or its members.
37187         [BZ #3439]
37188         * math/math.h (FP_NAN): Define macro to integer constant usable in
37189         #if and use that to give value to enum constant.
37190         (FP_INFINITE): Likewise.
37191         (FP_ZERO): Likewise.
37192         (FP_SUBNORMAL): Likewise.
37193         (FP_NORMAL): Likewise.
37195 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37197         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37198         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37199         arguments.
37201 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37203         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37204         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37205         autoconf-time if not.
37206         * configure.in: Remove AC_PREREQ.
37208 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37210         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37211         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37212         of the internal implementation.
37214 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37216         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37217         except include of <misc/sys/syslog.h>.
37219 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37222         function returns with a NULL context exit with zero.
37224 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37226         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37228 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37230         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37231         (run_program_cmd): This.
37232         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37233         (tst_langinfo): New variable.  Use it.
37235 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37237         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37238         floating point opcodes.
37240 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37242         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37243         variable.
37245         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37247         * sysdeps/mach/hurd/powerpc: Remove directory.
37248         * sysdeps/mach/powerpc: Likewise.
37250 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37252         * scripts/check-local-headers.sh: Ignore c++ headers.
37254 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37256         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37257         __libc_cleanup_region_start argument.
37259 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37261         [BZ #14784]
37262         [BZ #14785]
37263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37264         x * y using scaling, not as x * y + z.
37265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37267         * math/libm-test.inc (fma_test): Add more tests.
37268         (fma_test_towardzero): Likewise.
37269         (fma_test_downward): Likewise.
37270         (fma_test_upward): Likewise.
37272 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37274         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37276 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37278         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37279         New variable.
37281 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37283         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37285 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37288         Fix sort order.
37289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37290         Likewise.
37292 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37295         Fix the order of the list for glibc 2.17.
37296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37297         Likewise.
37299 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37303 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37305         [BZ #14610]
37306         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37307         for low part of x being zero before using __atanl (y).
37308         * math/libm-test.inc (atan2_test): Add another test.
37310         * manual/install.texi (Configuring and compiling): Document
37311         general use of test-wrapper and test-wrapper-env.
37312         * INSTALL: Regenerated.
37314         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37315         (__fma): Do not extract and scale down low bits on after-rounding
37316         systems when result rounded to normal precision would have normal
37317         exponent.
37318         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37319         (__fmal): Do not extract and scale down low bits on after-rounding
37320         systems when result rounded to normal precision would have normal
37321         exponent.
37322         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37323         (__fmal): Do not extract and scale down low bits on after-rounding
37324         systems when result rounded to normal precision would have normal
37325         exponent.
37326         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37327         macro.
37328         (fma_test): Add more tests.
37329         (fma_test_towardzero): Likewise.
37330         (fma_test_downward): Likewise.
37331         (fma_test_upward): Likewise.
37333 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37335         * sysdeps/i386/tininess.h: Renamed to ...
37336         * sysdeps/x86/tininess.h: This.
37337         * sysdeps/x86_64/tininess.h: Removed.
37339 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37341         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37342         input.  Use $(build-program-cmd).
37343         ($(objpfx)tst-array1-static.out): Likewise.
37344         ($(objpfx)tst-array2.out): Likewise.
37345         ($(objpfx)tst-array3.out): Likewise.
37346         ($(objpfx)tst-array4.out): Likewise.
37347         ($(objpfx)tst-array5.out): Likewise.
37348         ($(objpfx)tst-array5-static.out): Likewise.
37350 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37352         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37353         if defined.
37355         * nss/nsswitch.h (nss_interface_function): Provide new
37356         macro for use with NSS functions.
37357         * grp/initgroups.c: Use new macro.
37358         * nss/getXXbyYY.c: Likewise.
37359         * nss/getXXbyYY_r.c: Likewise.
37360         * nss/getXXent.c: Likewise.
37361         * nss/getXXent_r.c: Likewise.
37362         * sysdeps/posix/getaddrinfo.c: Likewise.
37364 2012-10-30  Andreas Jaeger  <aj@suse.de>
37366         * po/ru.po: Update Russion translation from translation project.
37368 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37370         [BZ #14152]
37371         [BZ #14783]
37372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37373         result and shift together with sticky bit instead of replicating
37374         round-to-nearest rounding.
37375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37377         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37378         missing underflow exceptions.
37379         (fma_test_towardzero): Add more tests.
37380         (fma_test_downward): Likewise.
37381         (fma_test_upward): Likewise.
37383         [BZ #14047]
37384         * sysdeps/generic/tininess.h: New file.
37385         * sysdeps/i386/tininess.h: Likewise.
37386         * sysdeps/sh/tininess.h: Likewise.
37387         * sysdeps/x86_64/tininess.h: Likewise.
37388         * stdlib/tst-strtod-underflow.c: Likewise.
37389         * stdlib/tst-tininess.c: Likewise.
37390         * stdlib/strtod_l.c: Include <tininess.h>.
37391         (round_and_return): Do not set errno for exact underflow cases.
37392         Force an underflow exception when setting errno for underflow.
37393         Determine underflow based on rounding to normal precision if
37394         TININESS_AFTER_ROUNDING.
37395         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37396         ERANGE for exact underflow cases.
37397         * stdlib/Makefile (tests): Add tst-tininess and
37398         tst-strtod-underflow.
37399         ($(objpfx)tst-tininess): Use $(link-libm).
37400         ($(objpfx)tst-strtod-underflow): Likewise.
37402 2012-10-30  Andreas Jaeger  <aj@suse.de>
37404         [BZ#14767]
37405         * elf/Makefile (tests): Remove conditional for have-initfini-array
37406         since this is now always required and the variable does not exist
37407         anymore.
37408         (tests-static): Likewise.
37409         (modules-names): Likewise.
37411         * po/eo.po: Add Esperanto translation from translation project.
37413         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37414         merged with constructor/destructor.
37415         (init_array): Likewise.
37416         * elf/tst-array2dep.c (fini_array): Likewise.
37417         (init_array): Likewise.
37419 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37421         * manual/message.texi: Delete @cartouche tags.
37423 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37425         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37426         EOPNOTSUPP.
37427         * sysdeps/mach/hurd/fsync.c: Likewise.
37429         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37430         [_POSIX_REALTIME_SIGNALS]: Change condition to
37431         [_POSIX_REALTIME_SIGNALS > 0].
37433 2012-10-27  Andreas Jaeger  <aj@suse.de>
37435         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37436         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37438         [__WORDSIZE != 64]: Likewise.
37440 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37442         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37443         *  iconvdata/tst-tables.sh: Likewise.
37445 2012-10-25  David S. Miller  <davem@davemloft.net>
37447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37448         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37449         of strtoull.
37451         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37452         ifunc-impl-list.c
37453         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37454         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37455         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37456         file.
37458 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37460         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37461         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37462         __getdirentries.
37464 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37465             Jim Blandy  <jimb@codesourcery.com>
37467         * scripts/cross-test-ssh.sh: New file.
37468         * manual/install.texi (Configuring and compiling): Document use of
37469         cross-test-ssh.sh.
37470         * INSTALL: Regenerated.
37472 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37474         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37475         EOPNOTSUPP.
37477 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37479         * Makeconfig (run-program-prefix): Fix comment.
37481 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37482             Jim Blandy  <jimb@codesourcery.com>
37484         * Makeconfig (test-wrapper): New variable,
37485         (test-wrapper-env): Likewise.
37486         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37487         (run-built-tests): Define to yes.
37488         (run-program-prefix): Use $(test-wrapper).
37489         (built-program-cmd): Likewise.
37490         * Rules (make-test-out): Use $(test-wrapper-env) and
37491         $(host-built-program-cmd).
37492         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37493         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37494         tst-pathopt.sh.
37495         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37496         $(test-wrapper-env) to tst-rtld-load-self.sh.
37497         ($(objpfx)order2.out): Use $(test-wrapper).
37498         ($(objpfx)tst-initorder.out): Likewise.
37499         ($(objpfx)tst-initorder2.out): Likewise.
37500         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37501         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37502         (test_wrapper_env): New variable.  Use it to run ld.so.
37503         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37504         Use it to run ld.so.
37505         (test_wrapper_env): Likewise.
37506         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37507         $(test-wrapper) to run-iconv-test.sh.
37508         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37509         (ICONV): Use $test_wrapper.
37510         * posix/Makefile ($(objpfx)globtest.out): Pass
37511         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37512         globtest.sh, not $(run-program-prefix).
37513         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37514         (test_wrapper): Likewise.
37515         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37516         set together with run_via_rtld_prefix.
37517         (run_program_prefix): Define in terms of test_wrapper and
37518         run_via_rtld_prefix.
37520 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37522         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37523         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37524         Targets removed.
37526         [BZ #14743]
37527         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37528         Declare __clock_getres, __clock_gettime, __clock_settime,
37529         __clock_nanosleep, and __clock_getcpuclockid.
37530         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37531         Remove librt_hidden_def (clock_gettime).
37532         * sysdeps/unix/clock_gettime.c: Likewise.
37533         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37534         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37535         * rt/clock_getres.c: Define __clock_getres as an alias.
37536         * sysdeps/posix/clock_getres.c: Likewise.
37537         * rt/clock_settime.c: Define __clock_settime as an alias.
37538         * sysdeps/unix/clock_settime.c: Likewise.
37539         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37540         * sysdeps/unix/clock_nanosleep.c: Likewise.
37541         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37542         * rt/clock-compat.c: New file.
37543         * rt/Makefile (librt-routines): Add clock-compat and move
37544         $(clock-routines) to ...
37545         (routines): ... here, new variable.
37546         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37547         Don't add get_clockfreq here.
37548         * rt/Versions (libc: GLIBC_2.17): New version set.
37549         Add clock_* symbols here.
37550         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37551         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37552         (GLIBC_2.17): Add clock_* symbols.
37553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37557         Likewise.
37558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37559         Likewise.
37560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37564         * NEWS: Mention the move.
37566         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37567         Use __open, __read, __close rather than their public counterparts.
37568         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37569         (__get_clockfreq_via_cpuinfo): Likewise.
37570         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37571         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37573         * config.h.in (HAVE_IFUNC): New #undef.
37574         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37575         was successful.
37576         * configure: Regenerated.
37578 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37580         * configure.in: Move READELF check to start of file.
37581         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37582         libc_cv_asm_gnu_indirect_function in the process.
37583         * configure: Regenerated.
37585 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37587         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37588         send the output to /dev/null.
37589         (libc_cv_cc_with_libunwind): Likewise.
37590         (libc_cv_as_noexecstack): Likewise.
37591         * configure: Regenerate.
37593 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37595         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37597         * posix/globtest.sh (TMPDIR): Do not set.
37598         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37599         (testout): Likewise.
37601 2012-10-24  Andreas Jaeger  <aj@suse.de>
37603         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37604         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37605         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37606         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37607         posix_fadvise64, posix_fallocate64.
37609         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37610         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37611         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37612         Likewise.
37613         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37614         Likewise.
37615         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37618         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37619         <bits/fcntl-linux.h>.
37620         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37623         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37624         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37625         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37626         [__WORDSIZE != 64]: Likewise.
37628 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37630         * Makeconfig (run-built-tests): New variable.
37631         * Rules [$(cross-compiling) = yes]: Change condition to
37632         [$(run-built-tests) = no].
37633         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37634         to [$(run-built-tests) = yes].
37635         * elf/Makefile [$(cross-compiling) = no]: Likewise
37636         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37637         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37638         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37639         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37640         * io/Makefile [$(cross-compiling) = no]: Likewise.
37641         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37642         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37643         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37644         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37645         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37646         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37647         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37648         * string/Makefile [$(cross-compiling) = no]: Likewise.
37650         * posix/Makefile ($(objpfx)globtest.out): Pass
37651         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37652         $(rtld-installed-name).
37653         * posix/globtest.sh (elf_objpfx): Remove variable.
37654         (rtld_installed_name): Likewise.
37655         (library_path): Likewise.
37656         (run_program_prefix): New variable.  Use for running globtest
37657         binary.
37659 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37660             Joseph Myers  <joseph@codesourcery.com>
37662         * Makeconfig (host-built-program-cmd): New variable.
37663         * elf/Makefile (tst-stackguard1-ARGS): Use
37664         $(host-built-program-cmd).
37665         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37666         (tst-spawn-ARGS): Likewise.
37667         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37669 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37670             Jim Blandy  <jimb@codesourcery.com>
37672         * Makeconfig (run-via-rtld-prefix): New variable.
37673         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37674         (built-program-cmd): Likewise.
37676 2012-10-22  Andreas Jaeger  <aj@suse.de>
37678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37679         __O_RSYNC if it exists, otherwise to O_SYNC.
37681 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37682             Joseph Myers  <joseph@codesourcery.com>
37684         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37685         /dev/null.
37686         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37687         from /dev/null
37688         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37689         /dev/null.
37691 2012-10-22  Andreas Jaeger  <aj@suse.de>
37693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37694         Define always.
37695         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37698         bits/fcntl-linux.h.
37700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37701         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37703         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37704         to __O_LARGEFILE.
37705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37706         to __O_LARGEFILE.
37708 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37709             Joseph Myers  <joseph@codesourcery.com>
37711         * config.make.in (NM): New variable.
37713 2012-10-21  Andreas Jaeger  <aj@suse.de>
37715         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37716         definitions and declarations that are provided by
37717         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37719 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37721         [BZ #14683]
37722         * elf/Makefile (tests-static): Add tst-leaks1-static.
37723         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37724         ($(objpfx)tst-leaks1-static): New rule.
37725         ($(objpfx)tst-leaks1-static-mem): Likewise.
37726         (tst-leaks1-static-ENV): New macro.
37727         * elf/dl-open.c (dl_open_worker): Check the main application
37728         only if SHARED is defined.
37729         * elf/tst-leaks1-static.c: New file.
37731 2012-10-20  Andreas Jaeger  <aj@suse.de>
37733         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37734         generic values for Linux.
37735         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37736         and declarations that are provided by <bits/fcntl-linux.h> and
37737         include <bits/fcntl-linux.h>.
37738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37741 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37743         * io/fcntl.h: Move include of <bits/types.h> to the top and
37744         include it unconditionally.
37746 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37748         * wcsmbs/Makefile (tests-ifunc): New variable.
37749         (tests): Add $(tests-ifunc).
37750         * wcsmbs/test-wcschr-ifunc.c: New file.
37751         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37752         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37753         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37754         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37755         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37757         * string/Makefile (tests-ifunc): New variable.
37758         (tests): Add $(tests-ifunc).
37759         * string/test-memccpy.c (TEST_NAME): New macro.
37760         * string/test-memchr.c (TEST_NAME): Likewise.
37761         * string/test-memcmp.c (TEST_NAME): Likewise.
37762         * string/test-memcpy.c (TEST_NAME): Likewise.
37763         * string/test-memmem.c (TEST_NAME): Likewise.
37764         * string/test-memmove.c (TEST_NAME): Likewise.
37765         * string/test-memset.c (TEST_NAME): Likewise.
37766         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37767         * string/test-stpcpy.c (TEST_NAME): Likewise.
37768         * string/test-stpncpy.c (TEST_NAME): Likewise.
37769         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37770         * string/test-strcasestr.c (TEST_NAME): Likewise.
37771         * string/test-strcat.c (TEST_NAME): Likewise.
37772         * string/test-strchr.c (TEST_NAME): Likewise.
37773         * string/test-strcmp.c(TEST_NAME): Likewise.
37774         * string/test-strcpy.c (TEST_NAME): Likewise.
37775         * string/test-strcspn.c (TEST_NAME): Likewise.
37776         * string/test-strlen.c (TEST_NAME): Likewise.
37777         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37778         * string/test-strncmp.c (TEST_NAME): Likewise.
37779         * string/test-strncpy.c (TEST_NAME): Likewise.
37780         * string/test-strnlen.c (TEST_NAME): Likewise.
37781         * string/test-strpbrk.c (TEST_NAME): Likewise.
37782         * string/test-strrchr.c (TEST_NAME): Likewise.
37783         * string/test-strspn.c (TEST_NAME): Likewise.
37784         * string/test-strstr.c (TEST_NAME): Likewise.
37785         * string/test-bcopy-ifunc.c: New file.
37786         * string/test-bzero-ifunc.c: Likewise.
37787         * string/test-memccpy-ifunc.c: Likewise.
37788         * string/test-memchr-ifunc.c: Likewise.
37789         * string/test-memcmp-ifunc.c: Likewise.
37790         * string/test-memcpy-ifunc.c: Likewise.
37791         * string/test-memmem-ifunc.c: Likewise.
37792         * string/test-memmove-ifunc.c: Likewise.
37793         * string/test-mempcpy-ifunc.c: Likewise.
37794         * string/test-memset-ifunc.c: Likewise.
37795         * string/test-rawmemchr-ifunc.c: Likewise.
37796         * string/test-stpcpy-ifunc.c: Likewise.
37797         * string/test-stpncpy-ifunc.c: Likewise.
37798         * string/test-strcasecmp-ifunc.c: Likewise.
37799         * string/test-strcasestr-ifunc.c: Likewise.
37800         * string/test-strcat-ifunc.c: Likewise.
37801         * string/test-strchr-ifunc.c: Likewise.
37802         * string/test-strchrnul-ifunc.c: Likewise.
37803         * string/test-strcmp-ifunc.c: Likewise.
37804         * string/test-strcpy-ifunc.c: Likewise.
37805         * string/test-strcspn-ifunc.c: Likewise.
37806         * string/test-strlen-ifunc.c: Likewise.
37807         * string/test-strncasecmp-ifunc.c: Likewise.
37808         * string/test-strncat-ifunc.c: Likewise.
37809         * string/test-strncmp-ifunc.c: Likewise.
37810         * string/test-strncpy-ifunc.c: Likewise.
37811         * string/test-strnlen-ifunc.c: Likewise.
37812         * string/test-strpbrk-ifunc.c: Likewise.
37813         * string/test-strrchr-ifunc.c: Likewise.
37814         * string/test-strspn-ifunc.c: Likewise.
37815         * string/test-strstr-ifunc.c: Likewise.
37817         * debug/Makefile (tests-ifunc): New variable.
37818         (tests): Add $(tests-ifunc).
37819         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37820         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37821         * debug/test-stpcpy_chk-ifunc.c: New file.
37822         * debug/test-strcpy_chk-ifunc.c: Likewise.
37824 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37826         [BZ #13601]
37827         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37828         header is not read in.
37830 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37832         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37833         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37834         directly.  Pass built executable to script as
37835         $(built-program-cmd).
37836         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37837         $testprogram without using LD_LIBRARY_PATH and $ldso.
37839         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37840         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37841         $(rtld-installed-name).
37842         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37843         (rtld_installed_name): Likewise.
37844         (library_path): Likewise.
37845         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37846         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37847         $(run-program-prefix) to tst-tables.sh.
37848         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37849         it to run tst-table-from and tst-table-to.
37850         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37851         Pass it to tst-table.sh.
37852         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37853         $(run-program-prefix) to tst-gettext.sh.
37854         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37855         tst-translit.sh.
37856         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37857         tst-gettext2.sh.
37858         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37859         to run tst-gettext.
37860         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37861         to run tst-gettext2.
37862         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37863         to run tst-translit.
37864         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37865         $(run-program-prefix) to tst-mtrace.sh.
37866         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37867         to run tst-mtrace.
37868         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37869         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37870         $(rtld-installed-name).
37871         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37872         (rtld_installed_name): Likewise.
37873         (run_program_prefix): New variable.  Use it to run wordexp-test.
37875         * Makeconfig (ARCH): Remove all definitions.
37876         (machine): Likewise.
37877         [ARCH]: Remove conditional code.
37878         [!objdir]: Give error.
37879         [!objdir] (objpfx): Remove.
37880         [!objdir] (common-objpfx): Likewise.
37881         [!objdir] (common-objdir): Likewise.
37882         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37883         AC_CONFIG_FILES call.
37884         * configure: Regenerated.
37886         [BZ #13888]
37887         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37888         or TMPDIR.
37889         (testout): Likewise.
37891         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37892         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37893         $(rtld-installed-name).
37894         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37895         (rtld_installed_name): Likwise.
37896         (runit): Remove function.
37897         (run_getconf): New variable,  Use it for running getconf binary.
37899 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37901         [BZ #14716]
37902         * string/test-memmem.c (check_result): New function.
37903         (do_one_test): Use it.
37904         (check1): New function.
37905         (test_main): Use it.
37907 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37909         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37911 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37913         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37914         (_G_LSEEK64): Likewise.
37915         (_G_MMAP64): Likewise.
37916         (_G_FSTAT64): Likewise.
37917         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37918         (_G_LSEEK64): Likewise.
37919         (_G_MMAP64): Likewise.
37920         (_G_FSTAT64): Likewise.
37921         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37922         unconditional.  Call __mmap64 directly.
37923         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37924         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37925         __lseek64 directly.
37926         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37927         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37928         __mmap64 directly.
37929         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37930         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37931         __lseek64 directly.
37932         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37933         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37934         __lseek64 directly.
37935         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37936         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37937         __lseek64 directly.
37938         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37939         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37940         __fxstat64 directly.
37941         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37942         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37943         unconditional.
37944         (freopen64) [!_G_OPEN64]: Remove conditional code.
37945         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37946         unconditional.
37947         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37948         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37949         unconditional.
37950         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37951         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37952         unconditional.
37953         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37954         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37955         unconditional.
37956         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37957         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37958         unconditional.
37959         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37960         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37961         unconditional.
37962         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37963         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37964         unconditional.
37965         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37967 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37969         [BZ #12140]
37970         * manual/memory.texi (Malloc Tunable Parameters): Add note
37971         about free list pointers overwriting some perturb bytes.
37972         Wording suggested by Roland McGrath.
37974 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37976         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37977         (lgamma_test): Likewise.
37978         (tgamma_test): Likewise.
37980 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37982         [BZ #14700]
37983         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37984         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37986 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37988         * NEWS: Mention BZ #14716.
37989         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37990         when removing AVAILABLE1_USES_J macro.
37992 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37994         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37995         (__bswap_64): __uint64_t for unsigned 64-bit int.
37997 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37999         * include/string.h (memmem): Declare libc hidden alias.
38000         * string/memmem.c (memmem): Define libc hidden alias.
38001         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38002         __read, __close instead of open, read, close.
38004 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
38006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38007         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38008         global and hidden.
38009         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38010         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38011         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38012         Likewise.
38013         (__rawmemchr_sse2): Likewise.
38014         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38015         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38016         (__strchr_sse2): Likewise.
38017         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38018         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38019         (__strcasecmp_sse2): Likewise.
38020         (__strncasecmp_sse2): Likewise.
38021         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38022         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38023         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38024         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38025         (__strrchr_sse2): Likewise.
38026         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38027         ifunc-impl-list.c.
38028         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38029         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38030         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38031         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38032         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38033         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38036         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38037         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38038         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38039         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38040         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38041         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38042         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38043         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38044         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38045         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38046         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38047         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38048         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38049         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38050         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38051         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38052         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38053         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38054         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38055         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38056         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38057         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38059         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38060         global and hidden.
38061         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38062         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38063         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38064         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38065         Likewise.
38066         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38067         Likewise.
38068         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38069         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38070         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38071         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38072         ifunc-impl-list.c.
38073         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38074         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38075         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38076         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38077         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38078         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38079         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38080         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38081         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38082         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38083         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38084         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38085         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38086         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38087         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38088         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38089         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38090         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38091         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38092         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38093         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38094         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38095         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38096         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38097         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38098         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38099         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38100         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38101         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38102         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38103         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38104         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38105         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38106         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38107         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38108         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38109         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38110         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38111         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38112         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38113         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38115         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38116         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38117         * include/ifunc-impl-list.h: New file.
38118         * misc/ifunc-impl-list.c: Likewise.
38119         * misc/Makefile (routines): Add ifunc-impl-list.
38120         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38121         * string/test-string.h: Include <ifunc-impl-list.h>.
38122         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38123         TEST_NAME]: New variables.
38124         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38125         are defined.
38126         (test_init): Call __libc_ifunc_impl_list to initialize
38127         func_list if TEST_IFUNC and TEST_NAME are defined.
38129         * string/Makefile (strop-tests): Add bcopy and bzero.
38130         * string/test-bcopy.c: New file.
38131         * string/test-bzero.c: Likewise.
38132         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38133         defined.
38134         * string/test-memset.c: Support bzero test if TEST_BZERO is
38135         defined.
38136         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38137         __libc_memmove.
38138         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38139         __libc_memset.
38140         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38141         of memset.
38143 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
38145         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38146         * configure: Regenerated.
38148         * Makeconfig (+link-static-before-libc): Don't include
38149         $(link-static-libc).
38151         * libio/libio.h (_IO_pos_t): Remove.
38153 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38155         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
38156         McGrath.
38158 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38160         * crypt/crypt-entry.c: Include fips-private.h.
38161         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38162         * crypt/md5c-test.c (main): Tolerate disabled MD5.
38163         * sysdeps/unix/sysv/linux/fips-private.h: New file.
38164         * sysdeps/generic/fips-private.h: New file, dummy fallback.
38166 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38168         * crypt/crypt-private.h: Include stdbool.h.
38169         (_ufc_setup_salt_r): Return bool.
38170         * crypt/crypt-entry.c: Include errno.h.
38171         (__crypt_r): Return NULL with EINVAL for bad salt.
38172         * crypt/crypt_util.c (bad_for_salt): New.
38173         (_ufc_setup_salt_r): Check that salt is long enough and within
38174         the specified alphabet.
38175         * crypt/badsalttest.c: New file.
38176         * crypt/Makefile (tests): Add it.
38177         ($(objpfx)badsalttest): New.
38179 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
38181         * NEWS: Add entry for BZ #14602.
38183 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38185         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38186         type-generic.
38187         * math/libm-test.inc: Update comment listing what functions and
38188         macros are tested.
38189         (isgreater_test): New function.
38190         (isgreaterequal_test): Likewise.
38191         (isless_test): Likewise.
38192         (islessequal_test): Likewise.
38193         (islessgreater_test): Likewise.
38194         (isunordered_test): Likewise.
38195         (main): Call the new functions.
38197 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38199         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38200         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38201         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38202         * sysdeps/i386/configure: Regenerated.
38203         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38204         * sysdeps/mach/configure: Regenerated.
38205         * sysdeps/mach/hurd/configure: Regenerated.
38206         * sysdeps/powerpc/configure: Regenerated.
38207         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38208         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38209         * sysdeps/s390/s390-32/configure: Regenerated.
38210         * sysdeps/s390/s390-64/configure: Regenerated.
38211         * sysdeps/sh/configure: Regenerated.
38212         * sysdeps/sparc/configure: Regenerated.
38213         * sysdeps/unix/sysv/linux/configure: Regenerated.
38214         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38215         * sysdeps/x86_64/configure: Regenerated.
38217         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38218         defined.  Don't check if MAP is NULL.
38220 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38222         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38223         (_G_stat64): Likewise.
38224         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38225         (_G_stat64): Likewise.
38226         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38227         instead of struct _G_stat64.
38228         * libio/fileops.c (mmap_remap_check): Likewise.
38229         (decide_maybe_mmap): Likewise.
38230         (_IO_new_file_seekoff): Likewise.
38231         (_IO_file_stat): Likewise.
38232         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38233         _G_off64_t.
38234         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38235         instead of struct _G_stat64.
38236         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38238 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38240         [BZ #14602]
38241         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38242         Replace with ...
38243         (CHECK_EOL): New macro.
38244         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38245         CHECK_EOL.
38246         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38247         Replace with CHECK_EOL.
38248         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38249         Replace with CHECK_EOL.
38251 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38253         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38254         type-generic.
38255         * math/libm-test.inc: Update comment listing what functions and
38256         macros are tested.
38257         (finite_test): New function.
38258         (isinf_test): Likewise.
38259         (isnan_test): Likewise.
38260         (fpclassify_test): Test subnormal input.
38261         (isfinite_test): Likewise.
38262         (isnormal_test): Likewise.
38263         (main): Call the new functions.
38265 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38267         [BZ #14660]
38268         * Makerules (%.dynsym): Force C locale when running
38269         $(OBJDUMP) --dynamic-syms.
38271 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38273         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38274         <stdint.h>.
38276 2012-10-06  David S. Miller  <davem@davemloft.net>
38278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38279         upper 32-bits of the length value in %o2 since we use branch-on-register
38280         tests which consider the entire 64-bit register.
38282 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38284         * string/test-strstr.c (check2): Add a test for page boundary.
38286 2012-10-05  David S. Miller  <davem@davemloft.net>
38288         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38289         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38290         file.
38291         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38292         sysdep_routines.
38293         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38294         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38295         and bzero when HWCAP_SPARC_CRYPTO is present.
38297 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38299         [BZ #14602]
38300         * string/test-strstr.c (check2): New function.
38301         (test_main): Call check2.
38303         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38304         and bug-strchr1.
38305         * string/bug-strcasestr1.c (do_test): Moved to ...
38306         * string/test-strcasestr.c (check1): Here.  New function.
38307         (do_one_test): Break out result checking code into ...
38308         (check_result): This.  New function.
38309         (do_one_test): Call check_result.
38310         (test_main): Call check1.
38311         * string/bug-strchr1.c (do_test): Moved to ...
38312         * string/test-strchr.c (check1): Here.  New function.
38313         (do_one_test): Break out result checking code into ...
38314         (check_result): This.  New function.
38315         (do_one_test): Call check_result.
38316         (test_main): Call check1.
38317         * string/bug-strstr1.c (main): Moved to ...
38318         * string/test-strstr.c (check1): Here.  New function.
38319         (do_one_test): Break out result checking code into ...
38320         (check_result): This.  New function.
38321         (do_one_test): Call check_result.
38322         (test_main): Call check1.
38323         * string/bug-strcasestr1.c: Removed.
38324         * string/bug-strchr1.c: Likewise.
38325         * string/bug-strstr1.c: Likewise.
38327         * elf/Makefile (dl-routines): Add hwcaps.
38328         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38329         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38330         (_dl_important_hwcaps): Moved to ...
38331         * elf/dl-hwcaps.c: Here.  New file.
38332         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38334         [BZ #14557]
38335         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38336         if IS_IN_rtld isn't defined.
38338         * elf/dl-support.c (_dl_sysinfo_map): New.
38339         Include "get-dynamic-info.h" and "setup-vdso.h".
38340         (_dl_non_dynamic_init): Call setup_vdso.
38341         * elf/dynamic-link.h: Don't include <assert.h>.
38342         (elf_get_dynamic_info): Moved to ...
38343         * elf/get-dynamic-info.h: Here.  New file.
38344         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38345         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38346         * elf/setup-vdso.h: Here.  New file.
38347         * elf/rtld.c: Include "setup-vdso.h".
38348         (dl_main): Call setup_vdso.
38350 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38352         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38353         creal in comment listing functions tested.  List finite, isinf,
38354         isnan, isless, islessequal, isgreater, isgreaterequal,
38355         islessgreater, isunordered, lgamma_r and pow10 as functions and
38356         macros not tested.  Mention which functions not tested are aliases
38357         for other functions.  Fix typo.  Note that signs of NaNs are not
38358         tested.
38360         * scripts/config.guess: Update from config.git.
38361         * scripts/config.sub: Likewise.
38363 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38365         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38366         * misc/madvise.c (madvise): Renamed to __madvise.
38367         Make madvise a weak alias.
38368         * include/sys/mman.h: Declare __madvise.
38369         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38370         * sysdeps/unix/syscalls.list
38371         (madvise): Make __madvise the strong name, and madvise a weak alias.
38372         * sysdeps/unix/sysv/linux/syscalls.list
38373         (madvise, mmap): Remove redundant entries.
38374         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38375         * malloc/malloc.c (mtrim): Likewise.
38376         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38378 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38380         * sysdeps/mach/hurd/dl-cache.c: File removed.
38381         * config.h.in (USE_LDCONFIG): New #undef.
38382         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38383         * configure: Regenerated.
38384         * elf/Makefile (dl-routines): Add dl-cache only under
38385         [$(use-ldconfig) = yes].
38386         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38387         cache on [USE_LDCONFIG].
38388         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38389         [USE_LDCONFIG].
38390         * elf/rtld.c (dl_main): Likewise.
38392 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38394         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38395         _SC_LEVEL4_CACHE_LINESIZE.
38397 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38399         * sysdeps/unix/bsd/confstr.h: File removed.
38401 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38403         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38404         sys/sdt-config.h.
38406 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38408         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38409         Make 'mapoff' field ElfW(Off) rather than off_t.
38411 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38413         * nscd/Makefile: Remove nscd-cflags and all its users.
38414         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38415         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38417         [BZ #10631]
38418         * malloc.c (malloc_printerr): Clarify error message.
38420 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38422         [BZ #14648]
38423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38424         Set bit_FMA_Usable if FMA is supported.
38425         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38426         macro.
38427         (bit_FMA4_Usable): Updated.
38428         (index_FMA_Usable): New macro.
38429         (CPUID_FMA): Likewise
38430         (HAS_FMA): Defined with bit_FMA_Usable.
38432 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38434         * bits/types.h (__swblk_t): Type removed.
38435         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38436         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38438         (__SWBLK_T_TYPE): Likewise.
38439         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38440         (__SWBLK_T_TYPE): Likewise.
38441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38442         (__SWBLK_T_TYPE): Likewise.
38443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38444         (__SWBLK_T_TYPE): Likewise.
38446 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38447             Honza Horak <hhorak@redhat.com>
38449         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38450         (xdr_mapname): Use YPMAXMAP as maxsize.
38451         (xdr_peername): Use YPMAXPEER as maxsize.
38452         (xdr_keydat): Use YPAXRECORD as maxsize.
38453         (xdr_valdat): Use YPMAXRECORD as maxsize.
38455 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38457         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38459         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38460         * csu/init-first.c: ... here.
38461         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38462         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38463         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38464         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38465         * sysdeps/i386/init-first.c: File removed.
38466         * sysdeps/sh/init-first.c: File removed.
38468 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38470         [BZ #14645]
38471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38472         if x * y might underflow to zero and z is zero.
38473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38475         * math/libm-test.inc (min_subnorm_value): New variable.
38476         (fma_test): Add more tests.
38477         (fma_test_towardzero): Likewise.
38478         (fma_test_downward): Likewise
38479         (fma_test_upward): Likewise.
38480         (initialize): Set min_subnorm_value.
38482 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38484         [BZ #14638]
38485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38486         0 + 0.
38487         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38488         mode for addition resulting in exact zero.
38489         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38491         exact 0 + 0.
38492         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38494         * math/libm-test.inc (fma_test): Add more tests.
38495         (fma_test_towardzero): New function.
38496         (fma_test_downward): Likewise.
38497         (fma_test_upward): Likewise.
38498         (main): Call the new functions.
38500 2012-09-28  David S. Miller  <davem@davemloft.net>
38502         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38504 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38506         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38507         instead of SIGALRM.
38509         * sysdeps/gnu/_G_config.h: Moved to ...
38510         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38511         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38512         * sysdeps/generic/_G_config.h: ... here.
38514         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38516         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38518         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38519         Conditionalize target on [libnss_test1.so-version].
38521         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38523         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38524         (elfobjdir): Move out of conditionals.
38526         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38527         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38528         (__nss_lookup_function): Conditionalize label remove_from_tree on
38529         [!DO_STATIC_NSS || SHARED], matching its only use.
38531 2012-09-28  David S. Miller  <davem@davemloft.net>
38533         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38534         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38535         file.
38536         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38537         sysdep_routines.
38538         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38540         when HWCAP_SPARC_CRYPTO is present.
38542 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38544         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38546 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38548         [BZ #6530]
38549         * stdio-common/vfprintf.c (process_string_arg): Revert
38550         2000-07-22 change.
38552 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38554         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38555         for testcase.
38556         * stdio-common/tst-sprintf.c: Include <locale.h>
38557         (main): Test sprintf's handling of incomplete multibyte
38558         characters.
38560 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38562         * elf/dl-runtime.c (VERSYMIDX): Removed.
38563         * elf/dl-version.c (VERSYMIDX): Likewise.
38564         * elf/do-rel.h (VERSYMIDX): Likewise.
38565         (VALIDX): Likewise.
38566         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38567         * elf/rtld.c (VALIDX): Likewise.
38568         (ADDRIDX): Likewise.
38569         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38570         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38571         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38572         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38573         (VALIDX): Likewise.
38574         (ADDRIDX): Likewise.
38576 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38578         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38580 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38582         [BZ #11438]
38583         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38584         to global scope.
38585         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38586         addresses are in the same scope as 192.0.2/24.
38587         * posix/gai.conf: Document new scope table defaults.
38589 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38591         [BZ #5298]
38592         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38593         for ftell.  Compute offsets from write pointers instead.
38594         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38596 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38598         [BZ #14543]
38599         * libio/Makefile (tests): New test case tst-fseek.
38600         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38601         combination works in wide mode.
38602         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38603         state when the external buffer state changes.
38605 2012-09-27  David S. Miller  <davem@davemloft.net>
38607         [BZ #14376]
38608         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38609         pass reloc->r_addend in as the 'high' argument to
38610         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38614 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38616         * rt/tst-aio2.c: Include <pthread.h>.
38617         * rt/tst-aio3.c: Likewise.
38619 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38621         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38623 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38625         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38626         contents on [SHARED].
38628 2012-09-26  Marek Polacek  <polacek@redhat.com>
38630         [BZ #14530]
38631         [BZ #13741]
38632         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38633         for C++ and GCC <4.3 as well as for non GCC compilers.
38635 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38639 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38641         * Makefile.in (all, install): Declare with .PHONY.
38642         Reported by Michael Hope <michael.hope@linaro.org>.
38644 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38646         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38647         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38648         system header.
38649         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38650         Likewise.
38651         (sydep_routines): Add the new and the internal functions.
38652         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38653         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38655         (GLIBC_2.17): Add the new function.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38657         (GLIBC_2.17): Likewise.
38658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38659         (GLIBC_2.17): Likewise.
38660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38661         (GLIBC_2.17): Likewise.
38662         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38664 2012-09-25  Alan Modra  <amodra@gmail.com>
38666         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38667         Add release barrier before setting once_control to say
38668         initialisation is done.  Add hints on lwarx.  Use macro in
38669         place of isync.
38670         (clear_once_control): Add release barrier.
38672 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38674         [BZ #13629]
38675         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38676         specially.
38677         * math/s_clog10.c (__clog10): Likewise.
38678         * math/s_clog10f.c (__clog10f): Likewise.
38679         * math/s_clog10l.c (__clog10l): Likewise.
38680         * math/s_clogf.c (__clogf): Likewise.
38681         * math/s_clogl.c (__clogl): Likewise.
38682         * math/Makefile (libm-calls): Add x2y2m1.
38683         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38684         (__x2y2m1): Likewise.
38685         (__x2y2m1l): Likewise.
38686         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38687         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38688         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38689         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38690         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38691         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38692         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38693         * sysdeps/i386/fpu/libm-test-ulps: Update.
38694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38696         [BZ #14621]
38697         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38698         int as type of variable DEPTH.
38699         (glob): Use size_t instead of int as type of variables NEWCOUNT
38700         and OLD_PATHC.
38702 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38704         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38705         Add s_sincosf-sse2.
38706         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38707         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38708         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38709         macros for using routine as __sincosf_ia32.
38710         Use macro for function declaration and weak_alias.
38711         * sysdeps/i386/fpu/libm-test-ulps: Update.
38713         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38716         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38717         subnormal argument.
38718         * math/s_cexpf.c (__cexpf): Likewise.
38719         * math/s_csinf.c (__csinf): Likewise.
38720         * math/s_csinhf.c (__csinhf): Likewise.
38721         * math/s_ctanf.c (__ctanf): Likewise.
38722         * math/s_ctanhf.c (__ctanhf): Likewise.
38723         * math/s_ccosh.c (__ccoshf): Likewise.
38724         * math/s_cexp.c (__cexpl): Likewise.
38725         * math/s_csin.c (__csin): Likewise.
38726         * math/s_csinh.c (__csinh): Likewise.
38727         * math/s_ctan.c (__ctan): Likewise.
38728         * math/s_ctanh.c (ctanh): Likewise.
38729         * math/s_ccoshl.c (__ccoshl): Likewise.
38730         * math/s_cexpl.c (__cexpl): Likewise.
38731         * math/s_csinl.c (__csinl): Likewise.
38732         * math/s_csinhl.c (__csinhl): Likewise.
38733         * math/s_ctanl.c (__ctanl): Likewise.
38734         * math/s_ctanhl.c (__ctanhl): Likewise.
38736 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38738         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38739         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38740         (_IO_off_t): Define to __off_t, not _G_off_t.
38741         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38742         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38743         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38744         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38745         type of __dummy and __dummy2 fields.
38746         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38747         (_G_ssize_t): Likewise.
38748         (_G_off_t): Likewise.
38749         (_G_pid_t): Likewise.
38750         (_G_uid_t): Likewise.
38751         (_G_wchar_t): Likewise.
38752         (_G_wint_t): Likewise.
38753         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38754         (_G_ssize_t): Likewise.
38755         (_G_off_t): Likewise.
38756         (_G_pid_t): Likewise.
38757         (_G_uid_t): Likewise.
38758         (_G_wchar_t): Likewise.
38759         (_G_wint_t): Likewise.
38760         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38761         (_G_ssize_t): Likewise.
38762         (_G_off_t): Likewise.
38763         (_G_pid_t): Likewise.
38764         (_G_uid_t): Likewise.
38765         (_G_wchar_t): Likewise.
38766         (_G_wint_t): Likewise.
38768 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38770         * malloc/arena.c: Include malloc-sysdep.h.
38771         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38772         is sufficient to shrink the heap or an unmap is needed.
38773         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38774         new function check_may_shrink_heap.
38775         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38776         new function check_may_shrink_heap.
38778 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38780         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38781         comments.
38783 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38785         * catgets/test-gencat.sh: Add "set -e".
38786         * elf/tst-pathopt.sh: Likewise.
38787         * grp/tst_fgetgrent.sh: Likewise.
38788         * iconvdata/run-iconv-test.sh: Likewise.
38789         * intl/tst-gettext.sh: Likewise.
38790         * intl/tst-gettext2.sh: Likewise.
38791         * intl/tst-gettext4.sh: Likewise.
38792         * intl/tst-gettext6.sh: Likewise.
38793         * intl/tst-translit.sh: Likewise.
38794         * io/ftwtest-sh: Likewise.
38795         * libio/test-freopen.sh: Likewise.
38796         * malloc/tst-mtrace.sh: Likewise.
38797         * posix/globtest.sh: Likewise.
38798         * posix/tst-getconf.sh: Likewise.
38799         * posix/wordexp-tst.sh: Likewise.
38800         * stdio-common/tst-printf.sh: Likewise.
38801         * stdio-common/tst-unbputc.sh: Likewise.
38802         * stdlib/tst-fmtmsg.sh: Likewise.
38803         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38804         * catgets/Makefile: Do not specify -e option when running
38805         testsuite shell scripts.
38806         * elf/Makefile: Likewise.
38807         * grp/Makefile: Likewise.
38808         * iconvdata/Makefile: Likewise.
38809         * intl/Makefile: Likewise.
38810         * io/Makefile: Likewise.
38811         * libio/Makefile: Likewise.
38812         * malloc/Makefile: Likewise.
38813         * posix/Makefile: Likewise.
38814         * stdio-common/Makefile: Likewise.
38815         * stdlib/Makefile: Likewise.
38816         * sysdeps/x86_64/Makefile: Likewise.
38818         * io/ftwtest-sh: Add copyright header.
38819         * posix/globtest.sh: Likewise.
38820         * posix/tst-getconf.sh: Likewise.
38821         * posix/wordexp-tst.sh: Likewise.
38822         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38824 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38826         [BZ #13679]
38827         * Makeconfig (+link): Defined as $(+link-static) if
38828         $(build-shared) isn't yes.
38829         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38830         isn't yes.
38831         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38833         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38835         [BZ #14562]
38836         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38837         new chunk size with MALLOC_ALIGN_MASK.
38839 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38841         [BZ #5044]
38842         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38843         <rounding-mode.h>.
38844         (__printf_fphex): Determine rounding using get_rounding_mode and
38845         round_away.
38846         * stdio-common/tst-printf-round.c (struct hex_test): New
38847         structure.
38848         (hex_tests): New variable.
38849         (test_hex_in_one_mode): New function.
38850         (do_test): Also run tests for hex float output.
38852 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38854         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38855         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38856         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38857         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38858         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38859         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38860         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38861         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38863 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38865         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38866         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38867         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38868         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38870 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38872         [BZ #14579]
38873         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38874         mode only.
38875         * elf/tst-rtld-load-self.sh: New test.
38876         * elf/Makefile: Run it.
38878 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38880         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38881         (tst-writev-ENV): Remove.
38882         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38884 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38886         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38888 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38890         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38891         unconditional.
38892         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38893         Likewise.
38894         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38895         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38896         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38897         Likewise.
38899 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38901         [BZ #14587]
38902         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38903         * config.make.in (have-cpp-asm-debuginfo): Removed.
38904         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38905         * configure: Regenerated.
38907 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38909         [BZ #5044]
38910         * stdio-common/printf_fp.c: Include <stdbool.h> and
38911         <rounding-mode.h>.
38912         (___printf_fp): Determine rounding using get_rounding_mode and
38913         round_away.
38914         * stdio-common/tst-printf-round.c: New file.
38915         * stdio-common/Makefile (tests): Add tst-printf-round.
38916         (link-libm): New variable.
38917         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38919 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38921         [BZ #14576]
38922         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38923         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38924         Likewise.
38925         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38926         Likewise.
38928 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38930         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38931         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38932         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38933         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38935 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38937         [BZ #14518]
38938         * include/rounding-mode.h: New file.
38939         * sysdeps/generic/get-rounding-mode.h: Likewise.
38940         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38941         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38942         (MAX_VALUE): New macro.
38943         (MIN_VALUE): Likewise.
38944         (overflow_value): New function.
38945         (underflow_value): Likewise.
38946         (round_and_return): Use overflow_value and underflow_value to
38947         determine return values in overflow and underflow cases.  Use
38948         round_away to determine rounding depending on rounding mode.
38949         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38950         determine return values in overflow and underflow cases.
38951         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38952         (struct test_results): New structure.
38953         (struct test): Use struct test_results to store expected results
38954         for all rounding modes.
38955         (TEST): Include expected results for all rounding modes.
38956         (test_in_one_mode): New function.
38957         (do_test): Use test_in_one_mode to compute and check results.
38958         Check results for all rounding modes.
38959         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38960         $(link-libm).
38962 2012-12-09  Allan McRae  <allan@archlinux.org>
38964         * sysdeps/i386/fpu/libm-test-ulps: Update
38966 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38968         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38969         (_G_int32_t): Likewise.
38970         (_G_uint16_t): Likewise.
38971         (_G_uint32_t): Likewise.
38972         (_G_HAVE_BOOL): Likewise.
38973         (_G_HAVE_ATEXIT): Likewise.
38974         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38975         (_G_HAVE_IO_FILE_OPEN): Likewise.
38976         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38977         (_G_int32_t): Likewise.
38978         (_G_uint16_t): Likewise.
38979         (_G_uint32_t): Likewise.
38980         (_G_HAVE_BOOL): Likewise.
38981         (_G_HAVE_ATEXIT): Likewise.
38982         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38983         (_G_HAVE_IO_FILE_OPEN): Likewise.
38984         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38985         (_G_int32_t): Likewise.
38986         (_G_uint16_t): Likewise.
38987         (_G_uint32_t): Likewise.
38988         (_G_HAVE_BOOL): Likewise.
38989         (_G_HAVE_ATEXIT): Likewise.
38990         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38991         (_G_HAVE_IO_FILE_OPEN): Likewise.
38993 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38995         * csu/libc-tls.c: Update copyright years.
38997 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38999         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39000         [!_G_USING_THUNKS]: Remove conditional code.
39001         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39002         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39004         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39005         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39006         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39007         (_G_VTABLE_LABEL_PREFIX): Likewise.
39008         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39009         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39010         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39011         (_G_VTABLE_LABEL_PREFIX): Likewise.
39012         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39013         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39014         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39015         (_G_VTABLE_LABEL_PREFIX): Likewise.
39016         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39018 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
39020         * libio/Makefile: Include ../Makeconfig before tests.
39021         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39022         only if $(build-shared) is yes.
39024         * iconv/gconv_db.c: Update copyright years.
39026 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39028         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39029         unwind info if defined PIC. Fix special cases description.
39030         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39032         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39033         DP_HI_MASK entry.
39034         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39036 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
39038         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39040         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39041         is NULL.
39043         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39044         (LDLIBS-tst-chk4): This.
39045         (LDFLAGS-tst-chk5): Renamed to ...
39046         (LDLIBS-tst-chk5): This.
39047         (LDFLAGS-tst-chk6): Renamed to ...
39048         (LDLIBS-tst-chk6): This.
39049         (LDFLAGS-tst-lfschk4): Renamed to ...
39050         (LDLIBS-tst-lfschk4): This.
39051         (LDFLAGS-tst-lfschk5): Renamed to ...
39052         (LDLIBS-tst-lfschk5): This.
39053         (LDFLAGS-tst-lfschk6): Renamed to ...
39054         (LDLIBS-tst-lfschk6): This.
39056         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39057         on $(common-objpfx)soversions.mk.
39059 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
39061         [BZ #10014]
39062         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39063         example host name.
39065 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39067         * malloc/arena.c (arena_get_retry): New function that gets
39068         another arena for the caller to try its request on.
39069         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39070         current arena cannot fulfill the request.
39071         (__libc_memalign): Likewise.
39072         (__libc_memalign): Likewise.
39073         (__libc_pvalloc): Likewise.
39074         (__libc_calloc): Likewise.
39076 2012-09-05  John Tobey  <john.tobey@gmail.com>
39078         [BZ #13542]
39079         * manual/arith.texi (Operations on Complex): Fix description
39080         of carg branch cut.
39082 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39084         [BZ #10014]
39085         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39086         host name.
39088         [BZ #10038]
39089         * manual/memory.texi (Memory): Make order of menu items match
39090         order of sections.
39092 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39094         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39095         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
39096         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39098 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39100         * csu/libc-tls.c (static_dtv): Renamed to ...
39101         (_dl_static_dtv): This.  Make it global.
39102         (_dl_initial_dtv): Removed.
39103         (__libc_setup_tls): Updated.
39104         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39105         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39106         DL_INITIAL_DTV.
39108 2012-09-06  Petr Machata  <pmachata@redhat.com>
39110         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39111         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39112         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39113         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39115 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39117         [BZ #14545]
39118         * csu/libc-tls.c (_dl_initial_dtv): New variable.
39119         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39120         freeing dtv[-1].
39122 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39124         [BZ #14544]
39125         * Makeconfig (link-static-before-libc): Replace $(+prector)
39126         with $(+prectorT).
39127         (link-static-after-libc): Replace $(+postctor) with
39128         $(+postctorT).
39129         (link-bounded): Replace $(+prector)/$(+postctor) with
39130         $(+prectorT)/$(+postctorT).
39131         (+prectorT): New macro.
39132         (+postctorT): Likewise.
39134 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39136         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39137         (round_str): Handle values above the maximum for IBM long double
39138         as inexact.
39139         * stdlib/tst-strtod-round.c (tests): Regenerated.
39141 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39143         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39144         assembler flag.
39145         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39146         zarch_nohighgprs around the zarch optimized routines.
39147         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39148         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39149         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39150         for zarch.
39152 2012-09-05  David S. Miller  <davem@davemloft.net>
39154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39156         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39157         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39158         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39159         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39160         entries.
39162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39164         * malloc/arena.c: Fold copyright years.
39165         * malloc/mcheck.c, malloc/memusage.c: Likewise.
39167 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39169         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39171 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39173         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
39175 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39177         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39178         change internal state upon failure.
39180 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39182         * malloc/mcheck.c (mcheck_check_all): Fix typo.
39183         * malloc/memusage.c (mmap): Likewise.
39184         (mmap64, mremap): Likewise.  Adjust name in comment.
39186 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39188         * libio/fileops.c: Fix typos in comments.
39189         * libio/oldfileops.c: Likewise.
39190         * libio/wfileops.c: Likewise.
39192 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39194         [BZ #1349]
39195         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39196         (tst-malloc-usable-ENV): Set environment for test case.
39197         * malloc/hooks.c (malloc_check_get_size): New function to get
39198         requested size.
39199         * malloc/malloc.c (musable): Use malloc_check_get_size.
39200         * malloc/tst-malloc-usable.c: New test case.
39202 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39204         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39206 2012-09-05  Allan McRae  <allan@archlinux.org>
39208         [BZ #13966]
39209         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39210         determine header location.
39211         * configure: Regenerated.
39213 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39215         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39216         float format.
39217         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39218         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39219         format.
39220         (test): Regenerate.
39222 2012-09-04  David S. Miller  <davem@davemloft.net>
39224         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39225         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39226         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39228 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39230         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39231         failures.
39233         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39235 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39237         [BZ #9914]
39238         * libio/iogetdelim.c: Include <limits.h>.
39239         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39240         + len + 1 would overflow.
39242 2012-09-03  Andreas Jaeger  <aj@suse.de>
39244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39245         * sysdeps/i386/fpu/libm-test-ulps: Update.
39247 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39249         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39250         Add s_sinf-sse2, s_conf-sse2.
39252         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39253         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39254         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39255         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39257         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39258         for using routine as __sinf_ia32.
39259         Use macro for function declaration and weak_alias.
39260         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39261         for using routine as __cosf_ia32.
39262         Use macro for function declaration and weak_alias.
39264         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39265         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39267         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39268         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39271         * math/libm-test.inc (cos_test): Add more test cases.
39272         (sin_test): Likewise.
39273         (sincos_test): Likewise.
39275 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39277         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39278         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39279         hidden.
39280         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39282 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39284         [BZ #14538]
39285         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39286         first element of the GOT.
39287         (elf_machine_load_address): Return the difference between
39288         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39290 2012-09-01  Allan McRae  <allan@archlinux.org>
39292         [BZ #13412]
39293         * configure.in (AWK): Require gawk version 3.0 or later.
39294         * configure: Regenerated.
39296 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39298         * sysdeps/unix/sysv/linux/kernel-features.h
39299         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39301         [__NR_clock_getres]: Make code unconditional.
39302         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39303         (clock_getcpuclockid): Remove code left unreachable by removal of
39304         conditionals.
39305         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39306         code unconditional.
39307         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39308         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39309         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39310         Make code unconditional.
39311         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39312         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39313         * sysdeps/unix/sysv/linux/clock_settime.c
39314         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39315         conditional code.
39316         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39317         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39319 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39321         [BZ #14476]
39322         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39323         scripts/test-installation.pl.
39325         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39326         and $ld_so_version if it is set.
39328 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39330         [BZ #14516]
39331         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39332         failure if reading from procfs failed.
39333         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39335 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39337         * sysdeps/unix/sysv/linux/kernel-features.h
39338         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39339         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39340         Remove conditional code.
39341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39342         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39343         Remove conditional code.
39344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39345         * sysdeps/unix/sysv/linux/i386/fxstat.c
39346         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39348         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39349         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39350         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39351         * sysdeps/unix/sysv/linux/i386/lxstat.c
39352         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39354         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39355         Remove conditional code.
39356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39357         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39358         Remove conditional code.
39359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39360         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39361         <kernel-features.h>.
39362         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39363         Remove.
39364         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39365         Remove conditional code.
39366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39367         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39368         Remove conditional.
39370 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39372         [BZ #5400]
39373         * NEWS: Add fixed bug number.
39375 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39377         [BZ #14519]
39378         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39379         underflowing exponent in case of negative sign.
39380         * stdlib/tst-strtod-round-data: Add more tests.
39381         * stdlib/tst-strtod-round.c (tests): Regenerated.
39383         [BZ #3479]
39384         * stdlib/strtod_l.c (NDIG): Remove.
39385         (HEXNDIG): Likewise.
39386         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39387         smallest representable value.
39388         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39389         lie within an exact representation of 1/2 ulp of the result.
39390         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39391         unconditionally.
39392         (TENS_P9_IDX): Define unconditionally.
39393         (TENS_P9_SIZE): Likewise.
39394         (TENS_P10_IDX): Likewise.
39395         (TENS_P10_SIZE): Likewise.
39396         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39397         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39398         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39399         entries for 10^2^13 and 10^2^14.
39400         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39401         (TENS_P13_IDX): Define.
39402         (TENS_P13_SIZE): Likewise.
39403         (TENS_P14_IDX): Likewise.
39404         (TENS_P14_SIZE): Likewise.
39405         (_fpioconst_pow10): Change array size to
39406         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39407         unconditional.
39408         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39409         1024]: Add entries for 10^2^13 and 10^2^14.
39410         [LAST_POW10 > _LAST_POW10]: Remove #error.
39411         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39412         (_fpioconst_pow10): Change array size to
39413         FPIOCONST_POW10_ARRAY_SIZE.
39414         * stdlib/gen-fpioconst.c: New file.
39415         * stdlib/gen-tst-strtod-round.c: Likewise.
39416         * stdlib/tst-strtod-round-data: Likewise.
39417         * stdlib/tst-strtod-round.c: Likewise.
39418         * stdlib/Makefile (tests): Add tst-strtod-round.
39420         [BZ #14459]
39421         * stdlib/strtod_l.c: Include <stdint.h>.
39422         (NDEBUG): Do not define.
39423         (round_and_return): Change EXPONENT parameter to type intmax_t.
39424         Rearrange calculations to avoid internal overflow possibilities.
39425         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39426         Rearrange calculations to avoid internal overflow possibilities.
39427         Assert that number fits inside MPNSIZE limbs.
39428         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39429         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39430         calculations and add assertions to avoid internal overflow
39431         possibilities.  Add casts to avoid signed/unsigned operations.
39432         * stdlib/tst-strtod-overflow.c: New file.
39433         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39435 2012-08-25  Marek Polacek  <polacek@redhat.com>
39437         * time/time.h: Fix some typos in comments.
39439 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39441         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39442         * posix/tst-rfc3484-2.c: Likewise.
39443         * posix/tst-rfc3484-3.c: Likewise.
39445 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39447         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39448         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39450 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39452         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39453         #include of fxstatat64.c.
39455 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39457         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39458         * shadow/getspent_r.c: Likewise.
39459         * shadow/getspnam.c: Likewise.
39460         * shadow/getspnam_r.c: Likewise.
39461         * gshadow/getsgent.c: Likewise.
39462         * gshadow/getsgent_r.c: Likewise.
39463         * gshadow/getsgnam.c: Likewise.
39464         * gshadow/getsgnam_r.c: Likewise.
39465         * inet/getnetbyad.c: Likewise.
39466         * inet/getnetbyad_r.c: Likewise.
39467         * inet/getnetbynm.c: Likewise.
39468         * inet/getnetbynm_r.c: Likewise.
39469         * inet/getnetent.c: Likewise.
39470         * inet/getnetent_r.c: Likewise.
39471         * inet/getproto.c: Likewise.
39472         * inet/getproto_r.c: Likewise.
39473         * inet/getprtent.c: Likewise.
39474         * inet/getprtent_r.c: Likewise.
39475         * inet/getprtname.c: Likewise.
39476         * inet/getprtname_r.c: Likewise.
39477         * inet/getrpcbyname.c: Likewise.
39478         * inet/getrpcbyname_r.c: Likewise.
39479         * inet/getrpcbynumber.c: Likewise.
39480         * inet/getrpcbynumber_r.c: Likewise.
39481         * inet/getrpcent.c: Likewise.
39482         * inet/getrpcent_r.c: Likewise.
39483         * inet/getaliasent.c: Likewise.
39484         * inet/getaliasent_r.c: Likewise.
39485         * inet/getaliasname.c: Likewise.
39486         * inet/getaliasname_r.c: Likewise.
39487         * nscd/getgrgid_r.c: Likewise.
39488         * nscd/getgrnam_r.c: Likewise.
39489         * nscd/gethstbyad_r.c: Likewise.
39490         * nscd/gethstbynm3_r.c: Likewise.
39491         * nscd/getpwnam_r.c: Likewise.
39492         * nscd/getpwuid_r.c: Likewise.
39493         * nscd/getsrvbynm_r.c: Likewise.
39494         * nscd/getsrvbypt_r.c: Likewise.
39495         * nscd/gai.c: Likewise.
39497         * configure.in (build_nscd): New substituted variable, set
39498         by --disable-build-nscd and defaults to $use_nscd.
39499         * configure: Regenerated.
39500         * config.make.in (build-nscd): New substituted variable.
39501         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39502         Change conditional to require [$(build-nscd) = yes] as well.
39503         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39505         [BZ# 13696]
39506         * configure.in (use_nscd): New substituted variable, set by
39507         --disable-nscd.  If enabled, define USE_NSCD.
39508         * configure: Regenerated.
39509         * config.h.in: Add USE_NSCD.
39510         * config.make.in (use-nscd): New substituted variable.
39511         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39512         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39513         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39514         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39515         (CFLAGS-getgrnam_r.c): Likewise.
39516         (CFLAGS-initgroups.c): Likewise.
39517         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39518         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39519         Variables removed.
39520         * inet/getnetgrent_r.c
39521         (nscd_setnetgrent): New function, broken out of ...
39522         (setnetgrent): ... here.  Call it.
39523         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39524         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39525         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39526         * nscd/Makefile (routines, aux): Move definitions after include of
39527         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39528         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39529         Conditionalize on [USE_NSCD].
39530         (is_nscd, nscd_init_cb): Likewise.
39531         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39532         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39533         * nss/nss_db/db-init.c: Likewise.
39534         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39535         [USE_NSCD].
39536         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39537         (make_request): Use it.
39538         (cache_valid_p): New function.
39539         (__check_pf): Use it.
39540         * NEWS: Add item for --disable-nscd.
39542 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39544         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39545         to support sed >= 4.2.1-20-ga9bf076.
39546         * configure: Regenerated.
39548 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39550         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39551         Conditionalize whole body on [IREL].
39553 2012-08-22  Jeff Law <law@redhat.com>
39555         [BZ #14505]
39556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39557         if the family is PF_UNSPEC.
39559 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39561         * Makerules (lib-version): Rename from V.
39562         (install-lib-nosubdir): Change V to lib-version.
39564 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39566         [BZ #14252]
39567         * powerpc32/power6/wcschr.c: New file.
39568         * powerpc32/power6/wcscpy.c: New file.
39569         * powerpc32/power6/wcsrchr.c: New file.
39570         * powerpc64/power6/wcschr.c: New file.
39571         * powerpc64/power6/wcscpy.c: New file.
39572         * powerpc64/power6/wcsrchr.c: New file.
39574 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39576         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39577         (two_way_short_needle): Use it.
39578         * string/strstr.c (AVAILABLE1_USES_J): Define.
39579         * string/strcasestr.c: Likewise.
39581         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39582         array references.
39583         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39585         [BZ #11607]
39586         * NEWS: Add an entry.
39587         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39588         define their defaults.
39589         (two_way_short_needle): Detect end-of-string on-the-fly.
39590         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39591         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39592         * string/bug-strcasestr1.c: New test.
39593         * string/Makefile: Run it.
39595 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39597         [BZ #11607]
39598         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39599         the first character.
39601 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39603         * csu/elf-init.c (__libc_csu_irel): Function removed.
39604         * csu/libc-start.c (apply_irel): New function.
39605         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39607 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39609         * sysdeps/unix/sysv/linux/kernel-features.h
39610         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39611         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39612         <kernel-features.h>.
39613         [__NR_fadvise64_64]: Make code unconditional.
39614         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39615         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39616         !__NR_fadvise64_64)]: Likewise.
39617         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39618         !__NR_fadvise64_64))]: Likewise.
39619         [__NR_fadvise64]: Make code unconditional.
39620         [!__NR_fadvise64]: Remove conditional code.
39621         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39622         <kernel-features.h>.
39623         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39624         unconditional.
39625         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39626         conditional code.
39627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39628         not include <kernel-features.h>.
39629         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39630         unconditional.
39631         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39632         conditional code.
39633         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39634         include <kernel-features.h>.
39635         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39636         unconditional.
39637         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39638         conditional code.
39640 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39642         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39643         slight instruction rearrangements per scrollpipe analysis.
39644         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39646 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39648         * manual/syslog.texi (syslog; vsyslog, closelog):
39649         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39650         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39652         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39653         DSOCAPS to match condition on defining it.
39655 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39657         * sysdeps/unix/sysv/linux/kernel-features.h
39658         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39660         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39661         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39663         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39664         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39666         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39667         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39669         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39670         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39672         * sysdeps/unix/sysv/linux/kernel-features.h
39673         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39674         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39675         unconditional.
39676         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39677         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39678         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39679         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39680         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39681         Make code unconditional.
39682         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39683         (__mmap64) [!__NR_mmap2]: Likewise.
39684         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39685         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39686         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39687         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39688         [__NR_mmap2]: Make code unconditional.
39689         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39690         (__mmap64) [!__NR_mmap2]: Likewise.
39692 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39694         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39696 2012-08-18  Andreas Jaeger  <aj@suse.de>
39698         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39700 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39702         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39703         * include/unistd.h (__have_sock_cloexec): Likewise.
39704         (__have_pipe2): Likewise.
39705         (__have_dup3): Likewise.
39707 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39709         [BZ #9685]
39710         * include/unistd.h (__have_pipe2): Change define into an extern int.
39711         (__have_dup3): Likewise.
39712         * socket/have_sock_cloexec.c: Include fcntl.h.
39713         (__have_pipe2): New variable.
39714         (__have_dup3): Likewise.
39716 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39718         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39720 2012-08-17  Marek Polacek  <polacek@redhat.com>
39722         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39723         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39725 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39727         * configure.in: Add AC_SUBST for sysheaders.
39728         * configure: Regenerated.
39729         * config.make.in (sysheaders): New substituted variable.
39731         * sysdeps/unix/mkfifo.c: Moved ...
39732         * sysdeps/posix/mkfifo.c: ... here.
39733         * sysdeps/unix/mkfifoat.c: Moved ...
39734         * sysdeps/posix/mkfifoat.c: ... here.
39736         * sysdeps/unix/utime.c: Moved ...
39737         * sysdeps/posix/utime.c: ... here.
39739         * sysdeps/unix/time.c: Moved ...
39740         * sysdeps/posix/time.c: ... here.
39741         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39742         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39744         * sysdeps/unix/nice.c: Moved ...
39745         * sysdeps/posix/nice.c: ... here.
39747         * sysdeps/unix/alarm.c: Moved ...
39748         * sysdeps/posix/alarm.c: ... here.
39750         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39752 2012-08-17  Jeff Law <law@redhat.com>
39754         * intl/Makefile (codeset_mo): New variable.
39755         ($(codeset_mo)): New target.
39756         (tst-codeset.out): Depend on that.  Remove explicit rule.
39757         (tst-gettext3.out, tst-gettext5.out): Likewise.
39758         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39759         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39760         * intl/tst-codeset.sh: Remove.
39761         * intl/tst-gettext3.sh: Likewise.
39762         * intl/tst-gettext5.sh: Likewise.
39764 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39766         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39767         * sysdeps/unix/syscalls.list: ... here.
39769         * sysdeps/posix/getaddrinfo.c
39770         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39771         (gaiconf_init, gaiconf_reload): Use them.
39772         [!_STATBUF_ST_NSEC]
39773         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39774         Define using time_t rather than struct timespec.
39776         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39777         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39778         Macros removed.
39779         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39780         [!NO_THREADS].
39781         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39782         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39783         Likewise.
39785         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39786         __libc_cleanup_push argument.
39788         * bits/param.h: New file.
39789         * misc/sys/param.h: New file.
39790         * include/sys/param.h: New file.
39791         * misc/Makefile (headers): Add bits/param.h.
39792         * sysdeps/generic/sys/param.h: File removed.
39793         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39794         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39795         * sysdeps/mach/hurd/bits/param.h: New file.
39796         * sysdeps/mach/hurd/sys/param.h: File removed.
39798         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39799         last change.
39801         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39802         [_IO_MTSAFE_IO].
39803         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39804         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39805         New macros.
39807         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39808         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39809         rather than -D_IO_MTSAFE_IO conditionally.
39810         * stdio-common/Makefile (CPPFLAGS): Likewise.
39811         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39812         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39813         Use $(libio-mtsafe).
39814         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39815         of -D_IO_MTSAFE_IO.
39816         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39817         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39818         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39819         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39820         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39821         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39822         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39823         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39824         (CFLAGS-fread_u_chk.c): Likewise.
39825         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39826         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39827         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39828         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39829         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39830         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39831         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39832         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39833         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39835         * libio/Makefile: Test [$(libc-reentrant) = yes]
39836         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39838         * Makeconfig
39839         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39840         * sysdeps/pthread/configure: File removed.
39841         * sysdeps/pthread/Makeconfig: New file.
39842         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39843         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39845 2012-08-16  Gary Benson  <gbenson@redhat.com>
39847         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39848         unmapping the first object in a namespace.
39850 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39852         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39853         (__internal_setnetgrent): ... this.  Add internal_function to
39854         definition.  Add libc_hidden_def.
39855         (setnetgrent): Update caller.
39856         (internal_endnetgrent): Renamed to ...
39857         (__internal_endnetgrent): ... this.  Add internal_function to
39858         definition.  Add libc_hidden_def.
39859         (endnetgrent): Update caller.
39860         (internal_getnetgrent_r): Renamed to ...
39861         (__internal_getnetgrent_r): ... this.  Add internal_function to
39862         definition.  Add libc_hidden_def.
39863         (__getnetgrent_r): Update caller.
39864         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39866 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39868         * stdlib/longlong.h: Update from GCC.
39870 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39872         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39873         on _QL, which is set by umul_ppmm but never used.
39874         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39875         variables, which are set by GMP macros but never used.
39876         * stdio-common/_itowa.c (_itowa): Likewise.
39877         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39878         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39880 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39882         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39883         struct La_sh_regs is not constant.
39884         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39885         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39886         and struct La_sparc64_regs are not constant.
39888 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39890         * sysdeps/unix/sysv/linux/kernel-features.h
39891         (__ASSUME_POSIX_TIMERS): Remove.
39892         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39894         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39895         Make code unconditional.
39896         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39897         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39898         Make code unconditional.
39899         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39900         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39901         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39902         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39903         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39904         Make code unconditional.
39905         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39906         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39907         (__libc_missing_posix_timers): Remove.
39909 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39911         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39912         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39914         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39916         * elf/dl-sym.c: Include <stdlib.h>.
39918         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39919         constants, which avoids warnings in 32-bit builds.
39921         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39922         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39924         * misc/lseek.c: File moved to ...
39925         * io/lseek.c: ... here.
39927         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39929         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39930         shifting LEN more than 31 bits at once.
39932 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39934         [BZ #14195]
39935         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39936         segmentation fault for a case of two empty input strings.
39937         * string/test-strncasecmp.c (check1): Renamed to...
39938         (bz12205): ...this.
39939         (bz14195): Add new testcase for two empty input strings and N > 0.
39940         (test_main): Call new testcase, adapt for renamed function.
39942 2012-08-15  Andreas Jaeger  <aj@suse.de>
39944         [BZ #14090]
39945         * crypt/md5test2.c: New test, based on test supplied by Serge
39946         Belyshev <belyshev@depni.sinp.msu.ru>.
39947         * crypt/Makefile (xtests): Add md5test-giant..
39948         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39950 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39952         [BZ #14090]
39953         * crypt/md5.c (md5_process_block): Don't assume the buffer
39954         length is less than 2**32.
39955         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39956         length is less than 2**64.
39958 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39960         * string/str-two-way.h: Include <sys/param.h>.
39961         (MAX): Macro removed.
39963         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39964         Move #define and #undef of memmove to just before and after
39965         including <string.h>.
39967         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39968         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39969         and after including <string.h>.  Move declarations of
39970         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39971         to before #include "string/memmove.c".
39973         * include/dirent.h: Declare __getdirentries.
39975         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39976         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39978 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39980         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39981         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39982         * sysdeps/i386/configure: Regenerated.
39983         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39984         STABS_CURRENT_FILE, and STABS_FUN.
39985         (END): Remove call to STABS_FUN_END.
39986         (STABS_CURRENT_FILE1): Delete.
39987         (STABS_CURRENT_FILE): Likewise.
39988         (STABS_FUN): Likewise.
39989         (STABS_FUN_END): Likewise.
39990         (STABS_FUN2): Likewise.
39991         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39992         * sysdeps/x86_64/configure: Regenerated.
39994 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39996         * elf/dl-open.c: Include <atomic.h>.
39997         * elf/dl-lookup.c: Likewise.
39999 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
40001         * sysdeps/unix/sysv/linux/kernel-features.h
40002         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40003         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40004         unconditionally.
40005         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40006         unconditionally.
40007         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40008         condition on __ASSUME_CLONE_THREAD_FLAGS.
40010 2012-08-14  Andreas Jaeger  <aj@suse.de>
40012         * sysdeps/i386/fpu/libm-test-ulps: Update.
40014 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
40016         * include/atomic.h (atomic_exchange_and_add): Split into ...
40017         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40018         New atomic macros.
40020 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
40022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40024 2012-08-13  Jeff Law <law@redhat.com>
40026         * manual/stdio.texi (snprintf): Clarify handling of the trailing
40027         null byte in the output string.
40029 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
40031         * sysdeps/unix/sysv/linux/kernel-features.h
40032         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40033         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40034         (__ASSUME_ARG_MAX_STACK_BASED): Define.
40035         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40036         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40037         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
40038         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40040 2012-08-09  Jeff Law <law@redhat.com>
40042         [BZ #13939]
40043         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40044         When avoid_arena is set, don't retry in the that arena.  Pick the
40045         next one, whatever it might be.
40046         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40047         (arena_lock): Pass in new parameter to arena_get2.
40048         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40049         arena_get2.
40050         (__libc_malloc): Unify retrying after main arena failure with
40051         __libc_memalign version.
40052         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40054 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
40056         [BZ #14166]
40057         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40058         to __redirect_strstr.
40059         (__strstr_sse42): Use typeof __redirect_strstr.
40060         (__strstr_ia32): Likewise.
40061         (__libc_strstr): New prototype.
40062         (strstr): Renamed to ...
40063         (__libc_strstr): This.
40064         (strstr): New strong alias of __libc_strstr.
40065         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40066         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40067         __redirect_time.
40068         Include <time.h>.
40069         (__libc_time): New prototype.
40070         (time_ifunc): Replace time with __libc_time.
40071         (time): New strong alias and hidden definition of __libc_time.
40072         (__GI_time): Remove strong alias.
40073         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40074         Include <stddef.h>.
40075         (memmove): Redefined to __redirect_memmove.
40076         (__memmove_sse2): Use typeof __redirect_memmove.
40077         (__memmove_ssse3): Likewise.
40078         (__memmove_ssse3_back): Likewise.
40079         (__libc_memmove): New prototype.
40080         (memmove): Renamed to ...
40081         (__libc_memmove): This.
40082         (memmove): New strong alias of __libc_memmove.
40084 2012-08-08  Mark Salter  <msalter@redhat.com>
40086         * elf/elf.h
40087         (R_MN10300_TLS_GD): Define.
40088         (R_MN10300_TLS_LD): Likewise.
40089         (R_MN10300_TLS_LDO): Likewise.
40090         (R_MN10300_TLS_GOTIE): Likewise.
40091         (R_MN10300_TLS_IE): Likewise.
40092         (R_MN10300_TLS_LE): Likewise.
40093         (R_MN10300_TLS_DTPMOD): Likewise.
40094         (R_MN10300_TLS_DTPOFF): Likewise.
40095         (R_MN10300_TLS_TPOFF): Likewise.
40096         (R_MN10300_SYM_DIFF): Likewise.
40097         (R_MN10300_ALIGN): Likewise.
40098         (R_MN10300_NUM): Update.
40100 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
40102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40103         Remove.
40105 2012-08-08  Roland McGrath  <roland@hack.frob.com>
40107         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40109         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40110         sysdeps/unix -> sysdeps/posix move.
40111         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40113 2012-08-07      Allan McRae     <allan@archlinux.org>
40115         [BZ #14303]
40116         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40117         (SUNOS_CPP): Likewise.
40118         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40119         not found.
40120         (open_input): Call CPP using execvp.
40122 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40124         * sysdeps/unix/sysv/linux/kernel-features.h
40125         (__ASSUME_PROT_GROWSUPDOWN): Remove.
40126         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40127         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40128         (__ASSUME_WAITID_SYSCALL): Likewise.
40129         * sysdeps/unix/sysv/linux/dl-execstack.c
40130         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40131         code unconditional.
40132         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40133         conditional code.
40134         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40135         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40136         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40137         code.
40138         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40139         unconditional.
40140         [__ASSUME_WAITID_SYSCALL]: Likewise.
40141         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40143 2012-08-07  Roland McGrath  <roland@hack.frob.com>
40145         * sysdeps/unix/closedir.c: Renamed to ...
40146         * sysdeps/posix/closedir.c: ... here.
40147         * sysdeps/unix/dirfd.c: Renamed to ...
40148         * sysdeps/posix/dirfd.c: ... here.
40149         * sysdeps/unix/dirstream.h: Renamed to ...
40150         * sysdeps/posix/dirstream.h: ... here.
40151         * sysdeps/unix/fdopendir.c: Renamed to ...
40152         * sysdeps/posix/fdopendir.c: ... here.
40153         * sysdeps/unix/opendir.c: Renamed to ...
40154         * sysdeps/posix/opendir.c: ... here.
40155         * sysdeps/unix/readdir.c: Renamed to ...
40156         * sysdeps/posix/readdir.c: ... here.
40157         * sysdeps/unix/readdir_r.c: Renamed to ...
40158         * sysdeps/posix/readdir_r.c: ... here.
40159         * sysdeps/unix/rewinddir.c: Renamed to ...
40160         * sysdeps/posix/rewinddir.c: ... here.
40161         * sysdeps/unix/seekdir.c: Renamed to ...
40162         * sysdeps/posix/seekdir.c: ... here.
40163         * sysdeps/unix/telldir.c: Renamed to ...
40164         * sysdeps/posix/telldir.c: ... here.
40165         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40166         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40167         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40168         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40170         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40171         * bits/fcntl.h: ... here.
40173         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40174         not 0.
40175         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40176         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40177         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40178         (struct flock): Move l_start, l_len to the beginning.
40179         Use __pid_t for l_pid.
40180         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40181         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40182         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40183         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40184         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40185         [__USE_LARGEFILE64] (struct flock64): New type.
40186         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40188         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40189         * bits/dirent.h: ... here.
40191         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40192         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40194 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40196         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40197         Change from 2.6.0 to 2.6.16.
40198         * sysdeps/unix/sysv/linux/configure: Regenerated.
40199         * sysdeps/unix/sysv/linux/kernel-features.h
40200         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40201         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40202         version.
40203         (__ASSUME_UTIMES): Likewise.
40204         (__ASSUME_CLONE_STOPPED): Remove.
40205         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40206         architectures, not kernel version.
40207         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40208         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40209         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40210         (__ASSUME_WAITID_SYSCALL): Likewise.
40211         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40212         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40213         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40214         refer to older versions.
40216 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40218         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40219         Define alphasort64 as an alias.
40220         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40221         Define versionsort64 as an alias.
40222         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40223         Define scandir64 as an alias.
40224         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40225         Define scandirat64 as an alias.
40226         * dirent/alphasort64.c (alphasort64):
40227         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40228         * dirent/versionsort64.c: Likewise.
40229         * dirent/scandir64.c: Likewise.
40230         * dirent/scandirat64.c: Likewise.
40231         * sysdeps/wordsize-64/alphasort.c: File removed.
40232         * sysdeps/wordsize-64/alphasort64.c: File removed.
40233         * sysdeps/wordsize-64/scandir.c: File removed.
40234         * sysdeps/wordsize-64/scandir64.c: File removed.
40235         * sysdeps/wordsize-64/scandirat.c: File removed.
40236         * sysdeps/wordsize-64/scandirat64.c: File removed.
40237         * sysdeps/wordsize-64/versionsort.c: File removed.
40238         * sysdeps/wordsize-64/versionsort64.c: File removed.
40239         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40240         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40241         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40242         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40243         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40244         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40245         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40246         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40248         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40250         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40252         [defined __arch64__ || defined __sparcv9]
40253         (__INO_T_MATCHES_INO64_T): New macro.
40254         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40255         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40256         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40257         * sysdeps/unix/sysv/linux/bits/dirent.h
40258         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40259         (_DIRENT_MATCHES_DIRENT64): New macro.
40261         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40262         Define lockf64 as an alias.
40263         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40264         Define fseeko64 as an alias.
40265         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40266         Define ftello64 as an alias.
40267         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40268         Define _IO_fgetpos64 and fgetpos64 as aliases.
40269         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40270         Define _IO_fsetpos64 and fsetpos64 as aliases.
40271         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40272         Conditionalize body on this.
40273         * libio/fseeko64.c: Likewise.
40274         * libio/ftello64.c: Likewise.
40275         * libio/iofgetpos64.c: Likewise.
40276         * libio/iofsetpos64.c: Likewise.
40277         * sysdeps/wordsize-64/lockf.c: File removed.
40278         * sysdeps/wordsize-64/lockf64.c: File removed.
40279         * sysdeps/wordsize-64/fseeko.c: File removed.
40280         * sysdeps/wordsize-64/fseeko64.c: File removed.
40281         * sysdeps/wordsize-64/ftello.c: File removed.
40282         * sysdeps/wordsize-64/ftello64.c: File removed.
40283         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40284         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40285         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40286         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40287         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40288         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40293         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40296         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40298         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40299         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40300         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40301         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40302         [defined __arch64__ || defined __sparcv9]
40303         (__OFF_T_MATCHES_OFF64_T): New macro.
40304         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40305         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40306         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40307         (__OFF_T_MATCHES_OFF64_T): New macro.
40309 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40311         * stdlib/secure-getenv.c (__secure_getenv): Replace
40312         GLIBC_2_16 with GLIBC_2_17.
40314 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40316         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40319 2012-08-03  David S. Miller  <davem@davemloft.net>
40321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40323 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40326         Remove.
40327         (__ASSUME_CORRECT_SI_PID): Likewise.
40328         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40329         (__ASSUME_TMPFS_NAME): Likewise.
40330         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40331         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40332         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40333         (HAVE_AUX_SECURE): Make definition unconditional.
40334         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40335         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40337 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40339         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40340         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40341         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40342         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40343         __eloop_threshold instead of SYMLOOP_MAX.
40345         * sysdeps/generic/eloop-threshold.h: New file.
40346         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40347         of MAXSYMLINKS.
40348         * elf/chroot_canon.c (chroot_canon): Likewise.
40350 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40352         [BZ #13717]
40353         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40354         Change to 2.6.0 everywhere.
40355         * sysdeps/unix/sysv/linux/configure: Regenerated.
40356         * sysdeps/unix/sysv/linux/kernel-features.h
40357         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40358         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40359         kernel versions.
40360         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40361         (__ASSUME_FUTEX_REQUEUE): Remove.
40362         (__ASSUME_STATFS64): Define unconditionally.
40363         (__ASSUME_AT_SECURE): Likewise.
40364         (__ASSUME_CORRECT_SI_PID): Likewise.
40365         (__ASSUME_TGKILL): Define without depending on kernel version for
40366         i386.
40367         (__ASSUME_UTIMES): Likewise.
40368         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40369         kernel version.
40370         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40371         (__ASSUME_TMPFS_NAME): Likewise.
40372         * README: Update reference to Linux kernel versions.
40374 2012-08-02  Marek Polacek  <polacek@redhat.com>
40376         [BZ# 14150]
40377         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40378         libc_cv_asm_type_prefix with %.
40379         * configure: Regenerated.
40380         * include/libc-symbols.h: Remove comment about
40381         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40382         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40383         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40384         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40385         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40386         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40387         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40388         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40389         * elf/tst-unique2mod1.c: Likewise.
40390         * elf/tst-unique1mod2.c: Likewise.
40391         * elf/tst-unique1mod1.c: Likewise.
40392         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40393         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40394         Replace ASM_TYPE_DIRECTIVE with .type.
40395         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40396         * sysdeps/i386/sysdep.h: Likewise.
40397         * sysdeps/x86_64/sysdep.h: Likewise.
40398         * sysdeps/sh/sysdep.h: Likewise.
40399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40400         Do not define ASM_TYPE_DIRECTIVE.
40401         * sysdeps/powerpc/sysdep.h: Likewise.
40402         * sysdeps/powerpc/powerpc32/sysdep.h:
40403         Replace ASM_TYPE_DIRECTIVE with .type.
40404         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40405         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40406         * sysdeps/i386/fpu/e_powf.S: Likewise.
40407         * sysdeps/i386/fpu/e_expl.S: Likewise.
40408         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40409         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40410         * sysdeps/i386/fpu/e_pow.S: Likewise.
40411         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40412         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40413         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40414         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40415         * sysdeps/i386/fpu/e_log2.S: Likewise.
40416         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40417         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40418         * sysdeps/i386/fpu/e_powl.S: Likewise.
40419         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40420         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40421         * sysdeps/i386/fpu/e_logl.S: Likewise.
40422         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40423         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40424         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40425         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40426         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40427         * sysdeps/i386/fpu/e_log.S: Likewise.
40428         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40429         * sysdeps/i386/fpu/e_logf.S: Likewise.
40430         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40431         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40432         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40433         * sysdeps/i386/fpu/e_log10.S: Likewise.
40434         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40435         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40436         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40437         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40438         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40439         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40440         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40441         * sysdeps/i386/i686/strtok.S: Likewise.
40442         * sysdeps/i386/i386-mcount.S: Likewise.
40443         * sysdeps/i386/strtok.S: Likewise.
40444         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40445         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40446         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40447         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40448         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40449         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40450         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40451         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40452         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40453         * sysdeps/x86_64/_mcount.S: Likewise.
40454         * sysdeps/x86_64/strtok.S: Likewise.
40455         * sysdeps/sh/_mcount.S: Likewise.
40457 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40459         * libio/iofopen.c: Include <fcntl.h>.
40460         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40461         (_IO_fopen64, fopen64): Define as aliases.
40462         * libio/iofopen64.c: Include <fcntl.h>.
40463         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40464         Conditionalize body on this.
40465         * sysdeps/wordsize-64/iofopen.c: File removed.
40466         * sysdeps/wordsize-64/iofopen64.c: File removed.
40468 2012-08-01  Marek Polacek  <polacek@redhat.com>
40470         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40471         Use dlfcn directly instead of a variable.
40472         (binfmt-subdir): Do not define.
40473         (dlfcn): Likewise.
40475 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40478         Remove all definitions.
40479         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40480         <kernel-features.h>.
40481         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40482         (miss_F_GETOWN_EX): Remove all definitions.
40483         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40484         macro definition.
40485         [!__ASSUME_FCNTL64]: Remove conditional code.
40486         [__ASSUME_FCNTL64]: Make code unconditional.
40487         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40488         <kernel-features.h>.
40489         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40490         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40491         (lockf64) [__NR_fcntl64]: Make code unconditional.
40492         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40494         * sysdeps/unix/sysv/linux/kernel-features.h
40495         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40496         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40497         Make code unconditional.
40498         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40499         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40501         [__NR_vfork]: Make code unconditional.
40502         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40503         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40505         [__NR_vfork]: Make code unconditional.
40506         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40507         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40509 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40511         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40512         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40514         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40515         Define mkstemp64 as an alias.
40516         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40517         Define mkstemps64 as an alias.
40518         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40519         Define mkostemp64 as an alias.
40520         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40521         Define mkostemps64 as an alias.
40522         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40523         Conditionalize body on this.
40524         * misc/mkostemp64.c: Likewise.
40525         * misc/mkostemps64.c: Likewise.
40526         * misc/mkstemps64.c: Likewise.
40527         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40528         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40529         * sysdeps/wordsize-64/mkostemp.c: File removed.
40530         * sysdeps/wordsize-64/mkstemp.c: File removed.
40531         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40532         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40533         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40534         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40536         [BZ #14138]
40537         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40538         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40539         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40540         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40542         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40543         compat_symbol macros from <shlib-compat.h> rather than the underlying
40544         default_symbol_version and symbol_version macros, so that DEFAULT
40545         lines in shlib-versions are respected.
40546         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40548 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40550         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40551         Declare with warn_unused_result.
40552         (setgid, setregid, setegid, setresgid): Likewise.
40553         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40554         Likewise.
40555         * WUR-REPORT: Remove set*id functions.
40557 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40559         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40561 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40563         [BZ #10191]
40564         * include/sys/socket.h (__libc_accept, __libc_accept4):
40565         Add attribute_hidden.
40566         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40568         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40569         use of PTR_MANGLE.
40570         * inet/getnetgrent_r.c (setup): Likewise.
40572         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40574 2012-07-31  David S. Miller  <davem@davemloft.net>
40576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40578 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40580         [BZ #13629]
40581         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40582         value between 1.0 and 2.0 and smaller part has absolute value less
40583         than 1.0.
40584         * math/s_clog10.c (__clog10): Likewise.
40585         * math/s_clog10f.c (__clog10f): Likewise.
40586         * math/s_clog10l.c (__clog10l): Likewise.
40587         * math/s_clogf.c (__clogf): Likewise.
40588         * math/s_clogl.c (__clogl): Likewise.
40589         * math/libm-test.inc (clog_test): Add more tests.
40590         (clog10_test): Likewise.
40591         * sysdeps/i386/fpu/libm-test-ulps: Update.
40592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40594 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40596         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40597         Exit with zero in case no suitable GID is found, and write a
40598         message to standard error.
40600 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40602         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40603         rather than to 1.
40604         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40605         (MAXPATHLEN): Removed.
40606         (NOGROUP, NODEV): New macros.
40607         (setbit, clrbit, isset, isclr): New macros.
40608         (howmany, roundup, powerof2): New macros.
40609         (DEV_BSIZE): New macro.
40611         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40612         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40614         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40615         definition on [!__NO_LONG_DOUBLE_MATH].
40617         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40618         PTR_MANGLE and PTR_DEMANGLE.
40620         * socket/accept4.c (accept4): Rename to __libc_accept4.
40621         Define accept4 as a weak alias.
40623         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40624         on [_DIRENT_HAVE_D_TYPE].
40625         * io/ftw.c (ftw_dir): Likewise.
40627         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40629         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40631         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40632         Use the BSD numbers rather than the arbitrary ones we had.
40633         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40634         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40635         (SIGXCPU, SIGXFSZ): New macros.
40636         (_NSIG): Now 32.
40638         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40639         initializer on [_LIBC_REENTRANT].
40641         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40642         definitions inside [_POSIX_MAPPED_FILES].
40644         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40646         * dirent/opendir.c: Include <fcntl.h>.
40648         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40649         (__libc_getspecific): Likewise.
40650         (__libc_key_create): Likewise.
40652         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40653         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40654         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40655         (tmpfile64): Define as alias.
40656         * sysdeps/wordsize-64/tmpfile.c: File removed.
40657         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40658         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40661         * stdio-common/vfscanf.c: Include <stdbool.h>.
40662         * nss/makedb.c: Likewise.
40663         * stdio-common/_i18n_number.h: Likewise.
40664         * argp/argp-help.c: Likewise.
40665         * posix/wordexp.c: Likewise.
40666         * sysdeps/posix/spawni.c: Likewise.
40667         * nss/nss_files/files-initgroups.c: Likewise.
40668         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40669         * nss/nss_files/files-initgroups.c: Likewise.
40670         * nss/nss_db/db-netgrp.c: Likewise.
40671         * nss/nss_db/db-initgroups.c: Likewise.
40672         * io/fchmodat.c: Include <sys/stat.h>.
40674         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40675         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40677         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40678         [HAVE_MMAP].
40680         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40681         Add multiple inclusion protection.
40683 2012-07-27  David S. Miller  <davem@davemloft.net>
40685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40687 2012-07-27  Gary Benson  <gbenson@redhat.com>
40689         [BZ #14298]
40690         * elf/rtld.c: Include <stap-probe.h>.
40691         (dl_main): Added static probes "init_start" and "init_complete".
40692         * elf/dl-load.c: Include <stap-probe.h>.
40693         (lose): Take new parameter "nsid".
40694         Added static probe "map_failed".
40695         (_dl_map_object_from_fd): Pass namespace id to lose.
40696         Added static probe "map_start".
40697         (open_verify): Pass namespace id to lose.
40698         * elf/dl-open.c: Include <stap-probe.h>.
40699         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40700         and "reloc_complete".
40701         * elf/dl-close.c: Include <stap-probe.h>.
40702         (_dl_close_worker): Added static probes "unmap_start" and
40703         "unmap_complete".
40704         * elf/rtld-debugger-interface.txt: New file documenting the above.
40706 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40708         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40709         rather than a string variable.
40710         * sunrpc/rpc_main.c (h_output): Likewise.
40711         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40713 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40715         * inet/check_native.c: New file.
40717 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40719         [BZ #13629]
40720         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40721         if larger part has absolute value 1.0.
40722         * math/s_clog10.c (__clog10): Likewise.
40723         * math/s_clog10f.c (__clog10f): Likewise.
40724         * math/s_clog10l.c (__clog10l): Likewise.
40725         * math/s_clogf.c (__clogf): Likewise.
40726         * math/s_clogl.c (__clogl): Likewise.
40727         * math/libm-test.inc (clog_test): Add more tests.
40728         (clog10_test): Likewise.
40729         * sysdeps/i386/fpu/libm-test-ulps: Update.
40730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40732         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40733         (pltexit): Likewise.
40734         (La_regs): Likewise.
40735         (La_retval): Likewise.
40736         (int_retval): Likewise.
40737         Update #error for removed macros to refer only to definitions in
40738         tst-audit.h.
40739         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40740         macro.
40741         (pltexit): Likewise.
40742         (La_regs): Likewise.
40743         (La_retval): Likewise.
40744         (int_retval): Likewise.
40745         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40746         macro.
40747         (pltexit): Likewise.
40748         (La_regs): Likewise.
40749         (La_retval): Likewise.
40750         (int_retval): Likewise.
40751         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40752         macro.
40753         (pltexit): Likewise.
40754         (La_regs): Likewise.
40755         (La_retval): Likewise.
40756         (int_retval): Likewise.
40757         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40758         macro.
40759         (pltexit): Likewise.
40760         (La_regs): Likewise.
40761         (La_retval): Likewise.
40762         (int_retval): Likewise.
40763         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40764         macro.
40765         (pltexit): Likewise.
40766         (La_regs): Likewise.
40767         (La_retval): Likewise.
40768         (int_retval): Likewise.
40769         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40770         macro.
40771         (pltexit): Likewise.
40772         (La_regs): Likewise.
40773         (La_retval): Likewise.
40774         (int_retval): Likewise.
40775         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40776         macro definitions in tst-audit.h.
40777         * sysdeps/i386/tst-audit.h: New file.
40778         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40779         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40780         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40781         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40782         * sysdeps/sh/tst-audit.h: Likewise.
40783         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40784         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40785         * sysdeps/x86_64/tst-audit.h: Likewise.
40787 2012-07-26  Andreas Jaeger  <aj@suse.de>
40789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40790         ptrace.
40792         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40793         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40794         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40795         PTRACE_O_MASK.
40796         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40797         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40798         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40800         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40801         value.
40803         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40804         _sigsys.
40805         (si_call_addr, si_syscall, si_arch): Define new macro.
40806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40807         _sigsys.
40808         (si_call_addr, si_syscall, si_arch): Define new marcro.
40809         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40810         _sigsys.
40811         (si_call_addr, si_syscall, si_arch): Define new macro.
40812         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40813         _sigsys.
40814         (si_call_addr, si_syscall, si_arch): Define new macro.
40816 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40818         [BZ #13717]
40819         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40820         Change to 2.4.21 where previously 2.4.1.
40821         * sysdeps/unix/sysv/linux/configure: Regenerated.
40822         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40823         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40824         Linux kernel version.
40825         (__ASSUME_STD_AUXV): Remove.
40826         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40827         kernel version.
40828         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40829         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40830         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40831         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40832         (__ASSUME_NETLINK_SUPPORT): Likewise.
40833         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40834         (__no_netlink_support): Remove conditional definition.
40835         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40836         Remove.
40837         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40838         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40839         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40840         (if_nameindex_ioctl): Remove.
40841         (if_nameindex_netlink): Do not handle __no_netlink_support.
40842         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40843         code.
40844         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40845         Remove conditional code.
40846         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40847         code.
40848         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40849         unconditional.
40850         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40851         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40852         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40853         Remove.
40854         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40855         [!__ASSUME_STD_AUXV]: Remove conditional code.
40856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40857         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40858         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40860         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40861         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40862         code.
40863         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40865         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40866         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40867         conditional code.
40868         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40870         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40871         code.
40872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40873         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40874         conditional code.
40875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40876         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40877         code unconditional.
40878         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40879         conditional code.
40880         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40881         unconditional.
40882         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40883         conditional code.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40885         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40886         unconditional.
40887         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40888         conditional code.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40890         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40891         code unconditional.
40892         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40893         conditional code.
40894         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40895         unconditional.
40896         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40897         conditional code.
40898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40899         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40900         code unconditional.
40901         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40902         conditional code.
40903         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40904         unconditional.
40905         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40906         conditional code.
40908 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40910         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40911         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40912         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40913         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40914         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40915         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40916         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40917         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40918         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40919         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40920         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40921         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40922         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40923         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40924         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40925         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40926         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40927         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40928         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40930         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40931         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40932         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40934 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40936         * Versions.def: Add GLIBC_2.17.
40937         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40938         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40939         Introduce __libc_secure_getenv.
40940         * stdlib/Versions (2.17): Add secure_getenv
40941         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40942         * stdlib/secure-getenv.c: Rename __secure_getenv to
40943         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40944         symbol __secure_getenv for GLIBC_2.0.
40945         * stdlib/tst-secure-getenv.c: New.
40946         * stdlib/Makefile (tests): Add testcase.
40947         * manual/startup.texi (Environment Access): Document
40948         secure_getenv.
40949         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40950         __libc_secure_getenv.
40951         * inet/ruserpass.c (ruserpass): Likewise.
40952         * malloc/mtrace.c (mtrace): Likewise.
40953         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40954         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40955         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40956         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40957         HAVE_SECURE_GETENV.
40958         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40959         __secure_getenv to __libc_secure_getenv.
40960         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40962         Likewise.
40963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40964         Likewise.
40965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40967         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40973 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40975         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40976         (struct La_i86_retval): Likewise.
40977         (struct La_x86_64_regs): Likewise.
40978         (struct La_x86_64_retval): Likewise.
40979         (struct La_x32_regs): Likewise.
40980         (struct La_x32_retval): Likewise.
40981         (struct La_ppc32_regs): Likewise.
40982         (struct La_ppc32_retval): Likewise.
40983         (struct La_ppc64_regs): Likewise.
40984         (struct La_ppc64_retval): Likewise.
40985         (struct La_sh_regs): Likewise.
40986         (struct La_sh_retval): Likewise.
40987         (struct La_s390_32_regs): Likewise.
40988         (struct La_s390_32_retval): Likewise.
40989         (struct La_s390_64_regs): Likewise.
40990         (struct La_s390_64_retval): Likewise.
40991         (struct La_sparc32_regs): Likewise.
40992         (struct La_sparc32_retval): Likewise.
40993         (struct La_sparc64_regs): Likewise.
40994         (struct La_sparc64_retval): Likewise.
40995         (struct audit_ifaces): Remove architecture-specific pltenter and
40996         pltexit members.
40997         * sysdeps/i386/ldsodefs.h: New file.
40998         * sysdeps/powerpc/ldsodefs.h: Likewise.
40999         * sysdeps/s390/ldsodefs.h: Likewise.
41000         * sysdeps/sh/ldsodefs.h: Likewise.
41001         * sysdeps/sparc/ldsodefs.h: Likewise.
41002         * sysdeps/x86_64/ldsodefs.h: Likewise.
41004 2012-07-25  Marek Polacek  <polacek@redhat.com>
41006         [BZ #6808]
41007         * math/libm-test.inc (yn_test): Add another test.
41008         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41009         to ERANGE when the result is +-Inf.
41010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41011         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41012         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41013         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41015 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
41017         * conform/data/time.h-data (NULL): Use macro-constant.  Require
41018         equal to 0.
41019         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
41020         clock_t.
41021         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
41023 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
41025         * configure.in <sysdeps resolving>: Correct printing
41026         Implies_before.
41027         * configure: Regenerate.
41029 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
41031         * math/w_ilogb.c: Include <limits.h>.
41032         * math/w_ilogbl.c: Likewise.
41034 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41036         * manual/lang.texi (__va_copy): Document primarily as ISO C99
41037         va_copy.  Document allowing for unavailable va_copy only as
41038         pre-C99 compatibility.
41039         * manual/string.texi (Copying and Concatenation): Use va_copy
41040         instead of __va_copy in concat example.
41042 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
41044         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41045         (__sendto): Use create_address_port.  Initialize APORT and deallocate
41046         it if not null.
41048         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41049         with O_NOLINK passed to __file_name_lookup.
41051         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41052         with O_NOLINK passed to __file_name_lookup.
41054         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41055         negative N or less than NGIDS.
41057         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41058         type to string_t.  Set ERANGE as errno and return it if NAME is not big
41059         enough.  Use memcpy instead of strncpy.
41061 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41063         * elf/Makefile (check-data): Remove.
41064         (localplt.data): New vpath directive.
41065         ($(objpfx)check-localplt.out): Use localplt.data from vpath
41066         instead of $(check-data).
41067         * scripts/data/localplt-generic.data: Move to ...
41068         * sysdeps/generic/localplt.data: ... here.
41069         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41070         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41071         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41073         ... here.
41074         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41076         ... here.
41077         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41079         ... here.
41080         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41082         ... here.
41083         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41085         ... here.
41086         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41088         ... here.
41090 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41092         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41093         PPC32 and PPC64 files.
41094         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41095         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41097 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41099         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41100         __makecontext_ret to ...
41101         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41102         ... here and call exit if uc_link is NULL.  New file.
41103         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41104         __makecontext_ret.S.
41105         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41106         __makecontext_ret to ...
41107         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41108         ... here and call exit if uc_link is NULL.  New file.
41109         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41110         __makecontext_ret.S.
41112 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41114         * elf/elf.h (R_390_IRELATIVE): New definition.
41115         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41116         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
41117         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41119         (elf_machine_lazy_rel): Likewise.
41120         * sysdeps/s390/dl-irel.h: New file.
41121         * sysdeps/s390/s390-64/memcpy.S: New asm code.
41122         * sysdeps/s390/s390-64/memset.S: New asm code.
41123         * sysdeps/s390/s390-64/memcmp.S: New asm code.
41124         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41126         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41127         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41128         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41130         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41131         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41132         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41133         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41134         * sysdeps/s390/s390-32/memcpy.S: New asm code.
41135         * sysdeps/s390/s390-32/memset.S: New asm code.
41136         * sysdeps/s390/s390-32/memcmp.S: New asm code.
41138 2012-07-17  Marek Polacek  <polacek@redhat.com>
41140         [BZ #14349]
41141         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41142         * sysdeps/s390/s390-64/configure.in: Likewise.
41143         * sysdeps/sparc/configure.in: Likewise.
41144         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41145         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41146         * sysdeps/i386/configure.in: Likewise.
41147         * sysdeps/x86_64/configure.in: Likewise.
41148         * sysdeps/sh/configure.in: Likewise.
41149         * sysdeps/s390/s390-32/configure: Regenerated.
41150         * sysdeps/s390/s390-64/configure: Likewise.
41151         * sysdeps/x86_64/configure: Likewise.
41152         * sysdeps/sh/configure: Likewise.
41153         * sysdeps/powerpc/powerpc64/configure: Likewise.
41154         * sysdeps/powerpc/powerpc32/configure: Likewise.
41155         * sysdeps/sparc/configure: Likwise.
41156         * sysdeps/i386/configure: Likewise.
41158         * elf/dl-open.c: Comment fixes.
41160 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
41162         * Makefile [CXX] (check-data): Remove.
41163         [CXX] (c++-types.data): New vpath directive.
41164         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41165         vpath.  Do not allow for C++ type data being missing.
41166         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41167         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41168         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41169         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41170         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41171         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41172         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41174         ... here.
41175         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41177         ... here.
41178         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41180         ... here.
41181         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41183         ... here.
41184         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41186         ... here.
41187         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41189         ... here.
41190         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41192         ... here.
41193         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41196         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41197         definitions to architecture-specific files.
41198         (TLS_IE): Likewise.
41199         (TLS_LD): Likewise.
41200         (TLS_GD): Likewise.
41201         * sysdeps/i386/tls-macros.h: New file.
41202         * sysdeps/powerpc/tls-macros.h: Likewise.
41203         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41204         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41205         * sysdeps/sh/tls-macros.h: Likewise.
41206         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41207         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41208         * sysdeps/x86_64/tls-macros.h: Likewise.
41210 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41213         zero value for regular exit case.
41215         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41216         (__start_context): Preserve zero value for regular exit case.
41218 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41219             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41221         * manual/setjmp.texi (setcontext): Clarify normal process
41222         termination when uc_link is the null pointer.
41223         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41224         exit call.
41226 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41228         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41229         preprocessor.  Test for each exception mask separately.
41231 2012-07-16  Andreas Jaeger  <aj@suse.de>
41233         * po/ru.po: Update from translation team.
41235 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41237         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41238         equal to 0.
41239         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41240         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41241         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41242         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41245 2012-07-13  Andreas Jaeger  <aj@suse.de>
41247         * po/fr.po: Update from translation team.
41249 2012-07-12  Marek Polacek  <polacek@redhat.com>
41251         [BZ #14173]
41252         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41253         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41254         loop condition.
41256 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41258         [BZ #13717]
41259         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41260         Change to 2.4.1 where previously 2.4.0.
41261         * sysdeps/unix/sysv/linux/configure: Regenerated.
41262         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41263         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41264         version.
41265         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41266         (__ASSUME_AT_CLKTCK): Remove.
41267         (__ASSUME_AT_PAGESIZE): Likewise.
41268         (__ASSUME_AT_XID): Likewise.
41269         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41270         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41271         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41272         unconditionally.
41273         (HAVE_AUX_PAGESIZE): Likewise.
41274         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41275         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41276         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41278 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41280         [BZ #14307]
41281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41282         the temporary buffer used to invoke __gethostbyname2_r,
41283         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41284         host_data / struct gaih_addrtuple.
41285         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41286         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41287         header file nss/nsswitch.h.
41288         * nss/nsswitch.h (global scope): Add definition of implementation
41289         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41290         resolv/nss_dns/dns-host.c).
41292 2012-07-11  Andreas Jaeger  <aj@suse.de>
41294         * po/fr.po: Update from translation team.
41296         * po/sv.po: Update from translation team
41297         * po/fr.po: Another update from translation team.
41299 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41301         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41302         for subnormals or multiply small sinh result by itself.
41303         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41306 2012-07-11  David S. Miller  <davem@davemloft.net>
41308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41310 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41312         [BZ #14347]
41313         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41314         (INTERNAL_MARK): Shift it here.
41316 2012-07-10  Marek Polacek  <polacek@redhat.com>
41318         [BZ #14151]
41319         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41320         libc_cv_asm_global_directive with .globl.
41321         * configure: Regenerated.
41322         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41323         with .globl.
41324         * sysdeps/i386/configure: Regenerated.
41325         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41326         with .globl.
41327         * sysdeps/x86_64/configure: Regenerated.
41328         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41329         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41330         * elf/tst-unique2mod2.c: Likewise.
41331         * elf/tst-unique2mod1.c: Likewise.
41332         * elf/tst-unique1mod2.c: Likewise.
41333         * elf/tst-unique1mod1.c: Likewise.
41334         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41335         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41336         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41337         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41338         * sysdeps/mach/sysdep.h: Likewise.
41339         * sysdeps/i386/sysdep.h: Likewise.
41340         * sysdeps/i386/i386-mcount.S: Likewise.
41341         * sysdeps/x86_64/_mcount.S: Likewise.
41342         * sysdeps/x86_64/sysdep.h: Likewise.
41343         * sysdeps/sh/_mcount.S: Likewise.
41344         * sysdeps/sh/sysdep.h: Likewise.
41345         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41346         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41347         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41348         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41349         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41350         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41351         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41352         * locale/localeinfo.h: Likewise.
41353         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41354         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41356 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41358         [BZ #14336]
41359         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41360         system".
41361         * manual/message.texi (The Uniforum approach): Likewise.
41362         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41363         (glibc iconv Implementation): Likewise.
41365 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41367         [BZ #14337]
41368         * math/s_clog.c (__clog): Avoid scaling a value down where that
41369         could result in underflow.
41370         * math/s_clog10.c (__clog10): Likewise.
41371         * math/s_clog10f.c (__clog10f): Likewise.
41372         * math/s_clog10l.c (__clog10l): Likewise.
41373         * math/s_clogf.c (__clogf): Likewise.
41374         * math/s_clogl.c (__clogl): Likewise.
41375         * math/libm-test.inc (clog_test): Add more tests.
41376         (clog10_test): Likewise.
41377         * sysdeps/i386/fpu/libm-test-ulps: Update.
41378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41380 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41382         [BZ #14283]
41383         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41384         by 7 not 8 to examine high bit of fractional part.
41386         [BZ #14042]
41387         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41388         for call to __mcount_internal.
41389         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41390         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41391         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41393 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41395         [BZ #14154]
41396         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41397         approximation for values within 0x1p-13f of an odd multiple of
41398         pi/4.
41399         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41400         exception.  Add more tests.
41401         * sysdeps/i386/fpu/libm-test-ulps: Update.
41403         [BZ #6778]
41404         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41405         inputs and return -1 for them.  Do not check for +Inf in case not
41406         reachable for +Inf.
41407         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41408         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41409         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41410         and return -1 for them.  Do not check for +Inf in case not
41411         reachable for +Inf.
41412         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41413         define.
41414         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41415         and return -1 for them.  Do not check for +Inf in case not
41416         reachable for +Inf.
41417         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41418         spurious underflow.
41419         * sysdeps/i386/fpu/libm-test-ulps: Update.
41420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41422 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41424         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41426 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41428         [BZ #14157]
41429         [BZ #14331]
41430         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41431         could result in spurious underflow.  Scale down values above
41432         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41433         * math/s_csqrtf.c (__csqrtf): Likewise.
41434         * math/s_csqrtl.c (__csqrtl): Likewise.
41435         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41436         spurious underflow.
41437         * sysdeps/i386/fpu/libm-test-ulps: Update.
41438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41440 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41442         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41443         xopen-msg.sed.
41444         * catgets/xopen-msg.awk: New file.
41445         * catgets/xopen-msg.sed: Removed.
41447         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41448         po2text.sed.
41449         * intl/po2test.awk: New file.
41450         * intl/po2test.sed: Removed.
41452 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41454         [BZ #14328]
41455         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41456         or multiply small sinh result by itself.
41457         * math/s_ctanf.c (__ctanf): Likewise.
41458         * math/s_ctanh.c (__ctanh): Likewise.
41459         * math/s_ctanhf.c (__ctanhf): Likewise.
41460         * math/s_ctanhl.c (__ctanhl): Likewise.
41461         * math/s_ctanl.c (__ctanl): Likewise.
41462         * math/libm-test.inc (ctan_test_tonearest): New function.
41463         (ctan_test_towardzero): Likewise.
41464         (ctan_test_downward): Likewise.
41465         (ctan_test_upward): Likewise.
41466         (ctanh_test_tonearest): Likewise.
41467         (ctanh_test_towardzero): Likewise.
41468         (ctanh_test_downward): Likewise.
41469         (ctanh_test_upward): Likewise.
41470         (main): Call these new functions.
41471         * sysdeps/i386/fpu/libm-test-ulps: Update.
41472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41474 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41476         * .gitignore: Delete /ports entry.
41478 2012-07-03  Andreas Jaeger  <aj@suse.de>
41480         * po/bg.po: Update from translation team.
41481         * po/cs.po: Likewise.
41482         * po/de.po: Likewise.
41483         * po/hr.po: Likewise.
41484         * po/nl.pl: Likewise.
41485         * po/pl.po: Likewise.
41486         * po/vi.po: Likewise.
41488 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41490         * Makeconfig [!+link] (+link-before-libc): New variable.
41491         [!+link] (+link-after-libc): Likewise.
41492         [!+link] (+link-tests): Likewise.
41493         [!+link] (+link): Define in terms of $(+link-before-libc) and
41494         $(+link-after-libc).
41495         [!+link-static] (+link-static-before-libc): New variable.
41496         [!+link-static] (+link-static-after-libc): Likewise.
41497         [!+link-static] (+link-static-tests): Likewise.
41498         [!+link-static] (+link-static): Define in terms of
41499         $(+link-static-before-libc) and $(+link-static-after-libc).
41500         [build-shared] (link-libc-before-gnulib): New variable.
41501         [build-shared] (link-libc-tests): Likewise.
41502         [build-shared] (link-libc): Define in terms of
41503         $(link-libc-before-gnulib).
41504         [!build-shared] (link-libc-tests): New variable.
41505         (link-libc-static-tests): New variable.
41506         [!gnulib] (gnulib-arch): New variable.
41507         [!gnulib] (gnulib-tests): Likewise.
41508         [!gnulib] (static-gnulib-arch): Likewise.
41509         [!gnulib] (static-gnulib-tests): Likewise.
41510         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41511         Define with "=" instead of ":=".
41512         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41513         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41514         * Rules (binaries-all-notests): New variable.
41515         (binaries-all-tests): Likewise.
41516         (binaries-static-notests): Likewise.
41517         (binaries-static-tests): Likewise.
41518         (binaries-all): Define using $(binaries-all-notests) and
41519         $(binaries-all-tests).
41520         (binaries-static): Define using $(binaries-static-notests) and
41521         $(binaries-static-tests).
41522         (binaries-shared-tests): New variable.
41523         (binaries-shared-notests): Likewise.
41524         (binaries-shared): Remove variable.
41525         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41526         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41527         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41528         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41529         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41530         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41531         * elf/Makefile (sln-modules): New variable.
41532         (extra-objs): Add $(sln-modules:=.o).
41533         (ldconfig-modules): Add static-stubs.
41534         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41535         * elf/static-stubs.c: New file.
41537         [BZ #14283]
41538         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41539         by 7 not 8 to examine high bit of fractional part.  Use volatile
41540         variables when splitting into final array of floats if
41541         __FLT_EVAL_METHOD__ != 0.
41542         * math/libm-test.inc (cos_test): Add another test.
41543         (sin_test): Likewise.
41544         * sysdeps/i386/fpu/libm-test-ulps: Update.
41546         [BZ #14273]
41547         * math/libm-test.inc (cosh_test): Add more tests.
41549         * version.h (RELEASE): Set to "development".
41550         (VERSION): Set to "2.16.90".
41552 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41554         * NEWS: Update copyright. Remove last-updated date.
41555         Mention math library bug fixes and timezone data changes.
41556         * README: Mention GNU/Hurd, x32, and HPPA support status.
41558 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41560         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41562 2012-06-27  Andreas Jaeger  <aj@suse.de>
41564         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41566 2012-06-25  Andreas Jaeger  <aj@suse.de>
41568         * sysdeps/s390/fpu/libm-test-ulps: Update.
41570 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41571             Thomas Schwinge  <thomas@codesourcery.com>
41573         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41574         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41576         fanotify_mark.
41578 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41580         * sysdeps/mach/start.c: Remove file.
41581         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41582         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41583         * sysdeps/sh/init-first.c: Likewise.
41585         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41586         registers for frame unwinding purposes, add CFI directives.
41587         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41588         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41589         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41590         Likewise.
41592         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41593         __fortify_fail returning.
41594         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41596         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41597         sysdeps/sh/____longjmp_chk.S.
41598         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41599         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41600         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41601         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41603         * sysdeps/sh/abort-instr.h: New file.
41604         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41605         process in case exit returns.
41607         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41608         initialize the GOT register before use.
41610         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41611         calculation of ARGC > 4.
41613         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41614         meaningful names to some local labels.
41616 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41617             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41619         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41620         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41621         (__arch_compare_and_exchange_val_16_acq): Likewise.
41622         (__arch_compare_and_exchange_val_32_acq): Likewise.
41623         (atomic_exchange_and_add): Fix gUSA sequence.
41624         (atomic_add): Likewise.
41625         (atomic_add_negative): Likewise.
41626         (atomic_add_zero): Likewise.
41627         (atomic_bit_test_set): Likewise.
41629 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41631         [BZ #13579]
41632         * include/link.h (struct link_map): Add l_free_initfini.
41633         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41634         l_initfini.
41635         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41636         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41637         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41638         set.
41640 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41642         * configure.in: Use AC_LANG_SOURCE.
41643         * configure: Regenerate.
41645 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41647         * configure.in (libc_cv_localstatedir): New substituted variable.
41648         * configure: Regenerated.
41649         * config.make.in (localstatedir): New variable, substituted from
41650         libc_cv_localstatedir.
41651         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41652         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41653         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41654         * sysdeps/gnu/configure: Regenerated.
41656 2012-06-21  Jeff Law  <law@redhat.com>
41658         [BZ #14277]
41659         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41660         free.  Simplify list management for _LIBC case.
41662 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41664         [BZ #14273]
41665         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41666         Clear sign bit of 64-bit integer value before comparing against
41667         overflow value.
41669         * sysdeps/mach/configure: Regenerated.
41671 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41673         [BZ #14278]
41674         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41676 2012-06-21  Jeff Law  <law@redhat.com>
41678         [BZ #13882]
41679         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41680         uint16_t for elements in the "seen" array to avoid char overflows.
41681         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41682         * elf/dl-open.c (dl_open_worker): Likewise.
41684 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41686         * scripts/list-sources.sh: Scan PORTS for translations.
41687         * po/libc.pot: Regenerated.
41689 2012-06-21  Andreas Jaeger  <aj@suse.de>
41691         [BZ #12194]
41692         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41693         warning.
41694         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41695         * bits/byteswap-16.h (__bswap_16): Likewise.
41696         * bits/byteswap.h (__bswap_constant_16): Likewise.
41698 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41700         [BZ #14117]
41701         * sysdeps/i386/fpu_control.h: Removed.
41702         * sysdeps/x86_64/fpu_control.h: Moved to ...
41703         * sysdeps/x86/fpu_control.h: Here.
41705         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41706         (_FPU_SETCW): Likewise.
41708 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41710         [BZ #14117]
41711         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41712         * sysdeps/x86/fpu/bits/mathinline.h: This.
41713         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41715         [BZ #14050]
41716         [BZ #14117]
41717         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41718         functions if __x86_64__ is defined.
41720 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41722         * string/endian.h: Add !__ASSEMBLER__ condition for including
41723         conversion interfaces.
41725 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41727         [BZ #14241]
41728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41729         of ABS(x) in calculating zero to negative powers other than odd
41730         integers.
41731         * math/libm-test.inc (pow_test): Add more tests.
41733 2012-06-15  Andreas Jaeger  <aj@suse.de>
41735         * manual/contrib.texi (Contributors): Update entry of Liubov
41736         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41737         Machado Filho.
41739 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41741         * string/string.h: Add __wur to GNU version of strerror_r.
41743 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41745         [BZ #14229]
41746         * string/Makefile (tests): Add tst-strtok_r.
41747         * string/tst-strtok_r.c: New file.
41748         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41749         RAX_LP/RDX_LP on SAVE_PTR.
41751 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41753         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41755 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41757         * libm_test.inc (csqrt_test): Allow more spurious underflow
41758         exceptions.
41759         (j0_test): Likewise.
41760         (j1_test): Likewise.
41761         (y0_test): Likewise.
41762         (y1_test): Likewise.
41764 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41766         * po/Makefile (libc.pot): Use UTF-8 charset.
41768 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41770         [BZ #14210]
41771         Suppress sign-conversion warning from FD_SET.
41772         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41773         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41774         not unsigned long int.
41775         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41777 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41779         [BZ #14050]
41780         [BZ #14117]
41781         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41782         __extern_always_inline instead of __extern_inline.
41783         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41784         (__signbit): Likewise.
41785         (__signbitl): Support C++ namespace.
41786         (lrintf): New inline function.
41787         (lrint): Likewise.
41788         (llrintf): Likewise.
41789         (llrint): Likewise.
41790         (fmaxf): Likewise.
41791         (fmax): Likewise.
41792         (fminf): Likewise.
41793         (fmin): Likewise.
41794         (rint): Likewise.
41795         (rintf): Likewise.
41796         (ceil): Likewise.
41797         (ceilf): Likewise.
41798         (floor): Likewise.
41799         (floorf): Likewise.
41800         (nearbyint): Likewise.
41801         (nearbyintf): Likewise.
41803 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41805         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41806         non-default versions.
41808 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41810         [BZ #14218]
41811         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41813 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41815         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41816         (FE_UPWARD, FE_DOWNWARD): Don't define.
41817         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41818         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41820         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41821         reading it.
41822         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41823         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41825 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41827         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41828         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41829         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41830         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41832 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41834         [BZ #14117]
41835         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41836         * sysdeps/i386/fpu/Implies: New file.
41837         * sysdeps/x86_64/fpu/Implies: Likewise.
41838         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41839         * sysdeps/x86/fpu/bits/fenv.h: This.
41841         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41842         __SSE_MATH__.
41844 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41846         [BZ #14134]
41847         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41848         character 0xffff that matches the last element of the
41849         conversion table.
41851 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41854         fmodl commit.
41856 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41859         values higher than 25.6283.
41861 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41863         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41864         subnormal exponent extraction and add some __builtin_expect.
41865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41866         Fix for subnormal mantissa calculation.
41868 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41870         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41871         cpu2 is -1 and errno is not ENOSYS.
41873 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41875         [BZ #14117]
41876         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41877         * sysdeps/x86/bits/string.h: This.
41878         * sysdeps/x86_64/bits/string.h: Removed.
41880         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41881         if not compiling for x86-64, but compiling for >= i486.
41883         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41884         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41886         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41887         New macro from Linux kernel 3.4.0.
41888         (FP_XSTATE_MAGIC2): Likewise.
41889         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41890         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41891         (struct _fpx_sw_bytes): New struct.
41892         (struct _xsave_hdr): Likewise.
41893         (struct _ymmh_state): Likewise.
41894         (struct _xstate): Likewise.
41896         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41897         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41898         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41899         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41900         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41901         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41903         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41904         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41905         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41906         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41907         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41908         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41910 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41912         [BZ #13743]
41913         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41914         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41915         (sysdep_headers): Include sys/platform/ppc.h.
41916         * sysdeps/powerpc/test-gettimebase.c: Test for
41917         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41918         * manual/Makefile (appendices): Include platform.texi.
41919         * manual/contrib.texi (Contributors): Update @node pointers.
41920         * manual/maint.texi (Maintenance): Likewise.
41921         (Platform): New node.
41922         * manual/platform.texi: New file.  Document the new features.
41924 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41925             Jakub Jelinek  <jakub@redhat.com>
41927         [BZ #14188]
41928         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41929         where __builtin_expect is unavailable.
41931 2012-06-03  David S. Miller  <davem@davemloft.net>
41933         * stdlib/longlong.h: Updated from GCC.
41935 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41937         [BZ #14042]
41938         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41939         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41940         __mcount_internal.
41941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41942         (GLIBC_2.16): Likewise.
41944 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41946         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41948 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41951         (default-abi): New variable.
41952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41953         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41954         variable.
41955         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41956         Likewise.
41957         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41958         Likewise.
41959         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41960         Likewise.
41962         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41963         definition.  Document in comment.
41965 2012-06-01  David S. Miller  <davem@davemloft.net>
41967         * stdlib/longlong.h: Updated from GCC.
41969 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41971         [BZ #14117]
41972         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41973         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41974         sys/debugreg.h sys/io.h here.
41975         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41976         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41977         sys/io.h.
41978         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41979         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41980         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41981         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41982         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41983         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41985         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41986         Define only if __x86_64__ is defined.
41988 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41990         [BZ #14048]
41991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41992         Use int64_t for variable i.
41993         * math/libm-test.inc (fmod_test): Add more tests.
41995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41996         z computation is not scheduled after fetestexcept.
41997         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41998         Use math_force_eval instead of asm to ensure calculation scheduled
41999         before exception test.
42000         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42001         Ensure a1 + u.d computation is not scheduled after fetestexcept.
42003 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
42005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42006         computation is not scheduled after fetestexcept.
42008 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42010         [BZ #14117]
42011         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42012         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42014 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42016         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42017         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42019 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42021         [BZ #14117]
42022         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42023         <bits/wordsize.h>.
42024         (__WCHAR_MIN): Support __WORDSIZE == 64.
42025         (__WCHAR_MAX): Likewise.
42027         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42028         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42030         [BZ #14183]
42031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42032         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42034         [BZ #14117]
42035         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42036         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42038         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42039         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42041         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42042         Defined to 1 if __x86_64__ isn't defined.
42043         (_STAT_VER_LINUX_OLD): New.
42044         (st_atime): Remove duplicate.
42045         (st_mtime): Likewise.
42046         (st_ctime): Likewise.
42048 2012-05-31  David S. Miller  <davem@davemloft.net>
42050         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42051         entries.
42053 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
42055         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42056         gen-libm-test.pl.
42058         [BZ #14132]
42059         * elf/dl-reloc.c: Include <_itoa.h>.
42060         (_dl_reloc_bad_type): Remove use of INTUSE.
42061         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42062         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42063         * stdio-common/psiginfo.c (psiginfo): Likewise.
42064         * stdio-common/psignal.c (psignal): Likewise.
42065         * string/strsignal.c (strsignal): Likewise.
42066         * include/signal.h (_sys_siglist): Declare hidden proto.
42067         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
42068         INTVARDEF with libc_hidden_data_def.
42069         * stdio-common/itoa-udigits.c: Likewise.
42070         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42071         (_itoa_lower_digits_internal): Remove declaration.
42072         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42073         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42074         (_sys_sigabbrev_internal): Remove aliases.
42075         (_sys_siglist): Define hidden alias.
42077 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
42079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42080         bits/sysctl.h.
42082 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42084         [BZ #14117]
42085         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42086         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42088         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42089         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42090         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42091         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42092         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42093         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42095         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42096         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42097         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42099         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42100         with __addr.
42101         (insw): Likewise.
42102         (insl): Likewise.
42103         (outsb): Likewise.
42104         (outsw): Likewise.
42105         (outsl): Likewise.
42107         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42108         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42109         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42111         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42112         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42113         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42114         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42115         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42116         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42118         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42119         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42121         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42122         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42125         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42126         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42128         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42129         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42130         to ...
42131         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42133         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42134         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42135         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42137         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42138         for x86-64.
42139         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42141 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
42143         * math/math.h (M_El): Use two more decimal places.
42144         (M_LOG2El): Likewise.
42145         (M_LOG10El): Likewise.
42146         (M_LN2l): Likewise.
42147         (M_LN10l): Likewise.
42148         (M_PIl): Likewise.
42149         (M_PI_2l): Likewise.
42150         (M_PI_4l): Likewise.
42151         (M_1_PIl): Likewise.
42152         (M_2_PIl): Likewise.
42153         (M_2_SQRTPIl): Likewise.
42154         (M_SQRT2l): Likewise.
42155         (M_SQRT1_2l): Likewise.
42157 2012-05-31  David S. Miller  <davem@davemloft.net>
42159         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42160         values between float registers.
42161         * sysdeps/sparc/sparc64/memset.S: Likewise.
42162         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42164 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
42166         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42167         -D_FORTIFY_SOURCE=1.
42168         (CPPFLAGS-tst-longjmp_chk.c): Define.
42169         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42170         (CPPFLAGS-tst-longjmp_chk2.c): Define.
42171         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42172         CFLAGS-tst-wchar-h.c.
42174 2012-05-31  Marek Polacek  <polacek@redhat.com>
42176         [BZ #14132]
42177         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42178         __endmntent_internal): Remove declaration.
42179         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42180         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42181         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42183 2012-05-30  David S. Miller  <davem@davemloft.net>
42185         * sysdeps/sparc/sparc32/soft-fp/q_util.c
42186         (___Q_simulate_exceptions): Use real FP ops rather than writing
42187         into the %fsr.
42188         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42189         Likewise.
42191 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42193         [BZ #14117]
42194         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42195         * sysdeps/x86/bits/xtitypes.h: This.
42197         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42198         * sysdeps/x86/bits/wordsize.h: This.
42200         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42201         * sysdeps/x86/bits/huge_vall.h: This.
42203         * sysdeps/i386/bits/select.h: Removed.
42204         * sysdeps/x86_64/bits/select.h: Renamed to ...
42205         * sysdeps/x86/bits/select.h: This.
42207         * sysdeps/i386/bits/setjmp.h: Removed.
42208         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42209         * sysdeps/x86/bits/setjmp.h: This.
42211         * sysdeps/i386/bits/mathdef.h: Removed.
42212         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42213         * sysdeps/x86/bits/mathdef.h: This.
42215 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42217         [BZ #14132]
42218         * include/sys/socket.h (__connect_internal)
42219         (__libc_sa_len_internal): Remove declaration.
42220         (__connect, __libc_sa_len): Declare hidden_proto.
42221         (SA_LEN): Remove use of INTUSE.
42222         * socket/connect.c: Add libc_hidden_def.
42223         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42224         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42225         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42226         alias.
42227         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42228         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42229         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42230         of adding _internal alias.
42232 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42234         [BZ #14117]
42235         * sysdeps/i386/bits/link.h: Removed.
42236         * sysdeps/i386/bits/linkmap.h: Likewise.
42237         * sysdeps/x86_64/bits/link.h: Renamed to ...
42238         * sysdeps/x86/bits/link.h: This.
42239         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42240         * sysdeps/x86/bits/linkmap.h: This.
42242         * sysdeps/i386/bits/endian.h: Removed.
42243         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42244         * sysdeps/x86/bits/endian.h: This.
42246         * sysdeps/i386/bits/byteswap.h: Removed.
42247         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42248         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42249         * sysdeps/x86/bits/byteswap.h: This.
42250         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42251         * sysdeps/x86/bits/byteswap-16.h: This.
42252         * sysdeps/i386/Implies: Add x86.
42253         * sysdeps/x86_64/Implies: Likewise.
42255 2012-05-30  David S. Miller  <davem@davemloft.net>
42257         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42258         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42259         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42260         (FP_TRAPPING_EXCEPTIONS): Define.
42261         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42262         (FP_TRAPPING_EXCEPTIONS): Define.
42263         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42264         subnormals only when inexact has been signalled or underflow
42265         exceptions are enabled.
42266         (_FP_PACK_CANONICAL): Likewise.
42268 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42270         [BZ #14183]
42271         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42272         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42274 2012-05-30  Richard Henderson  <rth@twiddle.net>
42276         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42277         with #ifndef NOT_IN_libc.
42279         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42280         marked to avoid plt entry.
42282 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42284         [BZ #14112]
42285         * Makeconfig (default-abi): New macro.
42286         (abi-includes): Likewise.
42287         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42288         $(abi-$(default-abi)-lib-soname) for soname if defined.
42289         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42290         abi-variants.
42291         * Makefile (installed-stubs): Likewise.
42292         * include/stubs-biarch.h: Removed.
42293         * scripts/lib-names.awk: Only handle one library at a time.
42294         * scripts/soversions.awk: Remove WORDSIZE support.
42295         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42296         entries.
42297         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42298         Removed.
42299         (syscall-list-default-condition): Likewise.
42300         (syscall-list-default-condition): Likewise.
42301         (syscall-list-includes): Likewise.
42302         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42303         syscall-list-* with abi-*.  Handle undefined abi-variants.
42304         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42305         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42306         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42307         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42308         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42309         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42310         Removed.
42311         (syscall-list-32-options): Likewise.
42312         (syscall-list-32-condition): Likewise.
42313         (syscall-list-64-options): Likewise.
42314         (syscall-list-64-condition): Likewise.
42315         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42316         macro.
42317         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42318         Renamed to ...
42319         (abi-*): This.
42320         (abi-64-ld-soname): New macro.
42321         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42322         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42323         Renamed to ...
42324         (abi-*): This.
42325         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42326         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42328 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42330         * sysdeps/unix/sysv/linux/kernel-features.h
42331         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42332         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42333         include <kernel-features.h>.
42334         [!__NR_ftruncate64]: Remove conditional code.
42335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42336         [__NR_ftruncate64]: Make code unconditional.
42337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42338         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42339         include <kernel-features.h>.
42340         [!__NR_ftruncate64]: Remove conditional code.
42341         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42342         [__NR_ftruncate64]: Make code unconditional.
42343         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42345         include <kernel-features.h>.
42346         [!__NR_ftruncate64]: Remove conditional code.
42347         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42348         [__NR_ftruncate64]: Make code unconditional.
42349         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42351         include <kernel-features.h>.
42352         [!__NR_ftruncate64]: Remove conditional code.
42353         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42354         [__NR_ftruncate64]: Make code unconditional.
42355         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42357         * configure.in (libc_cv_fpie): Weaken to a compile test using
42358         LIBC_TRY_CC_OPTION.
42359         * configure: Regenerated.
42361 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42367         Refreshed.
42368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42374         Refreshed.
42376 2012-05-27  David S. Miller  <davem@davemloft.net>
42378         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42379         (___Q_zero): New.
42380         (__Q_simulate_exceptions): Return void.  Change to simulate
42381         exceptions by writing into the %fsr.
42382         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42383         (__Qp_handle_exceptions): Likewise.
42384         (numbers): Delete.
42385         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42386         __Qp_handle_exceptions.
42387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42388         __Qp_handle_exceptions.
42389         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42390         as unused and give dummy FP_RND_NEAREST initializer.
42391         (FP_INHIBIT_RESULTS): Define.
42392         (___Q_simulate_exceptions): Update declaration.
42393         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42394         formatting.
42395         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42396         as unused and give dummy FP_RND_NEAREST initializer.
42397         (__Qp_handle_exceptions): Update declaration.
42398         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42399         formatting.
42401 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42403         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42404         the temporary FPU control word.
42405         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42406         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42407         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42408         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42409         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42410         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42411         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42412         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42413         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42414         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42415         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42417 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42419         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42420         fields.
42422 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42424         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42425         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42426         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42427         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42428         Likewise.
42429         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42430         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42431         Likewise.
42433 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42435         * po/h.po: Update from translation team.
42437 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42439         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42441         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42442         handling of denormals.
42443         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42444         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42445         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42446         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42448         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42450         Likewise.
42452 2012-05-26  Marek Polacek  <polacek@redhat.com>
42454         [BZ #14152]
42455         * math/libm-test.inc (fma_test): Don't always expect underflow
42456         exception.
42458 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42460         [BZ #12416]
42461         * elf/tst-execstack.c: Include stackinfo.h.
42462         (do_test): Adjust test case to ensure that pthread_getattr_np
42463         behaviour remains the same after marking stack executable.
42465 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42467         * sysdeps/unix/sysv/linux/kernel-features.h
42468         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42469         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42470         kernel-features.h.
42471         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42472         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42473         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42474         kernel-features.h.
42475         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42476         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42478 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42480         * configure.in: Define the default includes to being none.
42481         * configure: Regenerated.
42483 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42485         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42486         * sysdeps/x86_64/setjmp.S: Likewise.
42487         * sysdeps/i386/bsd-setjmp.S: Likewise.
42488         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42489         * sysdeps/i386/setjmp.S: Likewise.
42490         * sysdeps/i386/__longjmp.S: Likewise.
42491         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42492         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42494         * include/stap-probe.h: New file.
42495         * configure.in: Handle --enable-systemtap.
42496         * configure: Regenerated.
42497         * config.h.in (USE_STAP_PROBE): New #undef.
42498         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42499         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42500         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42502 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42504         [BZ #13717]
42505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42506         to 2.4.0 where earlier.
42507         * sysdeps/unix/sysv/linux/configure: Regenerated.
42508         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42509         <kernel-features.h>.
42510         [__ASSUME_32BITUIDS]: Make code unconditional.
42511         [!__ASSUME_32BITUIDS]: Remove conditional code.
42512         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42513         <kernel-features.h>.
42514         [__ASSUME_32BITUIDS]: Make code unconditional.
42515         [!__ASSUME_32BITUIDS]: Remove conditional code.
42516         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42517         [__ASSUME_32BITUIDS]: Make code unconditional.
42518         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42519         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42520         <kernel-features.h>.
42521         [__ASSUME_32BITUIDS]: Make code unconditional.
42522         [!__ASSUME_32BITUIDS]: Remove conditional code.
42523         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42524         <kernel-features.h>.
42525         [__ASSUME_32BITUIDS]: Make code unconditional.
42526         [!__ASSUME_32BITUIDS]: Remove conditional code.
42527         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42528         <kernel-features.h>.
42529         [__ASSUME_32BITUIDS]: Make code unconditional.
42530         [!__ASSUME_32BITUIDS]: Remove conditional code.
42531         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42532         <kernel-features.h>.
42533         [__ASSUME_32BITUIDS]: Make code unconditional.
42534         [!__ASSUME_32BITUIDS]: Remove conditional code.
42535         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42536         <kernel-features.h>.
42537         [__ASSUME_32BITUIDS]: Make code unconditional.
42538         [!__ASSUME_32BITUIDS]: Remove conditional code.
42539         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42540         <kernel-features.h>.
42541         [__ASSUME_32BITUIDS]: Make code unconditional.
42542         [!__ASSUME_32BITUIDS]: Remove conditional code.
42543         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42544         <kernel-features.h>.
42545         [__ASSUME_32BITUIDS]: Make code unconditional.
42546         [!__ASSUME_32BITUIDS]: Remove conditional code.
42547         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42548         <kernel-features.h>.
42549         [__ASSUME_32BITUIDS]: Make code unconditional.
42550         [!__ASSUME_32BITUIDS]: Remove conditional code.
42551         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42552         <kernel-features.h>.
42553         [__ASSUME_32BITUIDS]: Make code unconditional.
42554         [!__ASSUME_32BITUIDS]: Remove conditional code.
42555         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42556         <kernel-features.h>.
42557         [__ASSUME_32BITUIDS]: Make code unconditional.
42558         [!__ASSUME_32BITUIDS]: Remove conditional code.
42559         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42560         <kernel-features.h>.
42561         [__NR_setresgid] (__setresgid): Do not declare.
42562         [__ASSUME_32BITUIDS]: Make code unconditional.
42563         [!__ASSUME_32BITUIDS]: Remove conditional code.
42564         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42565         <kernel-features.h>.
42566         [__NR_setresuid] (__setresuid): Do not declare.
42567         [__ASSUME_32BITUIDS]: Make code unconditional.
42568         [!__ASSUME_32BITUIDS]: Remove conditional code.
42569         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42570         <kernel-features.h>.
42571         [__ASSUME_32BITUIDS]: Make code unconditional.
42572         [!__ASSUME_32BITUIDS]: Remove conditional code.
42573         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42574         <kernel-features.h>.
42575         [__ASSUME_32BITUIDS]: Make code unconditional.
42576         [!__ASSUME_32BITUIDS]: Remove conditional code.
42577         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42578         <kernel-features.h>.
42579         [__ASSUME_32BITUIDS]: Make code unconditional.
42580         [!__ASSUME_32BITUIDS]: Remove conditional code.
42581         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42582         <kernel-features.h>.
42583         [__ASSUME_32BITUIDS]: Make code unconditional.
42584         [!__ASSUME_32BITUIDS]: Remove conditional code.
42585         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42586         <kernel-features.h>.
42587         [__ASSUME_32BITUIDS]: Make code unconditional.
42588         [!__ASSUME_32BITUIDS]: Remove conditional code.
42589         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42590         <kernel-features.h>.
42591         [__ASSUME_32BITUIDS]: Make code unconditional.
42592         [!__ASSUME_32BITUIDS]: Remove conditional code.
42593         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42594         <kernel-features.h>.
42595         [__ASSUME_32BITUIDS]: Make code unconditional.
42596         [!__ASSUME_32BITUIDS]: Remove conditional code.
42597         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42598         <kernel-features.h>.
42599         [__ASSUME_32BITUIDS]: Make code unconditional.
42600         [!__ASSUME_32BITUIDS]: Remove conditional code.
42601         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42602         <kernel-features.h>.
42603         [__ASSUME_32BITUIDS]: Make code unconditional.
42604         [!__ASSUME_32BITUIDS]: Remove conditional code.
42605         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42606         <kernel-features.h>.
42607         [__ASSUME_32BITUIDS]: Make code unconditional.
42608         [!__ASSUME_32BITUIDS]: Remove conditional code.
42609         * sysdeps/unix/sysv/linux/kernel-features.h
42610         (__ASSUME_SETRESUID_SYSCALL): Remove.
42611         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42612         (__ASSUME_32BITUIDS): Likewise.
42613         (__ASSUME_LDT_WORKS): Likewise.
42614         (__ASSUME_O_DIRECTORY): Likewise.
42615         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42616         architecture but not kernel version.
42617         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42618         (__ASSUME_MMAP2_SYSCALL): Likewise.
42619         (__ASSUME_STAT64_SYSCALL): Likewise.
42620         (__ASSUME_IPC64): Likewise.
42621         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42622         <kernel-features.h>.
42623         [__ASSUME_32BITUIDS]: Make code unconditional.
42624         [!__ASSUME_32BITUIDS]: Remove conditional code.
42625         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42626         <kernel-features.h>.
42627         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42628         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42629         132096]: Remove conditional code.
42630         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42631         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42632         <kernel-features.h>.
42633         [__ASSUME_32BITUIDS]: Make code unconditional.
42634         [!__ASSUME_32BITUIDS]: Remove conditional code.
42635         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42636         <kernel-features.h>.
42637         [__ASSUME_32BITUIDS]: Make code unconditional.
42638         [!__ASSUME_32BITUIDS]: Remove conditional code.
42639         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42640         <kernel-features.h>.
42641         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42642         unconditional.
42643         (__setresgid): Do not declare.
42644         [__ASSUME_32BITUIDS]: Make code unconditional.
42645         [!__ASSUME_32BITUIDS]: Remove conditional code.
42646         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42647         <kernel-features.h>.
42648         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42649         unconditional.
42650         (__setresuid): Do not declare.
42651         [__ASSUME_32BITUIDS]: Make code unconditional.
42652         [!__ASSUME_32BITUIDS]: Remove conditional code.
42653         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42654         <kernel-features.h>.
42655         [__ASSUME_32BITUIDS]: Make code unconditional.
42656         [!__ASSUME_32BITUIDS]: Remove conditional code.
42657         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42658         <kernel-features.h>.
42659         [__ASSUME_32BITUIDS]: Make code unconditional.
42660         [!__ASSUME_32BITUIDS]: Remove conditional code.
42662 2012-05-25  Richard Henderson  <rth@twiddle.net>
42664         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42665         dl_hwcap to ifunc resolver.
42666         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42667         elf_ifunc_invoke.
42668         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42669         dl_hwcap to ifunc resolver.
42670         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42674         [BZ #14153]
42675         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42676         for |x| <= 2**-26, not 2**-57.
42677         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42678         exception.
42680 2012-05-24  Jeff Law  <law@redhat.com>
42682         * stdio-common/Makefile (tests): Add bug25.
42683         * stdio-common/bug25.c: New test.
42685 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42687         [BZ #13576]
42688         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42689         multiple of MALLOC_ALIGNMENT in size.
42690         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42692 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42694         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42695         Require >= 256.
42696         (FILENAME_MAX): Use macro-int-constant.
42697         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42698         (_IOFBF): Use macro-int-constant.
42699         (_IOLBF): Likewise.
42700         (_IONBF): Likewise.
42701         (SEEK_CUR): Likewise.
42702         (SEEK_END): Likewise.
42703         (SEEK_SET): Likewise.
42704         (TMP_MAX): Likewise.
42705         (EOF): Use macro-int-constant.  Require < 0.
42706         (NULL): Use macro-constant.  Require == 0.
42707         (stdin): Require type to be FILE *.
42708         (stdout): Likewise.
42709         (stderr): Likewise.
42710         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42711         macro-int-constant.
42712         (EXIT_SUCCESS): Likewise.
42713         (NULL): Use macro-constant.  Require == 0.
42714         (RAND_MAX): Use macro-int-constant.
42715         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42716         [C99-based standards] (strtof): Require function.
42717         [C99-based standards] (strtold): Likewise.
42718         [C99-based standards] (strtoll): Likewise.
42719         [C99-based standards] (strtoull): Likewise.
42720         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42721         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42722         [ISO || ISO99 || ISO11] (math.h): Likewise.
42723         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42724         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42727 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42729         [BZ #14132]
42730         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42731         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42732         * intl/dgettext.c (DCGETTEXT): Likewise.
42733         * intl/gettext.c (DCGETTEXT): Likewise.
42734         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42735         * posix/regex_internal.h (gettext): Likewise.
42736         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42737         Remove declaration.
42738         * include/argz.h (__argz_count_internal)
42739         (__argz_stringify_internal): Remove declaration.
42740         (__argz_count, __argz_stringify): Declare hidden proto.
42741         * intl/dcgettext.c: Remove use of INTDEF.
42742         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42743         * string/argz-stringify.c: Likewise.
42744         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42745         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42746         Declare hidden proto.
42747         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42748         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42749         Declare hidden proto.
42750         * include/stdio.h (__asprintf_internal): Don't declare.
42751         (__asprintf): Don't define as macro.  Declare hidden proto.
42752         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42753         (__fsetlocking): Declare hidden proto.
42754         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42755         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42756         hidden proto.
42757         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42758         (_IO_setlinebuf): Remove use of INTUSE.
42759         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42760         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42761         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42762         Remove declaration.
42763         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42764         (_IO_do_flush): Remove use of INTUSE.
42765         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42766         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42767         (_IO_adjust_column, _IO_least_wmarker)
42768         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42769         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42770         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42771         (_IO_default_doallocate, _IO_wdefault_doallocate)
42772         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42773         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42774         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42775         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42776         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42777         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42778         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42779         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42780         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42781         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42782         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42783         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42784         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42785         proto.
42786         (_IO_flush_all_internal, _IO_adjust_column_internal)
42787         (_IO_default_uflow_internal, _IO_default_finish_internal)
42788         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42789         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42790         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42791         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42792         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42793         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42794         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42795         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42796         (_IO_file_close_internal, _IO_file_close_it_internal)
42797         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42798         (_IO_file_init_internal, _IO_file_attach_internal)
42799         (_IO_file_fopen_internal, _IO_file_read_internal)
42800         (_IO_file_sync_internal, _IO_file_seek_internal)
42801         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42802         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42803         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42804         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42805         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42806         (_IO_list_all_internal, _IO_link_in_internal)
42807         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42808         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42809         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42810         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42811         (_IO_do_write_internal, _IO_padn_internal)
42812         (_IO_getline_info_internal, _IO_getline_internal)
42813         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42814         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42815         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42816         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42817         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42818         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42819         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42820         with libc_hidden_ver, remove use of INTUSE.
42821         * libio/genops.c: Likewise.
42822         * libio/freopen.c: Likewise.
42823         * libio/freopen64.c: Likewise.
42824         * libio/iofclose.c: Likewise.
42825         * libio/iofdopen.c: Likewise.
42826         * libio/iofflush.c: Likewise.
42827         * libio/iofflush_u.c: Likewise.
42828         * libio/iofgets.c: Likewise.
42829         * libio/iofgets_u.c: Likewise.
42830         * libio/iofopen.c: Likewise.
42831         * libio/iofopncook.c: Likewise.
42832         * libio/iofread.c: Likewise.
42833         * libio/iofread_u.c: Likewise.
42834         * libio/ioftell.c: Likewise.
42835         * libio/iofwrite.c: Likewise.
42836         * libio/iogetline.c: Likewise.
42837         * libio/iogets.c: Likewise.
42838         * libio/iogetwline.c: Likewise.
42839         * libio/iopadn.c: Likewise.
42840         * libio/iopopen.c: Likewise.
42841         * libio/ioseekoff.c: Likewise.
42842         * libio/ioseekpos.c: Likewise.
42843         * libio/iosetbuffer.c: Likewise.
42844         * libio/iosetvbuf.c: Likewise.
42845         * libio/ioungetc.c: Likewise.
42846         * libio/ioungetwc.c: Likewise.
42847         * libio/iovdprintf.c: Likewise.
42848         * libio/iovsprintf.c: Likewise.
42849         * libio/iovsscanf.c: Likewise.
42850         * libio/memstream.c: Likewise.
42851         * libio/obprintf.c: Likewise.
42852         * libio/oldfileops.c: Likewise.
42853         * libio/oldiofclose.c: Likewise.
42854         * libio/oldiofdopen.c: Likewise.
42855         * libio/oldiofopen.c: Likewise.
42856         * libio/oldiopopen.c: Likewise.
42857         * libio/oldstdfiles.c: Likewise.
42858         * libio/putc.c: Likewise.
42859         * libio/setbuf.c: Likewise.
42860         * libio/setlinebuf.c: Likewise.
42861         * libio/stdfiles.c: Likewise.
42862         * libio/strops.c: Likewise.
42863         * libio/vasprintf.c: Likewise.
42864         * libio/vscanf.c: Likewise.
42865         * libio/vsnprintf.c: Likewise.
42866         * libio/vswprintf.c: Likewise.
42867         * libio/wfiledoalloc.c: Likewise.
42868         * libio/wfileops.c: Likewise.
42869         * libio/wgenops.c: Likewise.
42870         * libio/wmemstream.c: Likewise.
42871         * libio/wstrops.c: Likewise.
42872         * libio/__fpurge.c: Likewise.
42873         * libio/__fsetlocking.c: Likewise.
42874         * assert/assert.c: Likewise.
42875         * debug/fgets_chk.c: Likewise.
42876         * debug/fgets_u_chk.c: Likewise.
42877         * debug/fread_chk.c: Likewise.
42878         * debug/fread_u_chk.c: Likewise.
42879         * debug/gets_chk.c: Likewise.
42880         * debug/obprintf_chk.c: Likewise.
42881         * debug/vasprintf_chk.c: Likewise.
42882         * debug/vdprintf_chk.c: Likewise.
42883         * debug/vsnprintf_chk.c: Likewise.
42884         * debug/vsprintf_chk.c: Likewise.
42885         * malloc/mtrace.c: Likewise.
42886         * misc/error.c: Likewise.
42887         * misc/syslog.c: Likewise.
42888         * stdio-common/asprintf.c: Likewise.
42889         * stdio-common/fxprintf.c: Likewise.
42890         * stdio-common/getw.c: Likewise.
42891         * stdio-common/isoc99_fscanf.c: Likewise.
42892         * stdio-common/isoc99_scanf.c: Likewise.
42893         * stdio-common/isoc99_vfscanf.c: Likewise.
42894         * stdio-common/isoc99_vscanf.c: Likewise.
42895         * stdio-common/isoc99_vsscanf.c: Likewise.
42896         * stdio-common/printf-prs.c: Likewise.
42897         * stdio-common/printf_fp.c: Likewise.
42898         * stdio-common/printf_fphex.c: Likewise.
42899         * stdio-common/printf_size.c: Likewise.
42900         * stdio-common/putw.c: Likewise.
42901         * stdio-common/scanf.c: Likewise.
42902         * stdio-common/sprintf.c: Likewise.
42903         * stdio-common/tmpfile.c: Likewise.
42904         * stdio-common/vfprintf.c: Likewise.
42905         * stdio-common/vfscanf.c: Likewise.
42906         * stdlib/strfmon_l.c: Likewise.
42907         * sunrpc/openchild.c: Likewise.
42908         * sunrpc/xdr_stdio.c: Likewise.
42909         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42910         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42912 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42914         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42916         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42917         in the third column, to generate for the shared library an IFUNC
42918         that uses _dl_vdso_vsym.
42919         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42920         * Makeconfig (object-suffixes-noshared): New variable.
42922         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42923         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42924         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42925         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42927         [BZ #14132]
42928         * include/sys/time.h (__gettimeofday): Remove macro.
42929         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42930         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42931         Remove INTDEF.
42932         (__gettimeofday): Add libc_hidden_def.
42933         (gettimeofday): Add libc_hidden_weak.
42934         * sysdeps/mach/gettimeofday.c: Likewise.
42935         * sysdeps/posix/gettimeofday.c: Likewise.
42936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42937         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42938         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42939         (__gettimeofday_internal): Remove strong_alias.
42940         (__gettimeofday): Add libc_hidden_def.
42941         (gettimeofday): Add libc_hidden_weak.
42942         * sysdeps/unix/syscalls.list (gettimeofday):
42943         Remove __gettimeofday_internal alias.
42945 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42946             H.J. Lu  <hongjiu.lu@intel.com>
42948         [BZ #12495]
42949         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42950         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42951         (largebin_index_32_big): New.
42952         (largebin_index): Use it for 16-byte alignment.
42953         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42954         correction with front_misalign.
42956 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42960         Likewise.
42961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42962         Likewise.
42963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42964         Likewise.
42965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42966         Likewise.
42967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42968         Likewise.
42969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42970         Likewise.
42971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42972         Likewise.
42973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42974         Likewise.
42975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42976         Likewise.
42977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42978         Likewise.
42979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42980         Likewise.
42981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42982         Likewise.
42984         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42985         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42987 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42989         [BZ #10846]
42990         [BZ #14036]
42991         * math/libm-test.inc (exp_test): Add test from bug 14036.
42992         (pow_test): Add test from bug 10846.
42994         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42995         and other flags.
42996         (special_function): Do not include flags in test name.
42997         (parse_args): Likewise.
42998         * sysdeps/i386/fpu/libm-test-ulps: Update.
42999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43001         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43004         * math/gen-libm-test.pl (%beautify): Add entries for underflow
43005         exceptions.
43006         * math/libm-test.inc ("Philosophy"): Update comment about
43007         exception testing.
43008         (UNDERFLOW_EXCEPTION): New macro.
43009         (UNDERFLOW_EXCEPTION_OK): Likewise.
43010         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43011         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43012         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43013         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43014         (INVALID_EXCEPTION_OK): Update value.
43015         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43016         (OVERFLOW_EXCEPTION_OK): Likewise.
43017         (IGNORE_ZERO_INF_SIGN): Likewise.
43018         (test_exceptions): Handle underflow exceptions.
43019         (acos_test): Update for underflow exception expectations.
43020         (cexp_test): Likewise.
43021         (clog_test): Likewise.
43022         (clog10_test): Likewise.
43023         (csqrt_test): Likewise.
43024         (ctan_test): Likewise.
43025         (ctanh_test): Likewise.
43026         (exp_test): Likewise.
43027         (exp10_test): Likewise.
43028         (exp2_test): Likewise.
43029         (expm1_test): Likewise.
43030         (fma_test): Likewise.
43031         (j0_test): Likewise.
43032         (jn_test): Likewise.
43033         (nexttoward_test): Likewise.
43034         (pow_test): Likewise.
43035         (scalbn_test): Likewise.
43036         (scalbln_test): Likewise.
43037         (tan_test): Likewise.
43038         (y1_test): Likewise.
43039         * sysdeps/i386/fpu/libm-test-ulps: Update.
43040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43042 2012-05-23  David S. Miller  <davem@davemloft.net>
43044         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43045         (__libc_sigaction): Remove unused local variables.
43047 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43049         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43051 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
43053         mktime: avoid signed integer overflow
43054         * time/mktime.c (__mktime_internal): Do not mishandle the case
43055         where diff == INT_MIN.
43057         mktime: simplify computation of average
43058         * time/mktime.c (ranged_convert): Use new time_t_avg function
43059         instead of rolling our own (probably-slower) code.
43061         mktime: do not assume signed right shift propagates sign bit
43062         * time/mktime.c (isdst_differ): New static function.
43063         (__mktime_internal): No need to normalize tm_isdst now.
43064         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43065         tm_isdst values.
43067         mktime: merge another wrapv change from gnulib
43068         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43069         from some compilers.
43071         mktime: remove incorrect attempt at unusual arithmetics
43072         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43073         The code didn't really work on such machines anyway.
43074         (TYPE_MINIMUM): Assume two's complement.
43075         (twos_complement_arithmetic): Verify that long_int and time_t
43076         are two's complement (or unsigned, in the latter case).
43078         mktime: check signed shifts on long_int and time_t, too
43079         * time/mktime.c (SHR): Check that shifts work as desired
43080         on the types long_int and time_t too, as SHR is used on
43081         such types.
43083         mktime: do not assume 'long' is wide enough
43084         * time/mktime.c (verify): Move decl up.
43085         (long_int): New type.
43086         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43087         to remove assumption in the code that 'long' is wide enough to
43088         store year values.  This assumption is not true on x32 and on
43089         some non-glibc platforms.
43091         mktime: merge wrapv change from gnulib
43092         * time/mktime.c (WRAPV): New macro.
43093         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43094         (guess_time_tm, __mktime_internal): Do not assume that signed
43095         integer overflow wraps around; modern compilers generate code
43096         where this assumption is no longer valid.
43098 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43100         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43101         Replace "jmp L(pseudo_end)" with "ret".
43102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43103         Likewise.
43105 2012-05-23  Andreas Jaeger  <aj@suse.de>
43107         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43108         * sysdeps/unix/sysv/linux/poll.c: Remove file.
43110 2012-05-23  Andreas Jaeger  <aj@suse.de>
43111             Maximilian Attems  <max@stro.at>
43113         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43114         New macros.
43116 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43118         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43119         code so that pseudo_end is just ret and the stack pointer is
43120         correct also for static library in error case.
43122 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
43124         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43125         move to syscalls.list.
43126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43131         * manual/install.texi (Running make install): Do not mention Linux
43132         kernel version for which pt_chown is not needed.
43133         (Linux): Do not mention problems with nscd with 2.0 kernels.
43134         * INSTALL: Regenerated.
43136 2012-05-23  Andreas Jaeger  <aj@suse.de>
43138         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43139         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43140         macro.
43141         * sysdeps/unix/sysv/linux/s390/bits/mman.h
43142         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43143         * sysdeps/unix/sysv/linux/sh/bits/mman.h
43144         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43145         * sysdeps/unix/sysv/linux/i386/bits/mman.h
43146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43147         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43149         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43151         * sysdeps/unix/sysv/linux/bits/in.h
43152         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43154 2012-05-22  Roland McGrath  <roland@hack.frob.com>
43156         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43157         (PREPARE_VERSION): Just use assert instead, it will be elided
43158         under [NDEBUG] anyway.
43160 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43162         * sysdeps/unix/sysv/linux/Makefile: Include
43163         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43164         (sysdep_routines): Remove sysctl.
43165         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43166         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43167         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43168         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43169         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43171 2012-05-22  Andreas Jaeger  <aj@suse.de>
43173         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43174         that pseudo_end is just ret and the stack pointer is correct also
43175         for static library in error case.
43177 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
43179         [BZ #14122]
43180         * nss/nsswitch.c (defconfig_entries): New variable.
43181         (__nss_database_lookup): Don't leak defconfig entries.
43182         (nss_parse_service_list): Don't leak on error paths.
43183         (free_database_entries): New function.
43184         (free_defconfig): New function.
43185         (free_mem): Move common code to free_database_entries.
43187 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43189         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43190         Add arch_prctl.
43191         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43194         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43196         New macro.
43197         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43198         (INTERNAL_SYSCALL_TYPES): Likewise.
43199         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43200         (LOAD_REGS_TYPES_[1-6]): Likewise.
43201         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43202         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43204 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43206         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43207         copysignl for GLIBC_2_0.
43208         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43209         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43211         logbl for GLIBC_2_0.
43212         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43213         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43215 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43218         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43220         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43221         Use "neg %eax".
43223         * time/mktime.c: Update copyright years.
43225 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43227         mktime: merge comment-quoting-style change from gnulib
43228         * time/mktime.c: Quote 'like this' in comments.
43229         The GNU coding standards suggest that we no longer quote `like this',
43230         as "`" and "'" are typically rendered asymmetrically nowadays.
43231         The typical gnulib style is to quote 'like this' when quoting
43232         code, and "like this" when quoting English.
43234         * time/mktime.c (compile-command): Add "-I.".
43236         mktime: merge mktime-internal.h change from gnulib
43237         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43239         mktime: merge time_r change from gnulib
43240         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43242         mktime: merge DEBUG change from gnulib
43243         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43244         case system <time.h> has a #define.
43246         mktime: merge <sys/types.h> change from gnulib
43247         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43248         since <time.t> is now guaranteed to define time_t.
43250         mktime: merge HAVE_CONFIG_H change from gnulib
43251         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43253 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43256         Use "neg %eax".
43258         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43259         __rlim_t cast.
43260         (struct rusage): Use anonymous union to pad each field to
43261         __syscall_slong_t.
43263 2012-05-21  David S. Miller  <davem@davemloft.net>
43265         * Makefules (o-iterator): Remove .s cases.
43266         (compile-command.s): Delete.
43267         (COMPILE.s): Delete.
43268         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43270 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43272         * configure.in (libc_cv_predef_stack_protector): Only consider
43273         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43274         * configure: Regenerated.
43276 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43279         New macro.  Use R*LP on int and pointer.
43280         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43281         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43282         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43283         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43285         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43286         [__WORDSIZE_TIME64_COMPAT32] instead of
43287         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43288         (struct utmp): Likewise.
43289         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43290         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43291         Renamed to ...
43292         (__WORDSIZE_TIME64_COMPAT32): This.
43293         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43294         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43295         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43296         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43297         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43298         (__WORDSIZE_TIME64_COMPAT32): New macro.
43300 2012-05-21  Andreas Jaeger  <aj@suse.de>
43302         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43303         only if [SHARED]. Add prototype for __wcschr_ia32.
43305 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43307         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43308         of %rbp unmolested in the jmp_buf while mangling the low bits.
43309         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43310         unmolested high bits of %rbp while demangling the low bits.
43311         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43313 2012-05-21  Andreas Jaeger  <aj@suse.de>
43315         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43316         * sunrpc/svc_simple.c: Use it for registerrpc.
43317         * sunrpc/xcrypt.c: Use it for passwd2des.
43319         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43321 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43323         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43324         Don't define if [__SYSCALL_WORDSIZE != 32].
43325         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43326         New macro.
43328 2012-05-21  Bruno Haible  <bruno@clisp.org>
43329             Andreas Jaeger  <aj@suse.de>
43331         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43332         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43333         inptr and inend for must_buffer_ch.
43334         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43335         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43336         * stdio-common/Makefile (tests): Remove bug15.
43337         (bug15-ENV): Remove macro.
43338         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43339         anymore.
43341 2012-05-19  Andreas Jaeger  <aj@suse.de>
43342             Roland McGrath  <roland@hack.frob.com>
43344         * manual/contrib.texi: Completely rewritten. It contains now an
43345         alphabetical list of contributors and their contributions.
43347 2012-05-21  Richard Henderson  <rth@twiddle.net>
43349         * misc/getauxval.c (__getauxval): Use unsigned long int.
43350         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43351         (getauxval): Use unsigned long int.
43353 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43355         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43357 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43359         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43360         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43361         __alignof__ (long double).
43363 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43367 2012-05-20  Richard Henderson  <rth@twiddle.net>
43369         * misc/getauxval.c: New file.
43370         * misc/sys/auxv.h: New file.
43371         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43372         (routines): Add getauxval.
43373         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43374         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43375         * elf/dl-sysdep.c (_dl_auxv): Remove.
43376         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43377         * elf/dl-support.c (_dl_auxv): New variable.
43378         (_dl_aux_init): Initialize it.
43379         * manual/startup.texi (Auxiliary Vector): New node.
43380         * sysdeps/generic/bits/hwcap.h: New file.
43381         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43382         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43383         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43384         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43385         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43386         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43388         Update.
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43398 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43402 2012-05-19  David S. Miller  <davem@davemloft.net>
43404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43406 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43408         [BZ #14123]
43409         * math/s_ccosh.c: Include <float.h>
43410         (__ccosh): Avoid internal overflow calculating sinh and cosh
43411         values before multiplying by sin and cos values.
43412         * math/s_ccoshf.c: Likewise.
43413         * math/s_ccoshl.c: Likewise.
43414         * math/s_csin.c: Likewise.
43415         * math/s_csinf.c: Likewise.
43416         * math/s_csinl.c: Likewise.
43417         * math/s_csinh.c: Likewise.
43418         * math/s_csinhf.c: Likewise.
43419         * math/s_csinhl.c: Likewise.
43420         * math/libm-test.inc (ccos_test): Add more tests.
43421         (ccosh_test): Likewise.
43422         (csin_test): Likewise.
43423         (csinh_test): Likewise.
43424         * sysdeps/i386/fpu/libm-test-ulps: Update.
43425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43427 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43429         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43430         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43432         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43434 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43436         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43437         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43438         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43439         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43440         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43441         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43442         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43443         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43444         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43445         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43446         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43447         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43448         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43449         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43450         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43451         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43452         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43453         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43454         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43455         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43456         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43457         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43458         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43459         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43460         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43461         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43462         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43463         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43464         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43465         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43466         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43468 2012-05-18  Andreas Jaeger  <aj@suse.de>
43470         * csu/.gitignore: Delete.
43472 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43474         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43475         (timex): Use __syscall_slong_t.
43477 2012-05-18  Andreas Jaeger  <aj@suse.de>
43478             Carlos O'Donell  <carlos_odonell@mentor.com>
43480         * manual/install.texi (Configuring and compiling): Update
43481         description about files modified in the source directory.
43482         * INSTALL: Regenerated.
43484 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43486         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43487         value.  Use "or" to set return value to -1.
43488         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43489         negate return value.
43491 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43493         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43494         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43495         failure if the compiler has Graphite support disabled.
43496         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43497         Likewise.
43498         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43499         (CFLAGS-memmove.c): Likewise.
43500         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43501         Likewise.
43503 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43505         * sysdeps/x86_64/x32/_itoa.h: New file.
43507         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43508         getdents system call only if kernel and user dirents have the
43509         same d_ino and d_off.
43511         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43512         LLONG_MAX != LONG_MAX.
43513         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43514         (_fitoa_word): Likewise.
43516         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43517         years.
43518         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43519         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43520         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43522         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43523         include <bits/wordsize.h>.  Check __x86_64__ instead of
43524         __WORDSIZE.
43525         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43526         if __x86_64__ is defined.  Use anonymous union on fpstate.
43528         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43529         anonymous union.
43531 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43533         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43534         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43535         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43536         Refer to _rtld_local_ro instead of _rtld_global_ro.
43537         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43538         Likewise.
43539         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43540         Likewise.
43541         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43542         Likewise.
43543         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43544         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43545         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43547         * sysdeps/powerpc/powerpc32/dl-machine.c
43548         (__elf_machine_runtime_setup) [PROF]: Don't reference
43549         _dl_prof_resolve.
43551 2012-05-18  Andreas Jaeger  <aj@suse.de>
43553         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43554         function only available for GCCs before 3.4 since GCC 3.4
43555         introduced a builtin.
43556         (lrint): Likewise.
43557         (llrintf): Likewise.
43558         (llrint): Likewise.
43559         (fmaxf): Likewise.
43560         (fmax): Likewise.
43561         (fminf): Likewise.
43562         (fmin): Likewise.
43563         (rint): Likewise.
43564         (rintf): Likewise.
43565         (nearbyint): Likewise.
43566         (nearbyintf): Likewise.
43567         (ceil): Likewise.
43568         (ceilf): Likewise.
43569         (floor): Likewise.
43570         (floorf): Likewise.
43572 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43574         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43575         on both fields and cast pointer to __syscall_ulong_t.
43577         * bits/types.h (__fsword_t): New type.
43578         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43579         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43581         (__FSWORD_T_TYPE): Likewise.
43582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43583         (__FSWORD_T_TYPE): Likewise.
43584         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43585         (__FSWORD_T_TYPE): Likewise.
43586         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43587         (__FSWORD_T_TYPE): Likewise.
43588         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43589         __SWORD_TYPE with __fsword_t.
43590         (statfs64): Likewise.
43592 2012-05-17  David S. Miller  <davem@davemloft.net>
43594         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43596 2012-05-17  Andreas Jaeger  <aj@suse.de>
43598         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43599         warning.
43601 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43603         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43605 2012-05-17  Andreas Jaeger  <aj@suse.de>
43607         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43608         when it is used.
43610 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43612         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43614 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43616         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43617         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43619 2012-05-17  Andreas Jaeger  <aj@suse.de>
43620             Carlos O'Donell  <carlos_odonell@mentor.com>
43622         [BZ #14059]
43623         * sysdeps/x86_64/multiarch/init-arch.h
43624         (bit_YMM_Usable): Rename to...
43625         (bit_AVX_Usable): ... this.
43626         (bit_FMA4_Usable): New macro.
43627         (bit_XMM_state): New macro.
43628         (bit_YMM_state): New macro.
43629         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43630         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43631         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43632         (CPUID_OSXSAVE): New macro.
43633         (CPUID_AVX): New macro.
43634         (CPUID_FMA4): New macro.
43635         (index_YMM_Usable): Rename to...
43636         (index_AVX_Usable): ... this.
43637         (HAS_AVX): Use HAS_ARCH_FEATURE.
43638         (HAS_FMA4): Likewise.
43639         (HAS_YMM_USABLE): Remove.
43640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43641         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43642         are present.
43643         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43644         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43645         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43646         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43647         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43649 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43651         * math/libm-test.c: Support platforms without multiple rounding modes.
43652         * math/bug-nextafter.c: Support platforms without FP exceptions.
43653         * math/bug-nexttoward.c: Likewise.
43654         * math/test-fenv.c: Likewise.
43655         * math/test-misc.c: Likewise.
43656         * stdlib/bug-getcontext.c: Likewise.
43658 2012-05-17  Andreas Jaeger  <aj@suse.de>
43660         * manual/examples/search.c (critter_cmp): Change signature to
43661         avoid warnings.
43662         * manual/string.texi (Collation Functions): Likewise.
43664 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43666         * bits/types.h: Fold copyright years.
43667         * bits/typesizes.h: Likewise.
43668         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43670         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43672         * time/time.h: Likewise.
43674 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43676         [BZ #208]
43677         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43678         in instead of returning them.  Return void.
43679         (__libc_mallinfo): Accumulate over all arenas.
43680         (__malloc_stats): Adjust for change in int_mallinfo interface.
43682 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43684         [BZ #10375]
43685         * configure.in (NM): Add AC_CHECK_TOOL for it.
43686         (libc_extra_cflags): New substituted variable.
43687         Check for -fstack-protector being used implicitly.
43688         * configure: Regenerated.
43689         * config.make.in (config-extra-cflags): New variable,
43690         gets @libc_extra_cflags@.
43691         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43693         [BZ #10375]
43694         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43695         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43696         * configure: Regenerated.
43697         * config.make.in (CPPUNDEFS): New substituted variable.
43698         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43699         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43700         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43704         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43705         (mq_attr): Use __syscall_slong_t.
43707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43709         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43710         Check __x86_64__ instead of __WORDSIZE.
43711         (_STAT_VER_LINUX): Likewise.
43712         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43713         __syscall_ulong_t and __syscall_slong_t.
43714         (stat64): Likewise.
43716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43718         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43720 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43722         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43726         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43727         __syscall_ulong_t.
43729         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43730         include <bits/wordsize.h>.  Check __x86_64__ instead of
43731         __WORDSIZE.
43732         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43733         defined.
43734         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43736         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43737         include <bits/wordsize.h>.  Check __x86_64__ instead of
43738         __WORDSIZE.
43739         (user_regs_struct): Use "__extension__ unsigned long long"
43740         instead of "unsigned long" if __x86_64__ is defined.
43741         (user): Likewise.  Pad after pointer field if __ILP32__ is
43742         defined.
43744 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43746         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43747         versions 5 to 9.
43748         * configure: Regenerated.
43749         * manual/install.texi (texinfo): Increase version requirement to
43750         4.5 or later.
43751         * INSTALL: Regenerated.
43753         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43755 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43757         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43759         * sysdeps/x86_64/x32/ffs.c: New file.
43761         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43762         __syscall_ulong_t.
43763         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43764         defined.  Use __syscall_ulong_t.
43765         (shminfo): Use __syscall_ulong_t.
43766         (shm_info): Likewise.
43768         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43769         __syscall_ulong_t.
43771         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43772         <bits/wordsize.h>.
43773         (msgqnum_t): Use __syscall_ulong_t.
43774         (msglen_t): Likewise.
43775         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43776         __syscall_ulong_t.
43778         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43779         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43781         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43783         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43784         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43786         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43787         __syscall_slong_t.
43789         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43790         include <bits/wordsize.h>.  Check __x86_64__ instead of
43791         __WORDSIZE.
43793         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43794         "unsigned long long int" if __x86_64__ is defined.
43795         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43797         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43798         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43799         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43801         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43802         <stdint.h>.
43803         (GET_PC): Cast to uintptr_t first.
43804         (GET_FRAME): Likewise.
43805         (GET_STACK): Likewise.
43807         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43808         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43809         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43810         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43811         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43812         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43813         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43814         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43815         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43816         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43817         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43818         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43819         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43820         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43821         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43822         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43823         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43824         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43825         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43826         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43828         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43829         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43830         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43831         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43832         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43833         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43834         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43835         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43837 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43839         * Makerules (+depfiles): Also collect depfiles from .oS in
43840         $(extra-objs).
43841         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43842         .oS, $(libnldbl-routines)).
43844         * Makerules (native-compile-mkdep-flags): Define.
43845         * sunrpc/Makefile (extra-objs): Add $(addprefix
43846         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43847         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43848         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43849         calling $(make-target-directory).
43851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43853         * bits/types.h (__snseconds_t): Removed.
43854         * time/time.h (struct timespec): Replace __snseconds_t with
43855         __syscall_slong_t.
43856         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43857         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43858         Likewise.
43859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43860         (__SNSECONDS_T_TYPE): Likewise.
43861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43862         (__SNSECONDS_T_TYPE): Likewise.
43863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43864         (__SNSECONDS_T_TYPE): Likewise.
43866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43868         * sysdeps/mach/hurd/bits/typesizes.h
43869         (__SYSCALL_SLONG_TYPE): New macro.
43870         (__SYSCALL_ULONG_TYPE): Likewise.
43872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43874         * bits/types.h (__syscall_slong_t): New type.
43875         (__syscall_ulong_t): Likewise.
43877         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43878         (__SYSCALL_ULONG_TYPE): Likewise.
43879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43880         (__SYSCALL_SLONG_TYPE): Likewise.
43881         (__SYSCALL_ULONG_TYPE): Likewise.
43882         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43883         (__SYSCALL_SLONG_TYPE): Likewise.
43884         (__SYSCALL_ULONG_TYPE): Likewise.
43885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43886         (__SYSCALL_SLONG_TYPE): Likewise.
43887         (__SYSCALL_ULONG_TYPE): Likewise.
43889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43891         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43892         Add sigaltstack-offsets.sym.
43893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43894         <sigaltstack-offsets.h>.
43895         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43896         longjmp_msg pointer.
43897         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43898         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43899         signal stack.
43900         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43902 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43904         * elf/stackguard-macros.h: Remove file.
43905         * sysdeps/generic/stackguard-macros.h: New file.
43906         * sysdeps/i386/stackguard-macros.h: Likewise.
43907         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43908         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43909         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43910         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43911         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43912         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43913         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43914         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43915         <elf/stackguard-macros.h>.
43917         [BZ #14109]
43918         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43919         __aligned__ in attribute.
43920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43921         (gregset_t): Likewise.
43923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43925         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43926         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43927         * sysdeps/x86_64/x32/Implies-after: New file.
43929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43931         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43932         and access return value for _dl_profile_fixup.  Use R10_LP to
43933         load frame size.
43935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43937         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43941         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43942         * sysdeps/x86_64/x32/sysdep.h: New file.
43944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43946         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43947         * sysdeps/x86_64/setjmp.S: Likewise.
43949 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43951         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43952         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43953         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43954         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43955         remove unused global constant.
43957 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43959         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43960         include of <not-cancel.h>.
43962 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43964         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43966 2012-05-15  Jeff Law  <law@redhat.com>
43967             Andreas Jaeger  <aj@suse.de>
43969         [BZ #13594]
43970         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43971         out from...
43972         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43973         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43974         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43975         code changing __hst_map_handle.map.
43977 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43979         * configure.in (sysnames): Look for Implies-before and Implies-after
43980         files.
43981         * configure: Regenerated.
43983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43985         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43986         8-byte data alignment with LP_SIZE alignment.
43988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43990         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43991         into R10_LP.
43993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43995         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43999         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44000         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44001         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44002         Likewise.
44003         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44007         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44008         (stackinfo_sub_sp): Likewise.
44010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44013         RAX_LP.
44015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44017         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44018         into R*_LP.
44020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44022         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44023         sizes into R*_LP.
44025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44027         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44031         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44032         into R11_LP and load __x86_64_shared_cache_size_half into
44033         R8_LP.
44035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44037         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44038         R8_LP.
44040 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44043         logb for POWER7.
44044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44045         logbf for POWER7.
44046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44047         logbl for POWER7.
44048         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44049         powerpc32/power7/fpu/s_logb.c via #include.
44050         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44051         powerpc32/power7/fpu/s_logbf.c via #include.
44052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44053         powerpc32/power7/fpu/s_logbl.c via #include.
44055 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44057         * README.libm: Remove file.
44059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44061         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44062         count for x32.  Use R*_LP and omit operand-size suffix.
44064 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44066         * shlib-versions: Move x86_64-.*-linux.* entries to ...
44067         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
44068         * sysdeps/x86_64/x32/shlib-versions: New file.
44070 2012-05-14  Roland McGrath  <roland@hack.frob.com>
44072         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44073         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44074         Use _dl_fatal_printf instead.
44076 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44078         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44079         set if not set by the user.  Do not allow for being unset.
44080         * sysdeps/unix/sysv/linux/configure: Regenerated.
44082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44084         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44085         the `q' suffix from lea and replace .quad with ASM_ADDR.
44087 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44090         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
44091         instead of $17.
44092         (PTR_DEMANGLE): Likewise.
44094 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44096         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44097         (LP_OP): Likewise.
44098         (ASM_ADDR): Likewise.
44099         (RAX_LP): Likewise.
44100         (RBP_LP): Likewise.
44101         (RBX_LP): Likewise.
44102         (RCX_LP): Likewise.
44103         (RDI_LP): Likewise.
44104         (RSI_LP): Likewise.
44105         (RSP_LP): Likewise.
44106         (R8_LP): Likewise.
44107         (R9_LP): Likewise.
44108         (R10_LP): Likewise.
44109         (R10_LP): Likewise.
44110         (R11_LP): Likewise.
44111         (R12_LP): Likewise.
44112         (R13_LP): Likewise.
44113         (R14_LP): Likewise.
44114         (R15_LP): Likewise.
44116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44118         * sysdeps/x86_64/x32/dl-machine.h: New file.
44120 2012-05-14  Andreas Jaeger  <aj@suse.de>
44122         * manual/Makefile (subdir): Remove export of subdir.
44123         (all): Remove target.
44124         (.PHONY): Remove all from list.
44125         (mkinstalldirs): Remove.
44126         (.PHONY): Remove installdirs from list.
44127         ($(inst_infodir)/libc.info): Use make-target-directory.
44128         (installdirs): Remove.
44129         (subdir_%): Remove.
44130         (glibc-targets): Remove.
44131         (lib): Remove.
44132         (stubs): Remove.
44133         ($(objpfx)stubs ../po/manual.pot): Remove.
44134         ($(objpfx)stamp%): Remove.
44135         (make-target-directory): Remove.
44136         (subdir_install): Remove.
44137         (routines): Remove.
44138         (aux): Remove.
44139         (sources): Remove.
44140         (objects): Remove.
44141         (headers): Remove.
44143         [BZ #13750]
44144         * manual/.gitignore: Remove, it's not needed anymore.
44145         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44146         all files in it.
44147         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44148         directory.
44149         (texis): Renamed to $(objpfx)texis.
44150         (texis-path): New, contains path to generated files.
44151         (chapters.%): Use texis-path for complete path, add extra argument
44152         libc-texinfo.sh.
44153         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44154         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44155         (summary,texi, stamp-summary): Use complete path of
44156         files. Generate files in build dir.
44157         (dir-add.texi): Build in build dir.
44158         (libm-err.texi,stamp-libm-err): Likewise.
44159         (version.texi, stamp-version): Likewise.
44160         (.%c.texi): Likewise.
44161         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44162         (mostlyclean): Remove target.
44163         (realclean): Remove target.
44164         (generated): Add new variable with contents from mostlyclean and
44165         realclean, remove entries duplicated in common-mostlyclean, add
44166         stamp-libm-err and stamp-version.
44167         (generated-dirs): Add libc directory.
44168         ($(inst_infodir)/libc.info): Install files from build dir.
44170         * manual/install.texi (Configuring and compiling): Adjust since
44171         the info files are not part of the tar ball anymore.
44173 2012-05-14  Andreas Jaeger  <aj@suse.de>
44175         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44176         variable.
44178 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44180         [BZ #13717]
44181         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44182         to 2.2.0 where earlier.
44183         * sysdeps/unix/sysv/linux/configure: Regenerated.
44184         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44185         Remove conditional code.
44186         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44187         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44188         Remove conditional code.
44189         [!__NR_lchown]: Likewise.
44190         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44191         [__NR_lchown]: Likewise.
44192         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44193         comment referencing __ASSUME_LCHOWN_SYSCALL.
44194         * sysdeps/unix/sysv/linux/i386/sigaction.c
44195         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44196         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44197         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44198         Remove conditional code.
44199         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44200         (__protocol_available): Remove #if 0 code.
44201         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44202         conditional code.
44203         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44204         * sysdeps/unix/sysv/linux/kernel-features.h
44205         (__ASSUME_GETCWD_SYSCALL): Don't define.
44206         (__ASSUME_REALTIME_SIGNALS): Likewise.
44207         (__ASSUME_PREAD_SYSCALL): Likewise.
44208         (__ASSUME_PWRITE_SYSCALL): Likewise.
44209         (__ASSUME_POLL_SYSCALL): Likewise.
44210         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44211         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44212         non-SPARC.
44213         (__ASSUME_SIOCGIFNAME): Don't define.
44214         (__ASSUME_MSG_NOSIGNAL): Likewise.
44215         (__ASSUME_SENDFILE): Define unconditionally.
44216         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44217         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44218         conditional code.
44219         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44220         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44221         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44222         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44223         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44224         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44225         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44227         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44233         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44239         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44240         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44245         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44250         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44251         Remove conditional code.
44252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44253         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44254         Remove conditional code.
44255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44256         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44257         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44258         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44259         Remove conditional code.
44260         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44261         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44262         Remove conditional code.
44263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44264         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44265         Remove conditional code.
44266         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44267         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44268         Remove conditional code.
44269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44270         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44271         Remove conditional code.
44272         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44273         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44274         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44276         * sysdeps/unix/sysv/linux/sigaction.c
44277         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44278         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44279         * sysdeps/unix/sysv/linux/sigpending.c
44280         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44281         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44282         * sysdeps/unix/sysv/linux/sigprocmask.c
44283         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44284         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44285         * sysdeps/unix/sysv/linux/sigsuspend.c
44286         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44287         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44288         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44289         (__libc_missing_rt_sigs): Remove.
44290         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44291         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44292         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44293         Remove conditional code.
44294         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44295         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44296         return 1.
44297         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44298         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44299         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44300         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44302 2012-05-14  Andreas Jaeger  <aj@suse.de>
44304         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44305         it's not used in glibc.
44306         (__coshm1): Likewise.
44307         (__acosh1p): Likewise.
44308         (__sgn): Likewise.
44310         * manual/string.texi (Copying and Concatenation): Add missing
44311         variable in concat example.
44312         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44316         [BZ #14103]
44317         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44318         __builtin_clzl with __builtin_clzll.
44320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44322         [BZ #14104]
44323         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44324         libc_freeres_ptr.
44326 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44328         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44329         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44330         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44331         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44333 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44335         * NEWS: Update ia64 info.
44337 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44339         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44340         used as bcopy.
44342 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44344         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44345         * sysdeps/unix/syscalls.list (dup3): Likewise.
44346         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44347         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44349 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44351         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44352         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44354 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44356         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44357         thread pointer.
44358         (TLS_IE): Use mov/add instead of movq/addq to load thread
44359         pointer.
44360         (TLS_GD_PREFIX): New.
44361         (TLS_GD): Use it.
44363 2012-05-11  David S. Miller  <davem@davemloft.net>
44365         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44366         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44367         (_FPU_SETCW): Likewise.
44369 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44371         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44372         is 32-byte aligned.
44374 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44376         [BZ #11837]
44377         * iconvdata/gb18030.c: Update tables.
44378         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44379         characters specially.
44380         (BODY for TO_LOOP): Add encoding of missing ranges.
44382 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44384         [BZ #13673]
44385         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44386         * sysdeps/mach/hurd/dup3.c: Likewise.
44387         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44388         * sysdeps/powerpc/memmove.c:: Likewise.
44390 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44393         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44395 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44397         * elf/elf.h (R_X86_64_RELATIVE64): New.
44398         (R_X86_64_NUM): Updated.
44399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44400         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44401         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44402         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44403         tst-quad1pie tst-quad2pie
44404         (modules-names): Add tst-quadmod1 tst-quadmod2.
44405         ($(objpfx)tst-quad1): New dependency.
44406         ($(objpfx)tst-quad2): Likewise.
44407         ($(objpfx)tst-quad1pie): Likewise.
44408         ($(objpfx)tst-quad2pie): Likewise.
44409         * sysdeps/x86_64/tst-quad1.c: New file.
44410         * sysdeps/x86_64/tst-quad1pie.c: New file.
44411         * sysdeps/x86_64/tst-quad2.c: Likewise.
44412         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44413         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44414         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44415         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44416         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44420         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44421         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44422         * streams/stropts.h (t_scalar_t): Define type.
44424         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44425         (_PATH_PRESERVE): Set to "/var/lib".
44426         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44428         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44429         instead of int.
44431         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44432         if __dir_mkfile succeeded.
44434         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44435         checking for _hurd_dtablesize.  Unlock it right after having
44436         finished _hurd_dtable allocation.
44438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44440         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44441         * sysdeps/mach/hurd/configure: Regenerated.
44442         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44443         special-casing to...
44444         * sysdeps/gnu/configure.in: ... this new file.
44445         * sysdeps/unix/sysv/linux/configure: Regenerated.
44446         * sysdeps/gnu/configure: New generated file.
44448         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44449         for Linux: use nsec instead of usec, as well as:
44450         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44451         members of type struct timespec.
44452         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44453         New macros.
44454         (struct stat64): Likewise.
44455         (_STATBUF_ST_NSEC): New macro.
44456         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44458         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44459         __strtoul_internal rather than strtoul.
44461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44463         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44464         and reject them.
44466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44468         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44469         which preserves existing values.
44470         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44472 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44474         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44475         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44476         greater than FD_SETSIZE.
44478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44480         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44481         allocated, call __vm_protect to finish enabling the existing space, and
44482         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44483         allocate the remainder.
44485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44487         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44488         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44492         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44493         sysdeps/mach/hurd/readlink.c.
44495         * posix/tst-sysconf.c (posix_options): Only use
44496         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44497         _POSIX_SYNCHRONIZED_IO when they are defined
44498         * sysdeps/mach/hurd/bits/posix_opt.h:
44499         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44500         (_XOPEN_REALTIME): Undefine macro.
44501         (_XOPEN_REALTIME_THREADS): Undefine macro.
44502         (_XOPEN_SHM): Undefine macro.
44503         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44504         macro to -1.
44505         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44506         macro to -1.
44507         (_POSIX_ASYNC_IO): Undefine macro.
44508         (_POSIX_PRIORITIZED_IO): Undefine macro.
44509         (_POSIX_SPIN_LOCKS): Define macro to -1.
44511         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44512         SA_NODEFER, SA_RESETHAND.
44513         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44514         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44515         F_DUPFD_CLOEXEC.
44517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44519         * elf/Makefile (pldd-modules): Define unconditionally.
44521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44523         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44527         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44528         Return ENOENT when name is empty.
44529         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44533         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44535         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44539         Fix mlock in all cases except non-readable pages.
44540         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44541         instead of VM_PROT_ALL as parameter to __vm_wire function.
44543         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44544         (__mkdir): When path is `/', just fail with EEXIST.
44545         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44549         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44550         <sys/uio.h> (for writev).
44551         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44552         and <sys/param.h> (for MIN).
44554 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44556         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44557         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44558         if interrupted.
44560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44562         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44563         Depend on against $(link-rpcuserlibs).
44565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44567         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44568         (__libc_stack_end): Do not use attribute_relro.
44569         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44570         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44571         to libthread-provided value.
44572         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44573         attribute_relro.
44575 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44577         [BZ #3748]
44578         * bits/libc-lock.h (__libc_once_get): New macro.
44579         * sysdeps/mach/bits/libc-lock.h: Likewise.
44580         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44582         instead of using implementation details.
44584         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44585         * libio/freopen.c: Likewise.
44586         * libio/freopen64.c: Likewise.
44587         * misc/syslog.c: Likewise.
44588         * nscd/connections.c: Likewise.
44589         * nscd/netgroupcache.c: Likewise.
44590         * sysdeps/posix/getcwd.c: Likewise.
44592 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44594         * math/w_ilogbf.c: Add #include <limits.h>.
44596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44598         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44599         path instead of returning without unlocking.
44601         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44602         immediate-write ioctls.
44603         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44605 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44607         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44608         __builtin_frame_address instead of making assumptions about the
44609         location of the return address relative to DATA.  Force early load of
44610         the return address.
44611         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44612         __builtin_frame_address.
44614         dup3 for GNU Hurd.
44615         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44616         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44617         implement dup3 and do some further code clean-ups.
44618         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44619         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44623         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44625         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44626         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44627         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44628         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44629         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44630         d->port.lock.
44632         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44633         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44634         when handler == SIG_ERR, not when handler != SIG_ERR.
44636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44638         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44639         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44640         definitions.
44642         accept4 for GNU Hurd.
44643         * include/sys/socket.h (__libc_accept4): New prototype.
44644         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44645         to implement __libc_accept4.
44646         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44647         __libc_accept4.
44648         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44650         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44651         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44652         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44653         signal-defines.sym.
44655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44657         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44661         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44662         assertion on O_CLOEXEC flag.
44663         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44664         * hurd/intern-fd.c: Likewise.
44665         * hurd/port2fd.c: Likewise.
44667 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44669         [BZ #3906]
44670         * bits/in.h (IPV6_PKTINFO): Define new macro.
44671         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44673 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44675         [BZ #13954]
44676         [BZ #13955]
44677         [BZ #13956]
44678         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44679         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44680         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44681         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44683         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44684         * math/libm-test.inc (logb_test) : Additional logb tests.
44686 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44687             Andreas Jaeger  <aj@suse.de>
44689         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44690         * configure: Regenerated.
44691         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44692         * config.make.in (link-obsolete-rpc): New substituted variable.
44693         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44694         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44695         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44696         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44697         so that libc.a contains the symbols.
44698         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44699         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44700         * sunrpc/auth_none.c: Likewise.
44701         * sunrpc/auth_unix.c: Likewise.
44702         * sunrpc/authdes_prot.c: Likewise.
44703         * sunrpc/authuxprot.c: Likewise.
44704         * sunrpc/clnt_gen.c: Likewise.
44705         * sunrpc/clnt_perr.c: Likewise.
44706         * sunrpc/clnt_raw.c: Likewise.
44707         * sunrpc/clnt_simp.c: Likewise.
44708         * sunrpc/clnt_tcp.c: Likewise.
44709         * sunrpc/clnt_udp.c: Likewise.
44710         * sunrpc/clnt_unix.c: Likewise.
44711         * sunrpc/des_crypt.c: Likewise.
44712         * sunrpc/des_soft.c: Likewise.
44713         * sunrpc/get_myaddr.c: Likewise.
44714         * sunrpc/key_call.c: Likewise.
44715         * sunrpc/key_prot.c: Likewise.
44716         * sunrpc/netname.c: Likewise.
44717         * sunrpc/pm_getmaps.c: Likewise.
44718         * sunrpc/pm_getport.c: Likewise.
44719         * sunrpc/pmap_clnt.c: Likewise.
44720         * sunrpc/pmap_prot.c: Likewise.
44721         * sunrpc/pmap_prot2.c: Likewise.
44722         * sunrpc/pmap_rmt.c: Likewise.
44723         * sunrpc/publickey.c: Likewise.
44724         * sunrpc/rpc_cmsg.c: Likewise.
44725         * sunrpc/rpc_common.c: Likewise.
44726         * sunrpc/rpc_dtable.c: Likewise.
44727         * sunrpc/rpc_prot.c: Likewise.
44728         * sunrpc/rpc_thread.c: Likewise.
44729         * sunrpc/rtime.c: Likewise.
44730         * sunrpc/svc.c: Likewise.
44731         * sunrpc/svc_auth.c: Likewise.
44732         * sunrpc/svc_raw.c: Likewise.
44733         * sunrpc/svc_run.c: Likewise.
44734         * sunrpc/svc_tcp.c: Likewise.
44735         * sunrpc/svc_udp.c: Likewise.
44736         * sunrpc/svc_unix.c: Likewise.
44737         * sunrpc/svcauth_des.c: Likewise.
44738         * sunrpc/xcrypt.c: Likewise.
44739         * sunrpc/xdr.c: Likewise.
44740         * sunrpc/xdr_array.c: Likewise.
44741         * sunrpc/xdr_float.c: Likewise.
44742         * sunrpc/xdr_intXX_t.c: Likewise.
44743         * sunrpc/xdr_mem.c: Likewise.
44744         * sunrpc/xdr_rec.c: Likewise.
44745         * sunrpc/xdr_ref.c: Likewise.
44746         * sunrpc/xdr_sizeof.c: Likewise.
44747         * sunrpc/xdr_stdio.c: Likewise.
44749 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44752         change.  Update copyright years.
44754 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44756         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44758 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44759             Joseph Myers  <joseph@codesourcery.com>
44760             Paul Pluzhnikov  <ppluzhnikov@google.com>
44762         [BZ #14012]
44763         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44764         requiring rpcgen.
44765         [cross-compiling] (extra-libs): Likewise.
44766         [cross-compiling] (extra-libs-others): Likewise.
44767         [cross-compiling] (librpcsvc-routines): Likewise.
44768         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44769         [cross-compiling] (omit-deps): Likewise.
44770         (sunrpc-CPPFLAGS): New variable.
44771         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44772         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44773         (cross-rpcgen-objs): New variable.
44774         (extra-objs): Append $(cross-rpcgen-objs).
44775         ($(cross-rpcgen-objs)): New rule.
44776         ($(objpfx)cross-rpcgen): Likewise.
44777         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44778         comment.
44779         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44780         ($(objpfx)x%.stmp): Likewise.
44781         * sunrpc/proto.h [IS_IN_build] (_): Define.
44782         [IS_IN_build] (_libc_intl_domainname): Likewise.
44784 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44786         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44787         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44788         and R_X86_64_TPOFF64.
44790 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44792         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44793         sysdeps/unix/sysv/syscalls.list.
44794         (stime): Likewise.
44795         (utime): Likewise.
44796         * sysdeps/unix/sysv/syscalls.list: Remove file.
44798 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44800         [BZ #3440]
44801         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44802         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44803         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44804         (__LC_IDENTIFICATION): Make these macros useful in #if
44805         expressions, as required by C99.
44807 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44809         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44810         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44811         after this.
44813 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44815         * stdlib/longlong.h: Updated from GCC.
44817 2012-05-09  Andreas Jaeger  <aj@suse.de>
44819         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44820         default is first entry.
44821         (run_mode): Set type.
44822         (main): Remove informal message about syslog.
44823         (options): Fix typo.
44825         [BZ #14053]
44826         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44827         to asm.
44828         (lrint): Likewise.
44829         (llrintf): Likewise.
44830         (llrint): Likewise.
44831         (rint): Likewise.
44832         (rintf): Likewise.
44833         (nearbyint): Likewise.
44834         (nearbyintf): Likewise.
44836 2012-05-09  Andreas Jaeger  <aj@suse.de>
44837             Pedro Alves  <palves@redhat.com>
44839         * nscd/nscd.c (run_mode): Use enum.
44840         (main): Cleanup coding style issue.
44842 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44843             Andreas Jaeger  <aj@suse.de>
44845         * nscd/nscd.c (go_background): Replaced with...
44846         (run_mode): ... this.
44847         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44848         (options): Add -F --foreground.
44849         (main): Implement it.
44850         (parse_opt): Parse it.
44852 2012-05-09  Andreas Jaeger  <aj@suse.de>
44854         [BZ #14083]
44855         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44856         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44857         -Wconversion warning.
44858         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44859         Likewise.
44861 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44863         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44864         == 0.
44865         (LC_ALL): Use macro-int-constant.
44866         (LC_COLLATE): Likewise.
44867         (LC_CTYPE): Likewise.
44868         (LC_MESSAGES): Likewise.
44869         (LC_MONETARY): Likewise.
44870         (LC_NUMERIC): Likewise.
44871         (LC_TIME): Likewise.
44872         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44873         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44875         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44876         Specify type.
44877         [C99-based standards] (float_t): Expect type.
44878         [C99-based standards] (double_t): Expect type.
44879         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44880         type.
44881         [C99-based standards] (HUGE_VALL): Likewise.
44882         [C99-based standards] (INFINITY): Likewise.
44883         [C99-based standards] (NAN): Likewise.
44884         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44885         [C99-based standards] (FP_NAN): Likewise.
44886         [C99-based standards] (FP_NORMAL): Likewise.
44887         [C99-based standards] (FP_SUBNORMAL): Likewise.
44888         [C99-based standards] (FP_ZERO): Likewise.
44889         [C99-based standards] (FP_FAST_FMA): Use
44890         optional-macro-int-constant.  Specify type.  Require == 1.
44891         [C99-based standards] (FP_FAST_FMAF): Likewise.
44892         [C99-based standards] (FP_FAST_FMAL): Likewise.
44893         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44894         [C99-based standards] (FP_ILOGBNAN): Likewise.
44895         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44896         Specify type.
44897         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44898         [C99-based standards] (math_errhandling): Specify type.
44899         [ISO99 || ISO11] (signgam): Do not allow.
44900         [non-C99-based standards] (copysignf): Do not allow.
44901         [non-C99-based standards] (exp2f): Likewise.
44902         [non-C99-based standards] (log2f): Likewise.
44903         [non-C99-based standards] (modff): Allow.
44904         [non-C99-based standards] (erff): Do not allow.
44905         [non-C99-based standards] (erfcf): Likewise.
44906         [non-C99-based standards] (gammaf): Likewise.
44907         [non-C99-based standards] (hypotf): Likewise.
44908         [non-C99-based standards] (j0f): Likewise.
44909         [non-C99-based standards] (j1f): Likewise.
44910         [non-C99-based standards] (jnf): Likewise.
44911         [non-C99-based standards] (lgammaf): Likewise.
44912         [non-C99-based standards] (tgammaf): Likewise.
44913         [non-C99-based standards] (y0f): Likewise.
44914         [non-C99-based standards] (y1f): Likewise.
44915         [non-C99-based standards] (ynf): Likewise.
44916         [non-C99-based standards] (isnanf): Likewise.
44917         [non-C99-based standards] (acoshf): Likewise.
44918         [non-C99-based standards] (asinhf): Likewise.
44919         [non-C99-based standards] (atanhf): Likewise.
44920         [non-C99-based standards] (cbrtf): Likewise.
44921         [non-C99-based standards] (expm1f): Likewise.
44922         [non-C99-based standards] (ilogbf): Likewise.
44923         [non-C99-based standards] (log1pf): Likewise.
44924         [non-C99-based standards] (logbf): Likewise.
44925         [non-C99-based standards] (nextafterf): Likewise.
44926         [non-C99-based standards] (remainderf): Likewise.
44927         [non-C99-based standards] (rintf): Likewise.
44928         [non-C99-based standards] (scalbf): Likewise.
44929         [non-C99-based standards] (copysignl): Likewise.
44930         [non-C99-based standards] (exp2l): Likewise.
44931         [non-C99-based standards] (log2l): Likewise.
44932         [non-C99-based standards] (modfl): Allow.
44933         [non-C99-based standards] (erfl): Do not allow.
44934         [non-C99-based standards] (erfcl): Likewise.
44935         [non-C99-based standards] (gammal): Likewise.
44936         [non-C99-based standards] (hypotl): Likewise.
44937         [non-C99-based standards] (j0l): Likewise.
44938         [non-C99-based standards] (j1l): Likewise.
44939         [non-C99-based standards] (jnl): Likewise.
44940         [non-C99-based standards] (lgammal): Likewise.
44941         [non-C99-based standards] (tgammal): Likewise.
44942         [non-C99-based standards] (y0l): Likewise.
44943         [non-C99-based standards] (y1l): Likewise.
44944         [non-C99-based standards] (ynl): Likewise.
44945         [non-C99-based standards] (isnanl): Likewise.
44946         [non-C99-based standards] (acoshl): Likewise.
44947         [non-C99-based standards] (asinhl): Likewise.
44948         [non-C99-based standards] (atanhl): Likewise.
44949         [non-C99-based standards] (cbrtl): Likewise.
44950         [non-C99-based standards] (expm1l): Likewise.
44951         [non-C99-based standards] (ilogbl): Likewise.
44952         [non-C99-based standards] (log1pl): Likewise.
44953         [non-C99-based standards] (logbl): Likewise.
44954         [non-C99-based standards] (nextafterl): Likewise.
44955         [non-C99-based standards] (remainderl): Likewise.
44956         [non-C99-based standards] (rintl): Likewise.
44957         [non-C99-based standards] (scalbl): Likewise.
44958         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44959         [non-C99-based standards] (FP_*): Do not allow.
44960         [C99-based standards] (FP_*): Change to
44961         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44962         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44963         allow.
44964         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44965         (SIG_ERR): Likewise.
44966         [X/Open-based standards] (SIG_HOLD): Likewise.
44967         (SIG_IGN): Likewise.
44968         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44969         positive value.
44970         (SIGFPE): Likewise.
44971         (SIGILL): Likewise.
44972         (SIGINT): Likewise.
44973         (SIGSEGV): Likewise.
44974         (SIGTER): Likewise.
44975         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44976         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44977         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44978         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44979         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44980         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44981         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44982         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44983         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44984         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44985         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44986         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44987         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44988         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44989         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44990         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44991         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44992         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44993         [X/Open-based standards] (SIGTRAP): Likewise.
44994         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44995         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44996         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44997         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44998         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44999         allow.
45001 2012-05-08  Ian Wienand  <ianw@vmware.com>
45003         [BZ #14080]
45004         * time/tzset.c (__tzset_parse_tz): Update default rules for
45005         daylight time changes in the Energy Policy Act of 2005.
45007 2012-05-09  Andreas Jaeger  <aj@suse.de>
45009         [BZ #13983]
45010         * elf/ldconfig.c (parse_conf): Change string to make clear that
45011         ldconfig only issued a warning if ld.so.conf does not exist.
45013 2012-05-08  David S. Miller  <davem@davemloft.net>
45015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45016         movxtod instead of popping the value on the stack.
45018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45020 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
45022         * config.h.in: Add HAVE_ARM_PCS_VFP.
45024 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
45026         [BZ #13979]
45027         * include/features.h: Warn if user requests __FORTIFY_SOURCE
45028         checking but the checks are disabled for any reason.
45030 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
45032         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45033         and ELF64_R_TYPE with ELFW(R_TYPE).
45035 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
45037         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45038         (ulimit): Likewise.
45040         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45041         (settimeofday): Likewise.
45043 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
45045         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
45046         a struct th_u2 inside the union, and move tu_block/tu_code into
45047         a new th_u3 union of tu_block/tu_code inside of that.  Move
45048         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
45049         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
45050         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45051         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45052         (th_stuff): Change to th_u1.tu_stuff.
45053         (th_data): Define.
45054         (th_msg): Change to th_u1.th_u2.tu_data.
45056 2012-05-07  David S. Miller  <davem@davemloft.net>
45058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45060         [BZ #14074]
45061         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45062         (SETUP_PIC_REG): Use it.
45063         (SETUP_PIC_REG_LEAF): Use it.
45065 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
45067         [BZ #13885]
45068         [BZ #13923]
45069         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45070         USE_AS_EXPM1L.
45071         (EXPL_FINITE): Likewise.
45072         (FLDLOG): Likewise.
45073         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45074         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45075         e_expl.S.
45076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45077         USE_AS_EXPM1L.
45078         (EXPL_FINITE): Likewise.
45079         (FLDLOG): Likewise.
45080         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45081         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45082         e_expl.S.
45083         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
45084         test of -max_value argument for long double.
45085         * sysdeps/i386/fpu/libm-test-ulps: Update.
45086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45088 2012-05-06  David S. Miller  <davem@davemloft.net>
45090         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45091         quad soft-float symbols whose references which are compiler
45092         generated.
45093         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45095 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
45097         [BZ #13884]
45098         [BZ #13914]
45099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45100         USE_AS_EXP10L.
45101         (EXPL_FINITE): Likewise.
45102         (FLDLOG): Likewise.
45103         (c0): Likewise.
45104         (c1): Likewise.
45105         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45106         Adjust comments for base varying.
45107         (__expl_finite): Change alias to EXPL_FINITE.
45108         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45109         e_expl.S.
45110         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45111         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45112         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45113         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45115         USE_AS_EXP10L.
45116         (EXPL_FINITE): Likewise.
45117         (FLDLOG): Likewise.
45118         (c0): Likewise.
45119         (c1): Likewise.
45120         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45121         Adjust comments for base varying.
45122         (__expl_finite): Change alias to EXPL_FINITE.
45123         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
45124         tests for bugs.
45125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45127         [BZ #14064]
45128         * math/libm-test.inc (check_float_internal): Correct ulp
45129         calculation for subnormal expected results.
45131 2012-05-06  Andreas Jaeger  <aj@suse.de>
45133         * Makeconfig (+math-flags): New, set to -frounding-math.
45134         (+cflags): Add +math-flags so that all of glibc gets compiled with
45135         it.
45137         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45139 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
45141         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45142         Disable one test.
45144         [BZ #13787]
45145         [BZ #13922]
45146         [BZ #14036]
45147         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45148         (__ieee754_expl): Allow for and saturate large arguments.
45149         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45150         (u_threshold): Likewise.
45151         (__exp): Call __ieee754_exp before checking for overflow and
45152         underflow.
45153         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45154         (u_threshold): Likewise.
45155         (__expf): Call __ieee754_expf before checking for overflow and
45156         underflow.
45157         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45158         (u_threshold): Likewise.
45159         (__expl): Call __ieee754_expl before checking for overflow and
45160         underflow.
45161         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45162         (__ieee754_expl): Allow for and saturate large arguments.
45163         * math/libm-test.inc (exp_test): Add another test.  Do not allow
45164         missing overflow exception on overflow.
45165         (expm1_test): Do not allow missing overflow exception on overflow.
45167         * sysdeps/i386/fpu/e_expl.c: Move to ...
45168         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
45169         rather than using inline asm.
45170         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45171         * sysdeps/x86_64/fpu/e_expl.S: Copy from
45172         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45174         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45175         (nice): Likewise.
45176         (poll): Likewise.
45177         (signal): Likewise.
45178         (time): Likewise.
45179         (times): Likewise.
45181 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45183         * sysdeps/unix/syscalls.list (adjtime): Add entry from
45184         sysdeps/unix/common/syscalls.list.
45185         (fchmod): Likewise.
45186         (fchown): Likewise.
45187         (ftruncate): Likewise.
45188         (getrusage): Likewise.
45189         (gettimeofday): Likewise.
45190         (setpgid): Likewise.
45191         (setregid): Likewise.
45192         (setreuid): Likewise.
45193         (sigaction): Likewise.
45194         (truncate): Likewise.
45195         (vhangup): Likewise.
45196         * sysdeps/unix/common/syscalls.list: Remove file.
45197         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45198         * sysdeps/unix/sysv/linux/Implies: Likewise.
45200 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45202         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45204         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45205         Moved to ...
45206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45207         Here.
45208         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45209         to ...
45210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45211         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45212         to ...
45213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45214         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45215         to ...
45216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45217         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45218         to ...
45219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45220         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45221         to ...
45222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45223         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45224         to ...
45225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45226         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45227         to ...
45228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45229         Here.
45230         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45231         to ...
45232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45233         Here.
45234         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45235         to ...
45236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45237         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45238         Moved to ...
45239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45240         Here.
45241         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45242         to ...
45243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45245 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45247         * sysdeps/unix/common/bits/dirent.h: Remove file.
45248         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45250         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45251         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45252         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45253         * sysdeps/unix/bsd/isatty.c: Likewise.
45254         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45255         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45256         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45258 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45260         [BZ #13563]
45261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45262         long double comparison inaccuracies.
45263         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45266 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45268         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45269         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45271 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45273         [BZ #14049]
45274         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45275         nonzero digits before rounding a hex value.
45276         * stdlib/tst-strtod.c (tests): Add another test.
45278 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45280         * sysdeps/s390/fpu/libm-test-ulps: Update.
45282 2012-05-03  Andreas Jaeger  <aj@suse.de>
45284         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45285         does not get optimized out.
45286         (malloc_opt_barrier): New.
45288 2012-05-03  Andreas Jaeger  <aj@suse.de>
45289             Roland McGrath  <roland@hack.frob.com>
45291         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45292         intermediate file deletion.
45293         (generated): Add .symlist files.
45295 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45297         [BZ #13775]
45298         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45299         Redirect under this condition.
45300         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45301         [__USE_GNU] (__dprintf_chk): Not under this condition.
45302         [__USE_GNU] (__vdprintf_chk): Likewise.
45303         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45304         under this condition.
45305         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45306         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45307         [__USE_XOPEN2K8] (vdprintf): Likewise.
45308         [__USE_GNU] (__dprintf_chk): Not under this condition.
45309         [__USE_GNU] (__vdprintf_chk): Likewise.
45310         [__USE_GNU] (dprintf): Likewise.
45311         [__USE_GNU] (vdprintf): Likewise.
45313 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45315         * elf/Makefile (common-generated): Set this instead of generated for
45316         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45317         $(all-built-dso)-derived lists.
45319 2012-05-03  Andreas Jaeger  <aj@suse.de>
45321         * sysdeps/i386/fpu/libm-test-ulps: Update.
45323         * FAQ: Removed.
45324         * FAQ.in: Likewise.
45325         * scripts/gen-FAQ.pl: Likewise.
45326         * manual/install.texi (Installation): Point to online location of
45327         FAQ.
45328         * Makefile (files-for-dist): Remove FAQ.
45329         (FAQ): Remove.
45331 2012-05-02  Allan McRae  <allan@archlinux.org>
45333         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45334         (LDFLAGS-reldepmod5.so): Likewise.
45335         (LDFLAGS-reldep6mod1.so): Likewise.
45336         (LDFLAGS-reldep6mod4.so): Likewise.
45337         (LDFLAGS-reldep8mod3.so): Likewise.
45338         (LDFLAGS-unload4mod1.so): Likewise.
45339         (LDFLAGS-unload4mod2.so): Likewise.
45340         (LDFLAGS-tst-initorder): Likewise.
45341         (LDFLAGS-tst-initordera2.so): Likewise.
45342         (LDFLAGS-tst-initordera3.so): Likewise.
45343         (LDFLAGS-tst-initordera4.so): Likewise.
45344         (LDFLAGS-tst-initorderb2.so): Likewise.
45345         (LDFLAGS-noload): Likewise.
45346         (LDFLAGS-next): Likewise.
45347         (LDFLAGS-order2mod1.so): Likewise.
45348         (LDFLAGS-order2mod2.so): Likewise.
45349         (LDFLAGS-tst-initorder2): Likewise.
45350         (LDFLAGS-tst-initorder2a.so): Likewise.
45351         (LDFLAGS-tst-initorder2b.so): Likewise.
45352         (LDFLAGS-tst-initorder2c.so): Likewise.
45353         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45355 2012-05-02  David S. Miller  <davem@davemloft.net>
45357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45359 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45361         [BZ #14055]
45362         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45364 2012-05-02  Andreas Jaeger  <aj@suse.de>
45366         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45367         since we manipulate rounding mode.
45368         (CPPFLAGS-test-idouble.c): Likewise.
45369         (CPPFLAGS-test-ifloat.c): Likewise.
45370         (CFLAGS-test-ldouble.c): Likewise.
45371         (CFLAGS-test-double.c): Likewise.
45372         (CFLAGS-test-float.c): Likewise.
45373         (CFLAGS-test-misc.c): Likewise.
45374         (CFLAGS-test-test-fenv.c): Likewise.
45376 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45378         [BZ #2550]
45379         [BZ #2570]
45380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45381         comparisons to determine direction to adjust input.
45383 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45385         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45386         output to the target.
45388         * scripts/localplt.awk: New file.
45389         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45390         (check-localplt-CFLAGS): Variable removed.
45391         ($(all-built-dso:=.jmprel)): New static pattern rule.
45392         (generated): Add those targets.
45393         (localplt-built-dso): New variable.
45394         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45396         * elf/check-localplt.c: File removed.
45398         * scripts/check-execstack.awk: New file.
45399         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45400         (check-execstack-CFLAGS): Variable removed.
45401         ($(objpfx)check-execstack.h): Target removed.
45402         ($(objpfx)execstack-default): New target.
45403         (generated): Add that instead of check-execstack.h.
45404         ($(all-built-dso:=.phdr)): New static pattern rule.
45405         (generated): Add those targets.
45406         * elf/check-execstack.c: File removed.
45408         * scripts/check-textrel.awk: New file.
45409         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45410         (check-textrel-CFLAGS): Variable removed.
45411         (all-built-dso): Use := to define.o
45412         ($(all-built-dso:=.dyn)): New static pattern rule.
45413         (generated): Add those targets.
45414         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45415         * config.make.in (READELF): New substituted variable.
45416         * elf/check-textrel.c: File removed.
45418 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45420         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45421         allow.
45422         * conform/data/ctype.h-data [C99-based standards] (isblank):
45423         Expect function.
45424         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45425         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45426         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45427         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45428         Specify type.  Require positive value.
45429         (EILSEQ): Likewise.
45430         (ERANGE): Likewise.
45431         [ISO || POSIX] (EILSEQ): Do not expect.
45432         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45433         Specify type.  Require positive value.
45434         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45435         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45436         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45437         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45438         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45439         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45440         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45441         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45442         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45443         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45444         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45445         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45446         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45447         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45448         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45449         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45450         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45451         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45452         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45453         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45454         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45455         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45456         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45457         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45458         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45459         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45460         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45461         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45462         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45463         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45464         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45465         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45466         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45467         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45468         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45469         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45470         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45471         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45472         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45473         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45474         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45475         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45476         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45477         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45478         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45479         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45480         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45481         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45482         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45483         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45484         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45485         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45486         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45487         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45488         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45489         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45490         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45491         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45492         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45493         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45494         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45495         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45496         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45497         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45498         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45499         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45500         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45501         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45502         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45503         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45504         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45505         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45506         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45507         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45508         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45509         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45510         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45511         Require >= 2.
45512         (FLT_ROUNDS): Expect as macro, not constant.
45513         (FLT_MANT_DIG): Use macro-int-constant.
45514         (DBL_MANT_DIG): Likewise.
45515         (LDBL_MANT_DIG): Likewise.
45516         (FLT_DIG): Likewise.
45517         (DBL_DIG): Likewise.
45518         (LDBL_DIG): Likewise.
45519         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45520         (DBL_MIN_EXP): Likewise.
45521         (LDBL_MIN_EXP): Likewise.
45522         (FLT_MAX_EXP): Use macro-int-constant.
45523         (DBL_MAX_EXP): Likewise.
45524         (LDBL_MAX_EXP): Likewise.
45525         (FLT_MAX_10_EXP): Likewise.
45526         (DBL_MAX_10_EXP): Likewise.
45527         (LDBL_MAX_10_EXP): Likewise.
45528         (FLT_MAX): Use macro-constant.
45529         (DBL_MAX): Likewise.
45530         (LDBL_MAX): Likewise.
45531         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45532         (DBL_EPSILON): Likewise.
45533         (LDBL_EPSILON): Likewise.
45534         (FLT_MIN): Likewise.
45535         (DBL_MIN): Likewise.
45536         (LDBL_MIN): Likewise.
45537         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45538         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45539         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45540         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45541         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45542         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45543         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45544         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45545         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45546         [ISO11] (FLT_TRUE_MIN): Likewise.
45547         [ISO11] (LDBL_TRUE_MIN): Likewise.
45548         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45549         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45550         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45551         (SCHAR_MAX): Likewise.
45552         (UCHAR_MAX): Likewise.
45553         (CHAR_MIN): Likewise.
45554         (CHAR_MAX): Likewise.
45555         (MB_LEN_MAX): Use macro-int-constant.
45556         (SHRT_MIN): Use macro-int-constant.  Specify type.
45557         (SHRT_MAX): Likewise.
45558         (USHRT_MAX): Likewise.
45559         (INT_MAX): Likewise.
45560         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45561         bound negative.
45562         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45563         bound with "U".
45564         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45565         bound with "L".
45566         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45567         bound negative.  Suffix upper bound with "L".
45568         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45569         bound with "UL".
45570         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45571         Specify type.
45572         [C99-based standards] (LLONG_MAX): Likewise.
45573         [C99-based standards] (ULLONG_MAX): Likewise.
45574         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45575         == 0.
45576         [ISO11] (max_align_t): Require type.
45577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45579         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45580         from $CFLAGS, without defining away __attribute__ calls.
45581         (checknamespace): Use $CFLAGS_namespace.
45583         * conform/conformtest.pl (@keywords): Only include C99 keywords
45584         for standards based on C99 or C11.
45586         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45587         Disable tests.
45588         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45589         UNIX98]: Likewise.
45591         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45592         usability of symbols in #if.
45594         * conform/conformtest.pl: If macro or constant types start
45595         "promoted:", expect the symbol to be of the following type
45596         promoted by the integer promotions.
45598         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45599         in one place.  Also handle "macro-constant".
45601         * conform/conformtest.pl: Only accept expected macro values with
45602         "==".  Parse all "macro" lines in one place.
45603         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45605         * conform/conformtest.pl: Handle braced types on "constant" lines
45606         instead of handling "typed-constant".
45607         * conform/data/signal.h-data: Use "constant" instead of
45608         "typed-constant".
45610         * conform/conformtest.pl: Handle "optional-" at start of lines in
45611         one place rather than duplicating several cases.  Handle each
45612         format of "macro" line with initial "optional-".
45614         * conform/conformtest.pl: Only accept expected constant or
45615         optional-constant values with "==".  Parse all "constant" lines in
45616         one place.  Parse all "optional-constant" lines in one place.
45617         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45618         * conform/data/fmtmsg.h-data: Likewise.
45619         * conform/data/netinet/in.h-data: Likewise.
45620         * conform/data/tar.h-data: Likewise.
45621         * conform/data/limits.h-data: Use "==" form on "constant" and
45622         "optional-constant" lines.
45624         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45625         Use -std=c99 for XOPEN2K.
45626         (@knownproblems): Remove.
45627         (newtoken): Don't check %isknown.
45629         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45630         Do not expect macro.
45631         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45632         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45633         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45634         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45635         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45636         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45637         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45638         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45639         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45640         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45641         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45642         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45643         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45644         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45645         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45646         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45647         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45648         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45649         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45650         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45651         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45652         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45653         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45654         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45655         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45656         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45657         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45658         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45659         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45660         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45661         [XPG3] (acosh): Likewise.
45662         [XPG3] (asinh): Likewise.
45663         [XPG3] (atanh): Likewise.
45664         [XPG3] (cbrt): Likewise.
45665         [XPG3] (expm1): Likewise.
45666         [XPG3] (ilogb): Likewise.
45667         [XPG3] (log1p): Likewise.
45668         [XPG3] (logb): Likewise.
45669         [XPG3] (nextafter): Likewise.
45670         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45671         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45672         [XPG3] (remainder): Likewise.
45673         [XPG3] (rint): Likewise.
45674         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45675         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45676         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45677         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45678         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45679         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45680         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45681         [UNIX98 || XOPEN2K] (scalb): Expect.
45682         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45683         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45684         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45685         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45686         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45687         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45688         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45689         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45690         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45691         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45692         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45693         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45694         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45695         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45696         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45697         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45698         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45699         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45700         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45701         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45702         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45703         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45704         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45705         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45706         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45707         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45708         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45709         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45710         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45711         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45712         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45713         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45714         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45715         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45716         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45717         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45718         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45719         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45720         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45721         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45722         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45723         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45724         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45725         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45726         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45727         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45728         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45729         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45730         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45731         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45732         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45733         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45734         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45735         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45736         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45737         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45738         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45739         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45740         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45741         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45742         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45743         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45744         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45745         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45746         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45747         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45748         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45749         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45750         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45751         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45752         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45753         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45754         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45755         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45756         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45757         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45758         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45759         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45760         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45761         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45762         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45763         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45764         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45765         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45766         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45767         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45768         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45769         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45770         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45771         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45772         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45773         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45774         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45775         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45776         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45777         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45778         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45779         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45780         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45781         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45782         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45783         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45784         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45785         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45786         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45787         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45788         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45789         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45790         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45791         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45792         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45793         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45794         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45795         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45796         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45797         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45798         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45799         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45800         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45801         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45802         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45803         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45804         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45805         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45806         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45807         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45808         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45809         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45810         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45811         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45812         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45813         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45814         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45815         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45816         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45817         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45818         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45820         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45821         _XOPEN_SOURCE_EXTENDED for XPG4.
45823         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45825         * Makeconfig (localtime): Remove variable.
45826         (inst_localtime-file): Likewise.
45828 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45831         Update.
45832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45833         Update.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45835         Update.
45836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45837         Update.
45838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45839         Update.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45841         Update.
45842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45843         Update.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45845         Update.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45847         Update.
45849 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45851         [BZ #2550]
45852         [BZ #2570]
45853         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45854         comparisons to determine direction to adjust input.
45855         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45856         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45857         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45858         Likewise.
45859         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45860         Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45862         Likewise.
45863         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45864         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45865         Likewise.
45866         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45867         Likewise.
45868         * math/libm-test.inc (nexttoward_test): Add more tests.
45870 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45872         [BZ #14040]
45873         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45874         in version GLIBC_2.1, not GLIBC_2.0.
45875         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45876         Likewise.
45878 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45880         [BZ #13942]
45881         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45882         (1 - x) * (1 + x).
45883         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45884         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45885         * math/libm-test.inc (acos_test): Add more tests.
45886         (asin_test): Likewise.
45887         * sysdeps/i386/fpu/libm-test-ulps: Update.
45888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45890         [BZ #14034]
45891         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45892         of square root.
45893         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45894         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45895         * math/libm-test.inc (acos_test_tonearest): New function.
45896         (acos_test_towardzero): Likewise.
45897         (acos_test_downward): Likewise.
45898         (acos_test_upward): Likewise.
45899         (asin_test_tonearest): Likewise.
45900         (asin_test_towardzero): Likewise.
45901         (asin_test_downward): Likewise.
45902         (asin_test_upward): Likewise.
45903         (main): Call the new functions.
45904         * sysdeps/i386/fpu/libm-test-ulps: Update.
45905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45907         [BZ #13884]
45908         [BZ #13924]
45909         * math/e_exp10.c: Include <float.h>.
45910         (__ieee754_exp10): Handle underflow here rather than multiplying
45911         large negative argument by M_LN10.
45912         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45913         of __ieee754_expf.
45914         * math/e_exp10l.c: Include <float.h>.
45915         (__ieee754_exp10l): Handle underflow here rather than multiplying
45916         large negative argument by M_LN10l.
45917         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45918         spurious overflow exception on underflow.
45920 2012-04-29  Marek Polacek  <polacek@redhat.com>
45922         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45923         (__fortify_function): New macro.
45924         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45925         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45926         __extern_always_inline.
45927         * libio/bits/stdio2.h: Likewise.
45928         * libio/bits/stdio.h: Likewise.
45929         * string/string.h: Likewise.
45930         * string/bits/string3.h: Likewise.
45931         * include/stdio.h: Likewise.
45932         * stdlib/bits/stdlib.h: Likewise.
45933         * stdlib/stdlib.h: Likewise.
45934         * rt/bits/mqueue2.h: Likewise.
45935         * rt/mqueue.h: Likewise.
45936         * posix/bits/unistd.h: Likewise.
45937         * posix/unistd.h: Likewise.
45938         * io/bits/poll2.h: Likewise.
45939         * io/bits/fcntl2.h: Likewise.
45940         * io/fcntl.h: Likewise.
45941         * io/sys/poll.h: Likewise.
45942         * misc/bits/syslog.h: Likewise.
45943         * misc/bits/syslog-ldbl.h: Likewise.
45944         * misc/sys/syslog.h: Likewise.
45945         * socket/bits/socket2.h: Likewise.
45946         * socket/sys/socket.h: Likewise.
45947         * debug/tst-chk1.c: Likewise.
45948         * wcsmbs/bits/wchar2.h: Likewise.
45949         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45950         * wcsmbs/wchar.h: Likewise.
45952 2012-04-29  Andreas Jaeger  <aj@suse.de>
45954         * Makerules (tests): Remove enable-check-abi protection.
45955         (check-abi-warn): Remove.
45956         (check-abi-%): Remove check-abi-warn usage.
45958         * configure.in: Remove check-abi configure option.
45959         * configure: Regenerated.
45960         * config.make.in (enable-check-abi): Remove.
45962 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45964         [BZ #14033]
45965         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45966         double functions to double *_finite functions.
45968         [BZ #13941]
45969         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45970         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45971         LDBL_MIN_EXP.
45972         * stdio-common/Makefile (tests): Add tst-sprintf3.
45973         * stdio-common/tst-sprintf3.c: New file.
45975         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45976         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45978 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45980         * conform/conformtest.pl: Remove duplicate typed-constant
45981         handling.
45983 2012-04-28  David S. Miller  <davem@davemloft.net>
45985         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45986         (check-abi-%): Remove AWK script prerequisite and explicit
45987         abilist directory.
45988         (check-abi): Rewrite to just diff the symlist with the abilist.
45989         (config-tls, config-abi-config): Delete, no longer used.
45990         (update-abi-%): Remove AWK script and explicit abilist directory.
45991         (update-abi): Rewrite to simply compare and conditionally copy the
45992         symlist and the sysdep abilist file.  Remove update-abi-config
45993         checks.
45994         * abilist/ld.abilist: Remove.
45995         * abilist/libBrokenLocale.abilist: Remove.
45996         * abilist/libanl.abilist: Remove.
45997         * abilist/libcrypt.abilist: Remove.
45998         * abilist/libdl.abilist: Remove.
45999         * abilist/librt.abilist: Remove.
46000         * abilist/libthread_db.abilist: Remove.
46001         * abilist/libutil.abilist: Remove.
46002         * scripts/extract-abilist.awk: Remove.
46003         * scripts/merge-abilist.awk: Remove.
46004         * sysdeps/generic/libcidn.abilist: New file.
46005         * sysdeps/generic/libnss_compat.abilist: New file.
46006         * sysdeps/generic/libnss_db.abilist: New file.
46007         * sysdeps/generic/libnss_dns.abilist: New file.
46008         * sysdeps/generic/libnss_files.abilist: New file.
46009         * sysdeps/generic/libnss_hesiod.abilist: New file.
46010         * sysdeps/generic/libnss_nis.abilist: New file.
46011         * sysdeps/generic/libnss_nisplus.abilist: New file.
46012         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46013         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46014         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46015         file.
46016         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46017         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46018         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46019         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46020         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46021         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46022         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46023         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46024         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46025         file.
46026         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46027         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46028         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46029         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46030         file.
46031         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46032         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46033         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46034         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46035         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46036         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46037         file.
46038         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46039         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46040         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46041         file.
46042         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46044         New file.
46045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46046         New file.
46047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46048         New file.
46049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46050         New file.
46051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46052         New file.
46053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46054         New file.
46055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46056         New file.
46057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46058         New file.
46059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46060         New file.
46061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46062         New file.
46063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46064         New file.
46065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46066         New file.
46067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46068         New file.
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46070         file.
46071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46072         New file.
46073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46074         New file.
46075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46076         file.
46077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46078         New file.
46079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46080         New file.
46081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46082         file.
46083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46084         New file.
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46086         New file.
46087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46088         New file.
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46090         New file.
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46092         New file.
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46094         New file.
46095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46097         file.
46098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46099         New file.
46100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46101         file.
46102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46103         file.
46104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46105         file.
46106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46107         file.
46108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46109         file.
46110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46111         New file.
46112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46113         file.
46114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46115         file.
46116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46117         New file.
46118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46119         file.
46120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46122         file.
46123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46124         New file.
46125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46126         file.
46127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46128         file.
46129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46130         file.
46131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46132         file.
46133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46134         file.
46135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46136         New file.
46137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46138         file.
46139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46140         file.
46141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46142         New file.
46143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46144         file.
46145         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46146         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46147         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46148         file.
46149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46150         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46151         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46152         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46153         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46154         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46155         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46156         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46157         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46158         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46161         file.
46162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46163         New file.
46164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46165         file.
46166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46167         file.
46168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46169         file.
46170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46171         file.
46172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46173         file.
46174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46175         New file.
46176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46177         New file.
46178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46179         file.
46180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46181         New file.
46182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46183         file.
46184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46186         file.
46187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46188         New file.
46189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46190         file.
46191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46192         file.
46193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46194         file.
46195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46196         file.
46197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46198         file.
46199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46200         New file.
46201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46202         New file.
46203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46204         file.
46205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46206         New file.
46207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46208         file.
46210 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46212         * conform/conformtest.pl: Fix typo in handling typed-constant from
46213         allow-header.
46215 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46217         * README: Cut down references to pre-2.6 Linux kernels and
46218         Linuxthreads.  Update lists of configurations in libc and ports
46219         and sort alphabetically.  Say "or newer" with Linux kernel version
46220         requirements.
46222         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46224 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46226         [BZ #887]
46227         * math/libm-test.inc (logb_test_downward): New test to expose
46228         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46229         rounding mode.
46231 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46233         [BZ #14027]
46234         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46235         to be done.
46236         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46237         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46239 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46241         * sysdeps/unix/i386/brk.S: Remove file.
46242         * sysdeps/unix/i386/dl-brk.S: Likewise.
46243         * sysdeps/unix/i386/pipe.S: Likewise.
46244         * sysdeps/unix/i386/sigreturn.S: Likewise.
46245         * sysdeps/unix/i386/syscall.S: Likewise.
46246         * sysdeps/unix/i386/vfork.S: Likewise.
46247         * sysdeps/unix/i386/wait.S: Likewise.
46249         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46250         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46252         * configure.in (arm*-none*): Do not allow without
46253         --enable-hacker-mode.
46254         (netbsd*): Remove case setting base_os.
46255         (386bsd*): Likewise.
46256         (freebsd*): Likewise.
46257         (bsdi*): Likewise.
46258         (osf*): Likewise.
46259         (sunos*): Likewise.
46260         (ultrix*): Likewise.
46261         (newsos*): Likewise.
46262         (dynix*): Likewise.
46263         (*bsd*): Likewise.
46264         (sysv*): Likewise.
46265         (isc*): Likewise.
46266         (esix*): Likewise.
46267         (sco*): Likewise.
46268         (minix*): Likewise.
46269         (irix4*): Likewise.
46270         (irix6*): Likewise.
46271         (solaris[2-9]*): Likewise.
46272         (none): Likewise.
46273         * configure: Regenerated.
46275 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46277         [BZ #11521]
46278         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46279         overflow or cancellation in calculating denominator.
46280         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46281         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46282         down expression to avoid unexpected rounding in newer GCCs.
46283         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46285 2012-04-26  David S. Miller  <davem@davemloft.net>
46287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46288         long-double compat symbols.
46289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46303 2012-04-25  David S. Miller  <davem@davemloft.net>
46305         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46306         HWCAP_* values only after the memory barriers have been defined.
46307         (atomic_full_barrier): Define.
46308         (atomic_read_barrier): Define.
46309         (atomic_write_barrier): Define.
46311 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46313         * shlib-versions: Add libgcc_s version information.
46314         * sysdeps/generic/libgcc_s.h: Remove.
46315         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46316         libgcc_s.h.
46317         * sysdeps/gnu/unwind-resume.c: Likewise.
46318         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46320 2012-04-25  David S. Miller  <davem@davemloft.net>
46322         * sysdeps/unix/sparc/brk.S: Delete.
46323         * sysdeps/unix/sparc/dl-brk.S: Delete.
46324         * sysdeps/unix/sparc/pipe.S: Delete.
46325         * sysdeps/unix/sparc/sysdep.S: Delete.
46326         * sysdeps/unix/sparc/sysdep.h: Delete.
46327         * sysdeps/unix/sparc/vfork.S: Delete.
46328         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46329         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46330         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46331         (ret_ERRVAL, r0, r1, MOVE): Define.
46332         (JUMPTARGET): Remove.
46333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46334         sysdeps/unix/sparc/sysdep.h
46335         (ENTRY, END): Remove.
46336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46338 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46340         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46341         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46342         -DIS_IN_build.
46344         * timezone/README: Update upstream location and email address for
46345         tzcode and tzdata.
46346         * timezone/zdump.c: Update from tzcode 2012b.
46347         * timezone/zic.c: Likewise.
46349         * configure.in (libc_cv_as_needed): Remove test.
46350         * configure: Regenerated.
46351         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46352         conditional definition.
46353         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46354         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46355         * config.make.in (have-as-needed): Remove variable.
46357 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46358             Paul Pluzhnikov  <ppluzhnikov@google.com>
46360         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46361         strings correctly.
46363 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46365         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46366         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46367         * sysdeps/sh/strlen.S: Likewise.
46369 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46371         * sysdeps/unix/fork.S: Remove file.
46372         * sysdeps/unix/i386/fork.S: Likewise.
46373         * sysdeps/unix/sparc/fork.S: Likewise.
46375         * sysdeps/unix/system.c: Remove file.
46376         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46378         * sysdeps/unix/getegid.S: Remove file.
46379         * sysdeps/unix/geteuid.S: Likewise.
46381 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46383         * scripts/check-localplt.awk: New file.
46384         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46385         of diff.
46386         * scripts/data/localplt-generic.data: Add a comment.
46388         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46389         NODE when __dir_mkfile failed.
46390         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46391         Reported by Ludovic Courtès <ludo@gnu.org>.
46393 2012-04-24  Andreas Jaeger  <aj@suse.de>
46395         * Makerules (common-clean): Also remove gen-as-const-headers
46396         files.
46398 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46400         * Makerules (native-compile): Do not change working directory for
46401         build.  Use $(OUTPUT_OPTION) in command.
46402         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46404 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46406         [BZ #13886]
46407         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46408         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46409         * math/libm-test.inc (floor_test): Add more tests.
46410         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46412 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46414         * sysdeps/unix/getdents.c: Remove file.
46415         * sysdeps/unix/sysv/getdents.c: Likewise.
46416         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46418         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46419         sysdeps/unix/mman/syscalls.list.
46420         (mmap): Likewise.
46421         (mprotect): Likewise.
46422         (msync): Likewise.
46423         (munmap): Likewise.
46424         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46425         * sysdeps/unix/mman/syscalls.list: Remove.
46426         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46428         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46429         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46430         * configure: Regenerated.
46431         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46432         $(libgcc_s_suffix).
46433         * config.make.in (libgcc_s_suffix): Remove variable.
46435 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46437         * sysdeps/unix/sysv/gethostname.c: Move to ...
46438         * sysdeps/posix/gethostname.c: ... here.
46440         * sysdeps/unix/execve.S: Remove file.
46442         * sysdeps/unix/_exit.S: Remove file.
46444 2012-04-23  Andreas Jaeger  <aj@suse.de>
46446         [BZ #13739]
46447         * manual/Makefile: Remove make dist support, there's no
46448         need for a stand-alone documentation tar ball.
46449         (TEXI2DVI): Define always, it's not in Makeconfig.
46450         (dist): Removed.
46451         (tar-it): Removed.
46452         (edition): Removed.
46453         (glibc-doc-$(edition).tar): Removed
46454         (%.Z): Removed.
46455         (%.gz): Removed.
46456         (%.uu): Removed.
46457         (ETAGS): Remove, it's in Makeconfig.
46458         (move-if-change): Remove, it's in Makeconfig.
46460 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46462         [BZ #13970]
46463         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46464         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46465         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46466         (strtod_l, strtof_l, strtold_l): Remove __wur.
46467         It is not necessarily an error to ignore strtol's return value.
46468         One can reliably look at the stored endptr to decide whether
46469         the number had valid syntax.
46471 2012-04-21  Andreas Jaeger  <aj@suse.de>
46473         [BZ #13739]
46474         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46476 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46478         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46479         * sysdeps/unix/sysv/Versions: Remove file.
46481 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46483         [BZ #13927]
46484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46486 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46488         [BZ #7064]
46489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46490         version from __vm86.
46492 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46494         * sysdeps/unix/common/lxstat.c: Remove file.
46495         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46497         * sysdeps/unix/sysv/Makefile: Remove file.
46499         * sysdeps/unix/sysv/direct.h: Remove file.
46501         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46502         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46503         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46504         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46505         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46506         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46507         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46509         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46511         * sysdeps/unix/xmknod.c: Remove file.
46512         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46514         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46516         * sysdeps/unix/sysv/i386/time.S: Remove file.
46518         * sysdeps/unix/fxstat.c: Remove file.
46519         * sysdeps/unix/xstat.c: Likewise.
46520         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46522         * sysdeps/unix/sysv/sigaction.c: Remove file.
46524         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46525         (sysdep_headers): Remove variable.
46526         [termio.h not in sysdep_headers] (generated): Likewise.
46527         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46528         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46529         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46530         * sysdeps/unix/sysv/tcflow.c: Likewise.
46531         * sysdeps/unix/sysv/tcflush.c: Likewise.
46532         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46533         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46534         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46535         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46536         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46538         * sysdeps/unix/siglist.c: Remove file.
46540         * sysdeps/unix/getppid.S: Remove file.
46542         * sysdeps/unix/mkdir.c: Remove file.
46543         * sysdeps/unix/rmdir.c: Likewise.
46545 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46547         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46548         ERR_MAX value.
46549         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46550         errlist-compat value.
46552 2012-04-18  David S. Miller  <davem@davemloft.net>
46554         * sysdeps/generic/memcopy.h (reg_char): Delete.
46555         * debug/strcat_chk.c: Use char, not reg_char.
46556         * debug/strcpy_chk.c: Likewise.
46557         * debug/strncat_chk.c: Likewise.
46558         * debug/strncpy_chk.c: Likewise.
46559         * string/memchr.c: Likewise.
46560         * string/memrchr.c: Likewise.
46561         * string/rawmemchr.c: Likewise.
46562         * string/strcat.c: Likewise.
46563         * string/strchr.c: Likewise.
46564         * string/strchrnul.c: Likewise.
46565         * string/strcmp.c: Likewise.
46566         * string/strcpy.c: Likewise.
46567         * string/strncat.c: Likewise.
46568         * string/strncmp.c: Likewise.
46569         * string/strncpy.c: Likewise.
46571 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46573         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46574         __builtin_memcopy is called when src and dest ranges are known to not
46575         overlap.
46577 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46579         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46580         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46581         fwd_align_merge macro call.
46582         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46583         bwd_align_merge macro call.
46584         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46586 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46588         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46589         bwd_align_merge macros.
46590         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46591         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46592         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46594 2012-04-18  David S. Miller  <davem@davemloft.net>
46596         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46598 2012-04-18  Andreas Jaeger  <aj@suse.de>
46600         [BZ# 6794]
46601         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46602         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46603         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46605         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46606         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46607         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46609         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46610         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46611         Adjust for changed ldbl-128 files.
46613         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46614         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46615         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46617 2012-04-17  David S. Miller  <davem@davemloft.net>
46619         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46621 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46623         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46624         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46625         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46626         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46627         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46628         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46630 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46632         [BZ #6794]
46633         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46634         * math/libm-test.inc: Add ilogb errno and exception tests.
46635         * math/w_ilogb.c: New file: ilogb wrapper.
46636         * math/w_ilogbf.c: New file: ilogbf wrapper.
46637         * math/w_ilogbl.c: New file: ilogbl wrapper.
46638         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46639         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46640         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46641         exception being thrown with 0.0 as argument.
46642         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46643         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46644         exception being thrown with 0.0 as argument.
46645         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46646         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46647         exception being thrown with 0.0 as argument.
46648         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46649         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46650         exception being thrown with 0.0 as argument.
46651         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46652         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46654         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46655         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46656         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46657         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46658         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46659         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46661 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46663         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46664         with altivec.
46666 2012-04-16  Marek Polacek  <polacek@redhat.com>
46668         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46670 2012-04-16  Marek Polacek  <polacek@redhat.com>
46672         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46673         operands of fdivp instruction.
46675 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46677         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46678         * elf/tst-auditmod3b.c: Likewise.
46679         * elf/tst-auditmod4b.c: Likewise.
46680         * elf/tst-auditmod5b.c: Likewise.
46681         * elf/tst-auditmod6b.c: Likewise.
46682         * elf/tst-auditmod6c.c: Likewise.
46683         * elf/tst-auditmod7b.c: Likewise.
46684         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46685         * sysdeps/x86_64/preconfigure.in: Likewise.
46686         * sysdeps/x86_64/preconfigure: Regenerated.
46688 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46690         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46691         __ILP32__.
46693 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46696         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46698 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46700         [BZ #13973]
46701         * locale/iso-639.def: Fix gl language name. Spotted by
46702         Yaron Shahrabani.
46704 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46706         [BZ #2074]
46707         * libio/libio.h (__io_write_fn): Update comment.
46709 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46711         [BZ #2074]
46712         * stdio.texi (Hook Functions): The user provided writer function
46713         is not allowed to return -1.
46715 2012-04-11  David S. Miller  <davem@davemloft.net>
46717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46719 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46721         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46722         Add a leading slash to rtkaio.
46724 2012-04-11  Jim Meyering  <meyering@redhat.com>
46726         [BZ #11959]
46727         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46728         It is not necessarily an error to ignore fwrite's return
46729         value.  One can reliably use ferror to test for errors after
46730         the fact.
46732 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46734         * bits/types.h (__snseconds_t): New type.
46735         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46737         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46739         (__SNSECONDS_T_TYPE): Likewise.
46740         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46741         (__SNSECONDS_T_TYPE): Likewise.
46742         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46743         (__SNSECONDS_T_TYPE): Likewise.
46745 2012-04-10  Andreas Jaeger  <aj@suse.de>
46747         [BZ #2636]
46748         * manual/time.texi (Processor Time): Return type of times is
46749         elapsed real time since an arbitrary point in the past.
46750         (CPU Time): Move CLK_TCK from here...
46751         (Processor Time): ...to here.  Correct description.
46752         * manual/conf.texi (Constants for Sysconf): Correct description of
46753         _SC_CLK_TCK.
46755 2012-04-10  David S. Miller  <davem@davemloft.net>
46757         [BZ #13967]
46758         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46759         where the is a gap between DT_REL(A) and DT_JMPREL.
46761 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46763         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46764         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46765         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46767 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46769         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46770         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46771         (dl_main): Handle --inhibit-cache.
46772         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46773         _dl_inhibit_cache.
46774         * elf/dl-load.c (_dl_map_object): Use it.
46775         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46777 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46779         [BZ #13872]
46780         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46781         (__ieee754_powl): Saturate large exponents rather than testing for
46782         overflow of y*log2(x).
46783         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46784         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46785         exceptions.
46787         [BZ #11521]
46788         * math/s_ctan.c: Include <float.h>.
46789         (__ctan): Avoid internal overflow or cancellation in calculating
46790         denominator.
46791         * math/s_ctanf.c: Likewise.
46792         * math/s_ctanl.c: Likewise.
46793         * math/s_ctanh.c: Likewise.
46794         * math/s_ctanhf.c: Likewise.
46795         * math/s_ctanhl.c: Likewise.
46796         * math/libm-test.inc (ctan_test): Add more tests.
46797         (ctanh_test): Likewise.
46798         * sysdeps/i386/fpu/libm-test-ulps: Update.
46799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46801 2012-04-09  Andreas Jaeger  <aj@suse.de>
46803         [BZ #6894]
46804         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46805         is an optional BSD extension.
46807         [BZ #10254]
46808         * manual/stdio.texi (Opening Streams): Document additional fopen
46809         parameters.
46811 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46813         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46814         %eax without telling the compiler.
46816 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46818         [BZ # 13963]
46819         * manual/install.texi: Use sourceware.org.
46821 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46823         [BZ #13873]
46824         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46825         (__ieee754_pow): Generate overflow and underflow using huge*huge
46826         and tiny*tiny rather than just returning constant infinity or zero
46827         for large exponents.
46828         * math/libm-test.inc (pow_test): Require overflow exceptions for
46829         applicable cases of large exponents.
46831         [BZ #706]
46832         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46833         (__ieee754_pow): Use iterative multiplication algorithm only for
46834         integer exponents with absolute value below 1024.  Check for odd
46835         integer exponents when using algorithm for real exponents.
46836         * math/libm-test.inc (pow_test): Add more tests.
46837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46839 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46841         [BZ #13705]
46842         * math/libm-test.inc (exp_test): Do not allow overflow exception
46843         on underflow test.
46845 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46847         [BZ #13705]
46848         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46849         instead of __kernel_standard_f.
46851 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46853         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46854         * sysdeps/x86_64/memset_chk.S: Likewise.
46856 2012-04-08  Andreas Jaeger  <aj@suse.de>
46858         [BZ #10153]
46859         * manual/startup.texi (Environment Access): Describe return value
46860         for putenv and setenv.
46862         [BZ #6895]
46863         * manual/filesys.texi (Directory Entries): Add description for
46864         DT_LNK.
46866         [BZ #6890]
46867         * manual/filesys.texi (Directory Entries): Clarify that it's file
46868         system not operating system in the description of DT_UNKNOWN.
46870         [BZ #6578]
46871         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46873 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46875         [BZ #6649]
46876         * manual/llio.texi (Opening and Closing Files): Add cross
46877         reference to explain mode argument.
46879 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46881         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46882         * sysdeps/x86_64/memset_chk.S: Likewise.
46884 2012-04-07  David S. Miller  <davem@davemloft.net>
46886         * elf/elf.h (R_SPARC_WDISP10): Define.
46887         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46888         R_SPARC_SIZE32.
46889         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46890         R_SPARC_SIZE64 and R_SPARC_H34.
46892 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46894         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46895         conditions and remove no longer applicable assertion.
46897 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46899         * bits/byteswap.h: Include <features.h>.
46900         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46901         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46903 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46905         * bits/byteswap.h (__bswap_16): Removed.
46906         Include <bits/byteswap-16.h> to get __bswap_16.
46907         * sysdeps/i386/bits/byteswap.h: Likewise.
46908         * sysdeps/s390/bits/byteswap.h: Likewise.
46909         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46910         * bits/byteswap-16.h: New file.
46911         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46912         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46913         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46914         * string/Makefile (headers): Add bits/byteswap-16.h.
46916 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46918         [BZ #13895]
46919         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46920         extra indirection.
46921         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46922         * nss/tst-nss-static.c: New.
46924 2012-04-06  Robert Millan  <rmh@gnu.org>
46926         [BZ #6486]
46927         * manual/llio.texi (File Position Primitive): lseek
46928         refers to WHENCE when it really means OFFSET.
46930 2012-04-06  Andreas Jaeger  <aj@suse.de>
46932         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46933         strncmp declarations.
46935         * abilist/libc.abilist: Add __poll and __ppoll.
46937 2012-04-05  David S. Miller  <davem@davemloft.net>
46939         * scripts/check-local-headers.sh: Accept a host triplet in the
46940         path matched by the exclude regexp.
46942         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46943         definition.
46944         * sysdeps/powerpc/powerpc32/dl-machine.h
46945         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46946         * sysdeps/s390/s390-32/dl-machine.h
46947         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46948         * sysdeps/sparc/sparc32/dl-machine.h
46949         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46950         * sysdeps/sparc/sparc64/dl-machine.h
46951         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46953         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46954         lazy binding.
46955         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46956         undefined symbol errors.
46958         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46959         DT_NEEDED entries.
46961 2012-04-05  Michael Matz  <matz@suse.de>
46963         [BZ #13592]
46964         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46966 2012-04-05  Andreas Jaeger  <aj@suse.de>
46968         [BZ #13908]
46969         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46970         comment.
46972 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46974         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46975         which ROUND is no valid rounding mode.
46977 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46979         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46980         read again.
46981         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46983 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46985         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46986         an exception using FPU order intentionally.
46988 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46990         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46991         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46992         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46993         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46995 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46997         [BZ #12340]
46998         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46999         EINVAL when BUFLEN is too smal.
47001 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47003         [BZ #13553]
47004         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47005         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47007 2012-04-03  Andreas Jaeger  <aj@suse.de>
47009         [BZ #13938]
47010         * manual/setjmp.texi (System V contexts): Fix sentence.
47012         [BZ #13926]
47013         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47014         New macro for this case.
47015         [!__GNUC__] (__bswap_64): New inline function for this case.
47016         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47017         * bits/byteswap.h: Likewise.
47018         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47019         ull, guard with __GLIBC_HAVE_LONG_LONG.
47021         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47022         __GLIBC_HAVE_LONG_LONG.
47024         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47025         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47027 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47029         [BZ #13691]
47030         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47031         inptr and inend, rather than using last_ch.
47033 2012-04-02  David S. Miller  <davem@davemloft.net>
47035         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47036         * stdio-common/printf-parse.h (read_int): Change return type to
47037         'int', return -1 on INT_MAX overflow.
47038         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47039         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
47040         overflows INT_MAX.  Check for overflow of in-format-string precision
47041         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
47042         SIZE_MAX not INT_MAX for integer overflow test.
47043         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47044         skip the construct in the format string but do not record anything.
47045         * stdio-common/bug22.c: Adjust to test both width/prevision
47046         INT_MAX overflow as well as total length INT_MAX overflow.  Check
47047         explicitly for proper errno values.
47049 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47051         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47052         CHAR_MAX.
47053         * string/test-strcmp.c [! WIDE]: Likewise.
47054         * time/tst-mktime2.c: Likewise for INT_MAX.
47055         * string/test-string.h: #include <sys/param.h> for MIN.
47057         * csu/init-first.c (__libc_init_first): Call __ctype_init.
47058         * sysdeps/i386/init-first.c (init): Likewise.
47059         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47060         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47061         * sysdeps/sh/init-first.c (init): Likewise.
47063 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
47065         * po/ru.po: Update from translation team.
47066         * po/vi.po: Likewise.
47068 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47070         * resolv/nss_dns/dns-host.c: Merge copyright years.
47072 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47074         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47075         Optimize memcpy with prefetch if
47076         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
47077         src, dst pointers have unequal 16 byte alignments.
47079 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47081         [BZ #13928]
47082         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47083         from a CNAME entry and return the minimum ttl for the query.
47084         (gaih_getanswer_slice): Likewise.
47086 2012-03-30  Jeff Law  <law@redhat.com>
47088         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47089         due to long keys.
47090         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47091         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47093         * resolv/nss_dns/dns-host.c: Update copyright year.
47095 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
47097         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47098         requests to save a system call.  Fix check that all bytes are sent.
47100         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47101         comments for sendmmsg.
47103 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47105         [BZ #13691]
47106         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47107         with only 1 character between 0x0041 and 0x01b0.
47108         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47109         * wcsmbs/tst-mbsnrtowcs.c: New file.
47111 2012-03-29  David S. Miller  <davem@davemloft.net>
47113         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47114         small copies by hand.
47116 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47118         [BZ #13761]
47119         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47120         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47121         group memberships.
47123 2012-03-28  David S. Miller  <davem@davemloft.net>
47125         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47126         that branches into memcpy.
47127         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47130         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47131         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47132         bits.
47133         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47134         implementation too.
47135         * sysdeps/sparc/mempcpy.S: New file.
47137         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47138         the IFUNC routine in the libc case.
47139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47141         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47142         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47143         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47144         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47145         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47146         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47147         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47148         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47150         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47151         loop to 256 bytes instead of 64 bytes and fix test signedness.
47153         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47154         * sysdeps/sparc/sparc32/Makefile: rather than here...
47155         * sysdeps/sparc/sparc64/Makefile: and here.
47157 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
47159         * malloc/mallocbug.c: Avoid warnings about unused variables.
47161 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47163         [BZ #13760]
47164         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47165         in the right place. Discard and retry query if response is
47166         larger than input buffer size.
47168 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
47170         [BZ #369]
47171         [BZ #2678]
47172         [BZ #3866]
47173         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47174         x for large integer exponent.
47175         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47176         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
47177         sign of result as needed afterwards.
47178         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47179         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47180         result for underflowing pow the same as for overflow.
47181         (__kernel_standard_l): Handle powl overflow and underflow here
47182         rather than calling __kernel_standard.
47183         * math/libm-test.inc (pow_test): Add more tests.
47185         [BZ #3868]
47186         [BZ #13879]
47187         [BZ #13910]
47188         [BZ #13911]
47189         [BZ #13912]
47190         [BZ #13913]
47191         [BZ #13915]
47192         [BZ #13916]
47193         [BZ #13917]
47194         [BZ #13918]
47195         [BZ #13919]
47196         [BZ #13920]
47197         [BZ #13921]
47198         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47199         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47200         (__kernel_standard_l): New function.
47201         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47202         __kernel_standard.
47203         * math/w_acosl.c (__acosl): Likewise.
47204         * math/w_asinl.c (__asinl): Likewise.
47205         * math/w_atan2l.c (__atan2l): Likewise.
47206         * math/w_atanhl.c (__atanhl): Likewise.
47207         * math/w_coshl.c (__coshl): Likewise.
47208         * math/w_exp10l.c (__exp10l): Likewise.
47209         * math/w_exp2l.c (__exp2l): Likewise.
47210         * math/w_fmodl.c (__fmodl): Likewise.
47211         * math/w_hypotl.c (__hypotl): Likewise.
47212         * math/w_j0l.c (__j0l, __y0l): Likewise.
47213         * math/w_j1l.c (__j1l, __y1l): Likewise.
47214         * math/w_jnl.c (__jnl, __ynl): Likewise.
47215         * math/w_lgammal.c (__lgammal): Likewise.
47216         * math/w_log10l.c (__log10l): Likewise.
47217         * math/w_log2l.c (__log2l): Likewise.
47218         * math/w_logl.c (__logl): Likewise.
47219         * math/w_powl.c (__powl): Likewise.
47220         * math/w_remainderl.c (__remainderl): Likewise.
47221         * math/w_scalbl.c (sysv_scalbl): Likewise.
47222         * math/w_sinhl.c (__sinhl): Likewise.
47223         * math/w_sqrtl.c (__sqrtl): Likewise.
47224         * math/w_tgammal.c (__tgammal): Likewise.
47225         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47226         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47227         * math/libm-test.inc (acos_test): Add more tests.
47228         (acosh_test): Likewise.
47229         (asin_test): Likewise.
47230         (atanh_test): Likewise.
47231         (exp_test): Likewise.
47232         (exp10_test): Likewise.
47233         (exp2_test): Likewise.
47234         (expm1_test): Likewise.
47235         (lgamma_test): Likewise.
47236         (log_test): Likewise.
47237         (log10_test): Likewise.
47238         (log1p_test): Likewise.
47239         (log2_test): Likewise.
47240         (pow_test): Do not allow some spurious overflow exceptions.
47241         (sqrt_test): Add more tests.
47242         (tgamma_test): Likewise.
47243         (y0_test): Likewise.
47244         (y1_test): Likewise.
47245         (yn_test): Likewise.
47247 2012-03-27  Anton Blanchard  <anton@samba.org>
47249         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47250         MAP_HUGETLB.
47251         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47252         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47253         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47255 2012-03-27  David S. Miller  <davem@davemloft.net>
47257         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47259         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47260         have-as-vis3 check.
47262 2012-03-27  Andreas Jaeger  <aj@suse.de>
47264         * sysdeps/x86_64/elf/configure.in: Moved to ...
47265         * sysdeps/x86_64/configure.in: ... here.
47266         * sysdeps/x86_64/elf/start.S: Moved to ...
47267         * sysdeps/x86_64/start.S: ... here.
47268         * sysdeps/x86_64/elf/configure: Delete.
47270         * sysdeps/x86_64/configure.in: Merge contents from
47271         sysdeps/i386/configure.in (without i686 check).
47273         * sysdeps/i386/elf/Versions: Merge into ...
47274         * sysdeps/i386/Versions: ... this.
47275         * sysdeps/i386/elf/Versions: Delete file.
47276         * sysdeps/i386/elf/start.S: Moved to ...
47277         * sysdeps/i386/start.S: ...here.
47278         * sysdeps/i386/elf/configure.in: Merge into...
47279         * sysdeps/i386/configure.in: ...here.
47280         * sysdeps/i386/elf/configure.in: Delete file.
47281         * sysdeps/i386/elf/configure: Delete file.
47283         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47284         * debug/backtracesyms.c: ... here.
47285         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47286         * debug/backtracesymsfd.c: ... here.
47287         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47288         * sysdeps/generic/ifunc-sel.h: ... here.
47290         * sysdeps/unix/i386/start.c: Delete file.
47291         * sysdeps/unix/sparc/start.c: Delete file.
47292         * sysdeps/unix/start.c: Delete file.
47294         * sysdeps/sh/elf/configure.in: Moved to ...
47295         * sysdeps/sh/configure.in: ... here.
47296         * sysdeps/sh/elf/start.S: Moved to ...
47297         * sysdeps/sh/start.S: ... here.
47298         * sysdeps/sh/elf/configure: Delete file.
47300         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47301         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47302         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47303         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47304         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47305         * sysdeps/powerpc/powerpc64/start.S: here.
47306         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47307         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47308         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47309         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47310         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47312         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47313         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47314         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47315         * sysdeps/powerpc/powerpc32/start.S: ... here.
47316         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47317         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47318         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47320         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47321         * sysdeps/powerpc/ifunc-sel.h: ... here.
47322         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47323         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47325         * sysdeps/sparc/elf/configure.in: Moved to ...
47326         * sysdeps/sparc/configure.in: ... here.
47327         * sysdeps/sparc/elf/configure: Delete file.
47328         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47329         * sysdeps/sparc/sparc32/start.S: ... here.
47330         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47331         * sysdeps/sparc/sparc64/start.S: ... here.
47332         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47333         * sysdeps/sparc/sparc32/Makefile: ... this.
47334         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47335         * sysdeps/sparc/sparc64/Makefile: ... this.
47337         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47338         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47339         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47340         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47341         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47342         * sysdeps/s390/s390-32/setjmp.S: ... here.
47343         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47344         * sysdeps/s390/s390-32/configure.in: ... here.
47345         * sysdeps/s390/s390-32/elf/configure: Delete file.
47346         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47347         * sysdeps/s390/s390-32/start.S: ... here.
47349         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47350         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47351         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47352         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47353         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47354         * sysdeps/s390/s390-64/setjmp.S: ... here.
47355         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47356         * sysdeps/s390/s390-64/configure.in: ... here
47357         * sysdeps/s390/s390-64/elf/configure: Delete file.
47358         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47359         * sysdeps/s390/s390-64/start.S: ... here.
47360         * sysdeps/s390/s390-64/elf/configure: Delete.
47362         * configure.in: Remove support for elf directories in sysdeps.
47364         * configure: Regenerated.
47365         * sysdeps/i386/configure: Regenerated.
47366         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47367         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47368         * sysdeps/s390/s390-32/configure: Regenerated.
47369         * sysdeps/s390/s390-64/configure: Regenerated.
47370         * sysdeps/sh/configure: Regenerated.
47371         * sysdeps/sparc/configure: Regenerated.
47372         * sysdeps/x86_64/configure: Regenerated.
47374 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47378         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47379         denormal result into account.
47381 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47383         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47384         Reported by Allan McRae <allan@archlinux.org>.
47386 2012-03-23  Jeff Law  <law@redhat.com>
47388         * nss/getnssent.c (__nss_getent): Fix typo.
47390 2012-03-23  David S. Miller  <davem@davemloft.net>
47392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47394 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47396         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47397         to pad to uint64_t for each field.
47398         (dl_tls_index): Replace unsigned long with uint64_t.
47400 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47401         Paul Pluzhnikov  <ppluzhnikov@google.com>
47403         [BZ #6528]
47404         * grp/Makefile (otherlibs): Don't set it.
47405         * inet/Makefile (otherlibs): Likewise.
47406         * login/Makefile (otherlibs): Likewise.
47407         * nscd/Makefile (otherlibs): Likewise.
47408         * posix/Makefile (otherlibs): Likewise.
47409         * pwd/Makefile (otherlibs): Likewise.
47410         * rt/Makefile (otherlibs): Likewise.
47411         * sunrpc/Makefile (otherlibs): Likewise.
47412         * nss/Makefile (otherlibs): Likewise.
47413         Add libnss_files to routines and static-only-routines.
47414         ($(objpfx)getent): Remove rule.
47415         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47416         static-only-routines.
47418 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47420         [BZ #13892]
47421         * math/s_cexp.c: Include <float.h>.
47422         (__cexp): Handle exp result overflowing not necessarily
47423         overflowing both real and imaginary parts of result.
47424         * math/s_cexpf.c: Likewise.
47425         * math/s_cexpl.c: Likewise.
47426         * math/libm-test.inc (cexp_test): Add more tests.
47427         * sysdeps/i386/fpu/libm-test-ulps: Update.
47428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47432         * include/link.h (ELFW): New macro.
47433         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47434         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47436 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47438         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47439         with uint64_t.
47441 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47443         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47444         declaration.
47445         (struct La_x32_retval): Likewise.
47447 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47449         * sysdeps/x86_64/preconfigure.in: New file.
47450         * sysdeps/x86_64/preconfigure: New generated file.
47452 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47454         [BZ #13824]
47455         * math/e_exp2l.c: Include <float.h>.
47456         (__ieee754_exp2l): Handle overflow and underflow cases
47457         separately.  Only pass fractional part of argument to
47458         __ieee754_expl.
47459         * math/libm-test.inc (exp2_test): Add more tests.
47461         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47462         negating x to take absolute value.
47463         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47464         Likewise.
47465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47467         Likewise.
47468         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47469         computing low part if x was negated.
47470         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47472 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47474         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47475         la_x32_gnu_pltexit.
47476         (pltexit): Cast int_retval to ptrdiff_t.
47477         * elf/tst-auditmod3b.c: Likewise.
47478         * elf/tst-auditmod4b.c: Likewise.
47479         * elf/tst-auditmod5b.c: Likewise.
47480         * elf/tst-auditmod6b.c: Likewise.
47481         * elf/tst-auditmod6c.c: Likewise.
47482         * elf/tst-auditmod7b.c: Likewise.
47484         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47485         and x32_gnu_pltexit.
47487         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47488         __ELF_NATIVE_CLASS.
47489         (La_x32_regs): New macro.
47490         (La_x32_retval): Likewise.
47491         (la_x32_gnu_pltenter): New function prototype.
47492         (la_x32_gnu_pltexit): Likewise.
47494 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47496         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47497         exponent.
47499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47501         * configure.in (libc_cv_cc_nofma): Check for option to disable
47502         generation of FMA instructions.
47503         * configure: Regenerate.
47504         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47505         * sysdeps/ieee754/dbl-64/Makefile: New file.
47506         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47507         Remove brandred-fma4.
47508         (CFLAGS-brandred-fma4.c): Remove.
47509         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47510         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47511         define.
47512         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47513         define.
47515 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47517         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47518         LLONG_MAX != LONG_MAX.
47519         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47520         (_fitoa_word): Likewise.
47521         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47522         LLONG_MAX != LONG_MAX.
47523         * stdio-common/_itowa.h: Include <_itoa.h>.
47524         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47525         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47526         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47527         only if not defined.
47528         (_ITOA_WORD_TYPE): Likewise.
47529         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47530         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47532 2012-03-21  David S. Miller  <davem@davemloft.net>
47534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47536 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47538         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47539         of x86_64 when setting libc_cv_slibdir, libdir and
47540         libc_cv_localedir.
47541         * sysdeps/unix/sysv/linux/configure: Regenerated.
47543 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47545         * manual/lang.texi (Old Varargs): Remove section.
47546         (How Variadic): Update menu.
47547         (va_start): Do not mention varargs.h.
47549 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47550             Joseph Myers  <joseph@codesourcery.com>
47552         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47553         link test.
47554         * configure: Regenerated.
47556 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47558         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47559         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47560         conformtest.pl
47562 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47564         * NOTES: Remove.
47565         * Makefile (files-for-dist): Remove NOTES.
47566         (NOTES): Remove rule.
47567         * README: Don't refer to NOTES.
47568         * manual/creature.texi: Don't include macros.texi.
47569         * manual/intro.texi (creature.texi): Remove comment referring to
47570         NOTES.
47572         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47573         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47574         * configure: Regenerated.
47575         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47576         LIBC_TRY_CC_OPTION.
47577         (libc_cv_as_i686): Likewise.
47578         (libc_cv_cc_avx): Likewise.
47579         (libc_cv_cc_sse2avx): Likewise.
47580         (libc_cv_cc_fma4): Likewise.
47581         (libc_cv_cc_novzeroupper): Likewise.
47582         * sysdeps/i386/configure: Regenerated.
47584         [BZ #13883]
47585         * sysdeps/i386/fpu/s_cexp.S: Remove.
47586         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47587         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47588         * math/libm-test.inc (cexp_test): Add more tests.
47589         * sysdeps/i386/fpu/libm-test-ulps: Update.
47590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47592 2012-03-21  Allan McRae  <allan@archlinux.org>
47594         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47596 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47598         [BZ #13871]
47599         * math/w_exp2.c: Do not include <float.h>.
47600         (o_threshold, u_threshold): Remove.
47601         (__exp2): Calculate result before checking finiteness and calling
47602         __kernel_standard.
47603         * math/w_exp2f.c: Likewise.
47604         * math/w_exp2l.c: Likewise.
47605         * math/libm-test.inc (exp2_test): Require overflow exception for
47606         1e6 input.
47608         [BZ #3866]
47609         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47610         range of signed 64-bit integers before using fistpll.  Remove
47611         checks for whether integers fit in mantissa bits.
47612         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47613         the range of signed 32-bit integers before using fistpl.  Remove
47614         checks for whether integers fit in mantissa bits.
47615         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47616         (__ieee754_powl): Test for y outside the range of signed 64-bit
47617         integers before using fistpll.  Reduce 64-bit values to 63-bit
47618         ones as needed.
47619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47620         divide-by-zero is raised for zero to large negative powers.
47621         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47622         (__ieee754_powl): Test for y outside the range of signed 64-bit
47623         integers before using fistpll.  Reduce 64-bit values to 63-bit
47624         ones as needed.
47625         * math/libm-test.inc (pow_test): Add more tests.
47627 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47629         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47630         <stdio-common/_itoa.h>.
47631         * debug/segfault.c: Likewise.
47632         * elf/dl-cache.c: Likewise.
47633         * elf/dl-minimal.c: Likewise.
47634         * elf/dl-misc.c: Likewise.
47635         * elf/dl-sysdep.c: Likewise.
47636         * elf/dl-version.c: Likewise.
47637         * elf/rtld.c: Likewise.
47638         * hurd/hurdsock.c: Likewise.
47639         * hurd/lookup-retry.c: Likewise.
47640         * malloc/malloc.c: Likewise.
47641         * malloc/mtrace.c: Likewise.
47642         * nscd/nscd_getgr_r.c: Likewise.
47643         * nscd/nscd_getpw_r.c: Likewise.
47644         * nscd/nscd_getserv_r.c: Likewise.
47645         * posix/getopt_init.c: Likewise.
47646         * posix/wordexp.c: Likewise.
47647         * stdio-common/_itoa.c: Likewise.
47648         * stdio-common/printf_fphex.c: Likewise.
47649         * stdio-common/vfprintf.c: Likewise.
47650         * string/_strerror.c: Likewise.
47651         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47652         * sysdeps/i386/i686/hp-timing.h: Likewise.
47653         * sysdeps/mach/_strerror.c: Likewise.
47654         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47655         * sysdeps/mach/hurd/sethostid.c: Likewise.
47656         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47657         * sysdeps/mach/xpg-strerror.c: Likewise.
47658         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47659         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47660         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47661         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47662         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47663         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47664         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47665         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47666         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47667         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47668         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47669         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47670         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47671         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47672         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47673         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47674         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47675         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47676         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47677         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47678         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47680         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47682         * stdio-common/_itoa.h: Moved to ...
47683         * sysdeps/generic/_itoa.h: Here.
47685         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47687         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47688         instead of "_itoa.h" and "_itowa.h".
47689         * stdio-common/vfprintf.: Likewise.
47691 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47693         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47694         <bits/wordsize.h>.
47695         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47696         (__signbit): Likwise.
47697         (llrintf): Likwise.
47698         (llrint): Likwise.
47700 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47702         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47703         __WORDSIZE != 64.
47705 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47707         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47708         OVERFLOW_EXCEPTION_OK.
47709         * math/libm-test.inc ("Philosophy"): Update comment about
47710         exception testing.
47711         (OVERFLOW_EXCEPTION): Define.
47712         (OVERFLOW_EXCEPTION_OK): Likewise.
47713         (INVALID_EXCEPTION_OK): Renumber.
47714         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47715         (IGNORE_ZERO_INF_SIGN): Likewise.
47716         (test_exceptions): Handle FE_OVERFLOW.
47717         (exp10_test): Expect overflow exceptions.
47718         (exp2_test): Likewise.
47719         (expm1_test): Likewise.
47720         (nextafter_test): Likewise.
47721         (pow_test): Likewise.
47722         (scalbn_test): Likewise.
47723         (scalbln_test): Likewise.
47725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47727         * sysdeps/x86_64/bits/atomic.h
47728         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47729         64bit integer.
47730         (atomic_exchange_acq): Likewise.
47731         (__arch_exchange_and_add_body): Likewise.
47732         (__arch_add_body): Likewise.
47733         (atomic_add_negative): Likewise.
47734         (atomic_add_zero): Likewise.
47736 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47738         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47739         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47741 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47743         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47744         Check __x86_64__ instead of __WORDSIZE.
47746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47748         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47750 2012-03-19  David S. Miller  <davem@davemloft.net>
47752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47754         * sysdeps/sparc/fpu/fenv_private.h: New file.
47755         * sysdeps/sparc/fpu/math_private.h: Use it.
47756         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47757         Remove.
47758         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47759         (libc_feholdexcept_setroundl): Remove.
47760         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47761         Remove.
47762         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47763         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47767         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47768         int64_t instead of long int.
47769         (INSERT_WORDS64): Likwise.
47771 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47773         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47774         _Unwind_GetCFA return to _Unwind_Ptr first.
47776 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47778         [BZ #13629]
47779         * math/s_clog.c: Include <float.h>.
47780         (__clog): Scale large or subnormal inputs.
47781         * math/s_clogf.c: Likewise.
47782         * math/s_clogl.c: Likewise.
47783         * math/s_clog10.c: Include <float.h>.
47784         (M_LOG10_2): Define.
47785         (__clog10): Scale large or subnormal inputs.
47786         * math/s_clog10f.c: Likewise.
47787         * math/s_clog10l.c: Likewise.
47788         * math/libm-test.inc (clog_test): Add more tests.
47789         (clog10_test): Likewise.
47790         * sysdeps/i386/fpu/libm-test-ulps: Update.
47791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47793         [BZ #11451]
47794         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47795         x and y.
47796         * math/libm-test.inc (atan2_test): Add another test.
47798         * Makerules (common-objdir-compile): Remove.
47799         * sysdeps/unix/Makefile (config-generated): Do not add
47800         $(unix-generated) to variable.
47801         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47802         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47803         Remove rule.
47804         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47805         Likewise.
47806         [generic bits/local_lim.h] (before-compile): Do not append to
47807         variable.
47808         [generic bits/local_lim.h] (common-generated): Likewise.
47809         [generic sys/param.h] (before-compile): Do not append to variable.
47810         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47811         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47812         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47813         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47814         include.
47815         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47816         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47817         [generic sys/param.h] ($(addprefix
47818         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47819         [generic sys/param.h] (common-generated): Do not append to
47820         variable.
47821         [generic sys/param.h] (sysdep_headers): Likewise.
47822         [generic bits/errno.h] (before-compile): Do not append to
47823         variable.
47824         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47825         rule.
47826         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47827         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47828         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47829         [generic bits/errno.h] (common-generated): Do not append to
47830         variable.
47831         [generic bits/ioctls.h] (before-compile): Do not append to
47832         variable.
47833         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47834         rule.
47835         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47836         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47837         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47838         rule.
47839         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47840         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47841         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47842         [generic bits/ioctls.h] (common-generated): Do not append to
47843         variable.
47844         [generic sys/syscall.h] (syscall.h): Remove variable.
47845         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47846         rule.
47847         [generic sys/syscall.h] (before-compile): Do not append to
47848         variable.
47849         [generic sys/syscall.h] (common-generated): Likewise.
47850         * sysdeps/unix/errnos-tmpl.c: Remove file.
47851         * sysdeps/unix/errnos.awk: Likewise.
47852         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47853         * sysdeps/unix/ioctls.awk: Likewise.
47854         * sysdeps/unix/mk-local_lim.c: Likewise.
47855         * sysdeps/unix/snarf-ioctls: Likewise.
47857 2012-03-19  Richard Henderson  <rth@twiddle.net>
47859         * sysdeps/i386/fpu/fenv_private.h: New file.
47860         * sysdeps/i386/fpu/math_private.h: Use it.
47861         (math_opt_barrier, math_force_eval): Remove.
47862         (libc_feholdexcept_setround_53bit): Remove.
47863         (libc_feupdateenv_53bit): Remove.
47864         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47865         (math_opt_barrier, math_force_eval): Remove.
47866         (libc_feholdexcept): Remove.
47867         (libc_feholdexcept_setround): Remove.
47868         (libc_fetestexcept, libc_fesetenv): Remove.
47869         (libc_feupdateenv_test): Remove.
47870         (libc_feupdateenv, libc_feholdsetround): Remove.
47871         (libc_feresetround): Remove.
47873         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47874         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47876         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47877         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47878         (libc_feupdateenv_testl): New.
47879         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47880         (libc_feupdateenv_testf): New.
47881         (libc_feupdateenv): Use libc_feupdateenv_test.
47882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47883         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47885         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47886         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47887         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47888         (libc_feresetround_noex): New.
47889         (libc_feresetround_noexf): New.
47890         (libc_feresetround_noexl): New.
47891         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47892         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47893         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47894         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47895         SET_RESTORE_ROUND.
47896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47898         (__cos): Likewise.
47899         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47900         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47901         SET_RESTORE_ROUND_NOEX.
47902         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47903         SET_RESTORE_ROUND_NOEXF.
47904         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47905         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47906         (libc_feholdsetroundf): New.
47907         (libc_feresetround, libc_feresetroundf): New.
47909         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47910         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47911         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47913         * sysdeps/generic/math_private.h: Include <fenv.h>.
47914         (default_libc_feholdexcept): New.
47915         (default_libc_feholdexcept_setround): New.
47916         (default_libc_fesetenv, default_libc_feupdateenv): New.
47917         (libc_feholdexcept): Only define if undefined.
47918         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47919         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47920         (libc_feholdexcept_setroundl): Likewise.
47921         (libc_feholdexcept_setround_53bit): Likewise.
47922         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47923         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47924         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47925         (libc_feupdateenv_53bit): Likewise.
47926         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47927         (libc_feholdexcept): Convert from macro to inline function.
47928         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47929         (libc_fesetenv, libc_feupdateenv): Likewise.
47931         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47932         not previously defined.
47933         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47934         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47935         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47936         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47937         * sysdeps/ieee754/flt-32/math_private.h: New file.
47938         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47939         math_private.h below SET_FLOAT_WORD.
47940         (__isnan, __isinf_ns, __finite): Remove.
47941         (__isnanf, __isinf_nsf, __finitef): Remove.
47943 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47947 2012-03-17  David S. Miller  <davem@davemloft.net>
47949         [BZ #6471]
47950         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47951         for 2.16.
47953 2012-03-16  David S. Miller  <davem@davemloft.net>
47955         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47956         warnings.
47958         [BZ #6471]
47959         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47960         properly.
47961         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47962         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47963         sysdep_routines when subdir is sysvipc.
47964         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47965         __getshmlba helper.
47967         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47969 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47971         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47972         [__LP64__].
47974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47976         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47977         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47978         (__lround): Renamed to ...
47979         (__llround): This.  Replace long int with long long int.
47980         Define lround functions as aliases of llround functions.
47981         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47985         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47986         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47987         adresses to uintptr_t.  Replace "long int" and "unsigned long
47988         int" with "greg_t" on va_arg.
47990 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47992         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47993         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47995         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47996         Move e_machine check before EI_CLASS check.  Handle x32
47997         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47998         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47999         SKIP_EM_IA_64 and include
48000         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48002         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48003         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48004         (add_system_dir): New macro.
48006         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48007         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48009 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48011         [BZ #2551]
48012         [BZ #2552]
48013         [BZ #2553]
48014         [BZ #2554]
48015         [BZ #2562]
48016         [BZ #2563]
48017         [BZ #2565]
48018         [BZ #2566]
48019         [BZ #2576]
48020         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48021         (y0): Likewise.
48022         * math/w_j0f.c (j0f): Likewise.
48023         (y0f): Likewise.
48024         * math/w_j0l.c (__j0l): Likewise.
48025         (__y0l): Likewise.
48026         * math/w_j1.c (j1): Likewise.
48027         (y1): Likewise.
48028         * math/w_j1f.c (j1f): Likewise.
48029         (y1f): Likewise.
48030         * math/w_j1l.c (__j1l): Likewise.
48031         (__y1l): Likewise.
48032         * math/w_jn.c (jn): Likewise.
48033         (yn): Likewise.
48034         * math/w_jnf.c (jnf): Likewise.
48035         (ynf): Likewise.
48036         * math/w_jnl.c (__jnl): Likewise.
48037         (__ynl): Likewise.
48038         * math/libm-test.inc (j0_test): Add more tests.
48039         (j1_test): Likewise.
48040         (jn_test): Likewise.  Add trailing semicolon to existing test.
48041         (y0_test): Likewise.
48042         (y1_test): Likewise.
48043         * sysdeps/i386/fpu/libm-test-ulps: Update.
48044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48046         [BZ #13851]
48047         [BZ #13854]
48048         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48049         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48050         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48051         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48052         (__tanl): Set errno for infinite argument.
48053         * sysdeps/i386/fpu/mptan.c: Remove.
48054         * sysdeps/i386/fpu/s_tan.S: Likewise.
48055         * sysdeps/i386/fpu/s_tanl.S: Likewise.
48056         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48057         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48058         * math/libm-test.inc (tan_test): Add more tests and enable more
48059         tests for double and long double.
48060         * sysdeps/i386/fpu/libm-test-ulps: Update.
48061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48063 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
48065         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48066         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48068 2012-03-16  Roland McGrath  <roland@hack.frob.com>
48070         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48071         * configure.in: Use it for both main tree and add-ons.
48072         * configure: Regenerated.
48074 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48076         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48078 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48080         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48081         in comment.
48083         [BZ #13851]
48084         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48085         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48086         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48087         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48088         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48089         infinite argument.
48090         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48092         != 0 for prec == 2.
48093         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48094         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48095         * sysdeps/i386/fpu/s_cosl.S: Likewise.
48096         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48097         * sysdeps/i386/fpu/s_sinl.S: Likewise.
48098         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48099         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48100         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48101         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48102         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48103         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48104         * math/libm-test.inc (cos_test): Add more tests and enable more
48105         tests for long double.
48106         (sin_test): Likewise.
48107         (sincos_test): Likewise.
48108         * sysdeps/i386/fpu/libm-test-ulps: Update.
48109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48111 2012-03-16  David S. Miller  <davem@davemloft.net>
48113         * sysdeps/sparc/fpu/math_private.h: New file.
48115 2012-03-15  David S. Miller  <davem@davemloft.net>
48117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48118         file.
48119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48121         file.
48122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48128         sysdep routines.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48131         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48132         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48134         * sysdeps/sparc/sparc-ifunc.h: New file.
48135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48136         sparc-ifunc.h
48137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48139         Likewise.
48140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48141         Likewise.
48142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48146         Likewise.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48152         Likewise.
48153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48154         Likewise.
48155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48161         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48162         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48173         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48175         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48176         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48177         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48178         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48180 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48182         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48183         scaling.
48184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48186 2012-03-15  Andreas Jaeger  <aj@suse.de>
48188         [BZ #13852]
48189         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48190         ieee754/flt-32 implementation for sin, cos and sincos.
48191         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48192         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48193         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48194         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48195         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48196         ieee754/flt-32 implementation for tan.
48198         * math/libm-test.inc (cos_test): Enable some large input tests for
48199         float as well
48200         (sin_test): Likewise.
48201         (sincos_test): Likewise.
48202         (tan_test): Add tests for large input.
48204         * sysdeps/i386/fpu/libm-test-ulps: Update.
48206 2012-03-15  Andreas Jaeger  <aj@suse.de>
48208         [BZ #13658]
48209         * math/libm-test.inc (cos_test): Add more test cases.
48210         (sin_test): Likewise.
48211         (sincos_test): Likewise.
48213 2012-03-15  Andreas Jaeger  <aj@suse.de>
48215         [BZ #13837]
48216         * math/libm-test.inc (cos_test): Add a test case for large input
48217         value.
48218         (sin_test): Likewise.
48219         (sincos_test): Likewise.
48221 2012-03-15  Andreas Jaeger  <aj@suse.de>
48222             Joseph Myers  <joseph@codesourcery.com>
48224         [BZ #13658]
48225         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48226         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48227         * sysdeps/i386/fpu/branred.c: Likewise.
48228         * sysdeps/i386/fpu/dosincos.c: Likewise.
48229         * sysdeps/i386/fpu/mpa.c: Likewise.
48230         * sysdeps/i386/fpu/s_cos.S: Likewise.
48231         * sysdeps/i386/fpu/s_sin.S: Likewise.
48232         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48233         * sysdeps/i386/fpu/sincos32.c: Likewise.
48235         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48236         Define.
48237         (libc_feupdateenv_53bit): Define.
48238         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48239         Define.
48240         (libc_feupdateenv_53bit): Define.
48242         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48243         53 bit (without extend i386 double precision).
48245         * math/libm-test.inc (sincos_test): Add tests for large input.
48246         (sin): Likewise.
48247         (cos): Likewise.
48249         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48251 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48255 2012-03-15  David S. Miller  <davem@davemloft.net>
48257         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48258         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48259         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48260         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48273         file.
48274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48276         file.
48277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48279         file.
48280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48282         file.
48283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48284         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48285         fmin/fmax sysdep routines.
48286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48288 2012-03-14  David S. Miller  <davem@davemloft.net>
48290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48294         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48295         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48296         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48310         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48316         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48319         routines.
48320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48321         file.
48322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48324         file.
48325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48327         file.
48328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48330         file.
48331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48333         file.
48334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48336         file.
48337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48338         file.
48339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48340         file.
48341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48342         file.
48343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48344         New file.
48345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48346         file.
48347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48348         file.
48349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48351         file.
48352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48354         file.
48355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48357         file.
48358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48360         VIS3 routines.
48362         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48363         New file.
48365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48367         * sysdeps/sparc/configure.in: New file.
48368         * sysdeps/sparc/configure: Generate.
48369         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48370         * configure: Regenerate.
48371         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48372         * config.make.in (have-as-vis3): New.
48373         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48374         available use -Av9d instead of -Av9a.
48375         * sysdeps/sparc/sparc64/Makefile: Likewise.
48376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48378         New file.
48379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48380         file.
48381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48382         New file.
48383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48384         file.
48385         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48386         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48391         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48392         fzeros/fnegs to load 0x80000000 into a float register instead of
48393         using the stack.
48394         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48396 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48399         bits/syscall.h.
48400         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48401         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48402         ($(inst_includedir)/bits/syscall.h): Remove rule.
48403         ($(objpfx)bits/syscall.d): Include instead of
48404         $(objpfx)syscall-list.d.
48405         (generated): Change syscall-list.h and syscall-list.d to
48406         bits/syscall.h and bits/syscall.d.
48408 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48410         [BZ #13846]
48411         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48413 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48415         [BZ #13841]
48416         * math/s_csqrt.c: Include <float.h>.
48417         (__csqrt): Scale large or subnormal inputs.
48418         * math/s_csqrtf.c: Likewise.
48419         * math/s_csqrtl.c: Likewise.
48420         * math/libm-test.inc (csqrt_test): Add more tests.
48421         * sysdeps/i386/fpu/libm-test-ulps: Update.
48422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48424         [BZ #13840]
48425         * math/libm-test.inc (hypot_test): Add more tests.
48427 2012-03-13  David S. Miller  <davem@davemloft.net>
48429         [BZ #13840]
48430         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48431         double-precision for the calculation instead of scaling.
48433 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48435         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48436         manipulate bits before adding and subtracting TWO52[sx].
48437         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48438         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48439         Likewise.
48440         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48442 2012-03-13  David S. Miller  <davem@davemloft.net>
48444         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48445         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48447         rtld-global-offsets.h
48448         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48450         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48451         large parameters.
48453         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48455         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48456         'err' in the ifdef scope in which it is actually used.
48458         * nss/nss_db/db-init.c: Include string.h
48460 2012-03-12  David S. Miller  <davem@davemloft.net>
48462         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48463         masking out of the most significant byte of random value used.
48464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48465         Fix coding style in previous change.
48467         * sysdeps/unix/sysv/linux/kernel-features.h
48468         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48469         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48470         expression.
48471         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48472         later.
48474 2012-03-11  David S. Miller  <davem@davemloft.net>
48476         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48477         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48478         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48479         for 'resultvar' otherwise things get truncated on 64-bit.
48481         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48482         Fix masking out of the most significant byte of random value used.
48484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48486 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48490 2012-03-09  David S. Miller  <davem@davemloft.net>
48492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48493         variables with appropriate CPP guards.
48494         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48495         from the frame pointer, not the stack pointer.  Correct layout
48496         comments.  Fix test on resulting framesize and the management of
48497         the outregs buffer for pltexit.  Preserve floating point return
48498         values across _dl_call_pltexit call.
48499         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48500         framesize and the management of the outregs buffer for pltexit.
48501         Preserve floating point return values across _dl_call_pltexit
48502         call.
48503         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48504         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48505         (la_sparc64_gnu_pltexit): New functions.
48506         (print_exit): Fix format string for return register value.
48508 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48510         * sunrpc/Makefile (others): Add rpcgen.
48511         ($(objpfx)rpcgen): Remove special build rule and dependency on
48512         libc.
48513         * sunrpc/rpcgen.c: New file.
48515 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48517         [BZ #13673]
48518         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48519         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48520         * sysdeps/i386/crti.S: Likewise.
48521         * sysdeps/i386/crtn.S: Likewise.
48522         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48523         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48524         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48525         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48526         * sysdeps/sh/crti.S: Likewise.
48527         * sysdeps/sh/crtn.S: Likewise.
48528         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48530         [BZ #13673]
48531         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48532         with URL.
48533         * locale/programs/locfile-kw.gperf: Likewise.
48534         * locale/programs/charmap-kw.h: Regenerated.
48535         * locale/programs/locfile-kw.h: Likewise.
48537         [BZ #13673]
48538         * intl/plural.y: Replace FSF snail mail address with URL.
48539         * intl/plural.c: Regenerated.
48541 2012-03-09  Richard Henderson  <rth@twiddle.net>
48543         * include/math_private.h: Remove file.
48544         * math/math_private.h: Move file ...
48545         * sysdeps/generic/math_private.h: ... here.
48547         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48548         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48549         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48551         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48552         and <math_private.h>.
48553         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48554         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48555         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48556         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48557         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48558         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48559         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48560         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48561         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48562         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48564         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48565         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48566         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48567         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48568         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48569         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48570         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48571         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48572         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48574         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48575         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48577         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48578         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48579         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48580         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48582         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48583         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48584         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48585         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48586         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48587         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48588         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48589         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48590         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48591         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48592         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48593         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48594         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48595         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48596         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48597         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48598         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48599         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48600         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48601         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48602         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48603         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48604         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48605         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48606         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48607         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48608         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48609         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48610         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48611         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48612         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48613         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48614         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48615         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48616         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48617         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48618         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48619         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48620         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48621         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48623         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48624         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48625         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48626         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48627         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48631         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48633         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48634         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48635         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48636         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48637         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48639         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48640         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48641         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48642         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48643         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48644         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48645         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48646         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48647         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48648         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48649         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48650         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48651         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48652         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48653         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48654         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48655         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48656         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48657         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48658         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48659         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48660         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48661         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48662         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48663         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48664         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48665         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48666         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48667         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48668         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48669         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48670         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48671         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48672         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48673         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48674         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48675         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48676         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48677         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48678         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48679         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48680         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48681         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48682         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48683         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48684         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48685         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48686         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48687         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48688         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48689         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48690         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48691         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48692         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48693         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48694         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48695         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48696         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48697         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48698         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48699         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48700         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48701         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48702         * sysdeps/ieee754/k_standard.c: Likewise.
48703         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48704         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48705         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48706         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48707         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48708         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48709         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48710         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48711         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48712         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48713         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48714         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48715         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48716         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48717         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48718         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48719         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48720         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48721         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48722         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48723         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48724         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48725         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48726         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48727         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48728         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48729         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48730         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48731         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48732         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48733         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48734         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48735         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48736         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48737         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48738         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48739         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48740         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48741         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48742         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48743         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48744         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48745         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48746         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48747         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48748         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48749         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48754         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48755         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48756         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48757         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48758         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48759         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48760         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48761         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48762         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48763         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48764         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48765         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48766         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48767         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48770         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48771         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48772         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48773         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48775         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48777         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48779         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48780         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48781         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48782         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48783         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48784         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48785         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48786         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48788         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48789         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48790         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48793         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48794         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48795         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48796         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48797         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48798         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48799         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48800         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48801         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48802         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48804         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48805         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48806         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48807         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48808         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48809         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48810         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48811         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48812         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48813         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48814         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48815         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48816         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48817         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48818         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48819         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48820         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48821         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48822         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48823         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48824         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48825         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48826         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48827         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48828         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48829         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48830         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48831         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48832         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48833         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48834         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48835         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48836         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48837         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48838         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48839         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48840         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48841         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48842         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48843         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48844         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48845         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48846         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48847         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48848         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48849         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48850         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48851         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48852         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48853         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48854         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48855         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48856         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48857         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48858         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48859         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48860         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48861         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48862         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48863         * sysdeps/ieee754/s_lib_version.c: Likewise.
48864         * sysdeps/ieee754/s_matherr.c: Likewise.
48865         * sysdeps/ieee754/s_signgam.c: Likewise.
48866         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48867         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48868         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48869         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48870         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48871         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48872         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48873         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48874         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48875         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48876         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48877         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48878         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48879         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48880         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48881         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48882         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48883         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48884         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48885         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48886         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48888 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48890         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48891         * sunrpc/rpc_main.c: Likewise.
48892         * sunrpc/rpc_svcout.c: Likewise.
48894 2012-03-09  David S. Miller  <davem@davemloft.net>
48896         * include/math_private.h: New file.
48898 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48900         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48901         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48902         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48903         from <bits/socket_type.h>.
48904         (enum __socket_type): Don't define here.
48905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48907         bits/socket_type.h.
48909         [BZ #13566]
48910         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48911         checking __USE_GNU.
48913         * Makerules ($(inst_includedir)/%.h): New rule.
48914         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48915         (install-others): Remove variable setting.
48916         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48918 2012-03-08  Richard Henderson  <rth@twiddle.net>
48920         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48921         from macro to inline function; merge with the
48922         !__LIBC_INTERNAL_MATH_INLINES version.
48923         (__ieee754_sqrtf): Likewise.
48925         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48926         to inline function.
48927         (__rintf, __floor, __floorf): Likewise.
48929         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48930         macro to inline function.
48931         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48933         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48934         not <math/math_private.h>.
48936 2012-03-08  David S. Miller  <davem@davemloft.net>
48938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48939         copyright year.
48940         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48942 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48944         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48945         normalization.
48946         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48947         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48949 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48951         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48952         be defined individually, they must be defined as a block.  Define
48953         S for printing a string instead of hidint the different by using a
48954         macro for adding the 'l'.
48955         * stdio-common/tst-fphex-wide.c: Adjust.
48957 2012-03-07  Marek Polacek  <polacek@redhat.com>
48959         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48961 2012-03-08  Marek Polacek  <polacek@redhat.com>
48963         [BZ #13806]
48964         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48965         * stdio-common/tst-fphex.c: Define a few macros to make the
48966         test reusable.  Use them.
48967         * stdio-common/tst-fphex-wide.c: New file.
48969 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48971         [BZ #6911]
48972         * manual/macros.texi (gnusystems): New macro.
48973         (nongnusystems): Likewise.
48974         (gnulinuxhurdsystems): Likewise.
48975         (gnuhurdsystems): Likewise..
48976         (gnulinuxsystems): Likewise.
48977         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48978         variants of the GNU system, not "GNU system".
48979         * manual/conf.texi: Likewise.
48980         * manual/errno.texi: Likewise.  Update example of errno macro
48981         expansion.
48982         * manual/filesys.texi: Likewise.
48983         (getumask): Document as specific to GNU/Hurd.
48984         * manual/install.texi: Likewise.  Reword some references to
48985         GNU/Linux.
48986         * manual/intro.texi: Likewise.
48987         * manual/io.texi: Likewise.
48988         (File Name Portability): Detail which constraints are inapplicable
48989         to all GNU systems and which are only inapplicable to GNU/Hurd.
48990         * manual/job.texi: Likewise.
48991         * manual/llio.texi: Likewise.
48992         (O_NOCTTY): Document as present on GNU/Linux.
48993         * manual/maint.texi: Likewise.
48994         * manual/memory.texi: Likewise.
48995         * manual/pattern.texi: Likewise.
48996         * manual/pipe.texi: Likewise.
48997         * manual/process.texi: Likewise.
48998         * manual/resource.texi: Likewise.
48999         (RUSAGE_CHILDREN): Remove statement about specifying a particular
49000         child on GNU/Hurd.
49001         * manual/setjmp.texi: Likewise.
49002         * manual/signal.texi: Likewise.
49003         * manual/startup.texi: Likewise.
49004         * manual/stdio.texi: Likewise.
49005         * manual/terminal.texi: Likewise.
49006         (ONLCR): Document as POSIX.
49007         (OXTABS): Document availability on GNU/Linux as XTABS.
49008         (ONOEOT): Document availability separately from other bits.
49009         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49010         * manual/time.texi: Likewise.
49011         * manual/users.texi: Likewise.
49012         * INSTALL: Regenerated.
49013         * sysdeps/gnu/errlist.c: Regenerated.
49015         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49016         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49017         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
49018         puts.
49019         * configure: Regenerated.
49021 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
49023         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49024         default includes instead of AC_HEADER_CHECK.
49025         * sysdeps/i386/configure: Regenerated.
49027         [BZ #10716]
49028         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49029         * math/s_cacoshf.c (__cacoshf): Likewise.
49030         * math/s_cacoshl.c (__cacoshl): Likewise.
49031         * math/s_casinh.c (__casinh): Set signs of result from argument.
49032         * math/s_casinhf.c (__casinhf): Likewise.
49033         * math/s_casinhl.c (__casinhl): Likewise.
49034         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49035         (casinh_test): Add more tests.
49036         * sysdeps/i386/fpu/libm-test-ulps: Update.
49037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49039 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
49041         * po/zh_TW.po: Update from translation team.
49043         * login/Makefile (distribute): Remove variable.
49044         * catgets/Makefile: Likewise.
49045         * mach/Makefile: Likewise.
49046         * malloc/Makefile: Likewise.
49047         * misc/Makefile: Likewise.
49048         * iconv/Makefile: Likewise.
49049         * nscd/Makefile: Likewise.
49050         * hurd/Makefile: Likewise.
49051         * manual/Makefile: Likewise.
49052         * locale/Makefile: Likewise.
49053         * intl/Makefile: Likewise.
49054         * conform/Makefile: Likewise.
49055         * nss/Makefile: Likewise.
49056         * time/Makefile: Likewise.
49057         * soft-fp/Makefile: Likewise.
49058         * dirent/Makefile: Likewise.
49059         * gmon/Makefile: Likewise.
49060         * po/Makefile: Likewise.
49061         * rt/Makefile: Likewise.
49062         * socket/Makefile: Likewise.
49063         * math/Makefile: Likewise.
49064         * signal/Makefile: Likewise.
49065         * debug/Makefile: Likewise.
49066         * elf/Makefile: Likewise.
49067         * timezone/Makefile: Likewise.
49068         * stdlib/Makefile: Likewise.
49069         * iconvdata/Makefile: Likewise.
49070         * sunrpc/Makefile: Likewise.
49071         * io/Makefile: Likewise.
49072         * argp/Makefile: Likewise.
49073         * inet/Makefile: Likewise.
49074         * hesiod/Makefile: Likewise.
49075         * grp/Makefile: Likewise.
49076         * csu/Makefile: Likewise.
49077         * wctype/Makefile: Likewise.
49078         * crypt/Makefile: Likewise.
49079         * libio/Makefile: Likewise.
49080         * string/Makefile: Likewise.
49081         * nis/Makefile: Likewise.
49082         * resolv/Makefile: Likewise.
49083         * stdio-common/Makefile: Likewise.
49084         * wcsmbs/Makefile: Likewise.
49085         * dlfcn/Makefile: Likewise.
49086         * posix/Makefile: Likewise.
49088         [BZ #6959]
49089         * timezone/Makefile: Don't install timezone files, just the programs
49090         and scripts.
49092 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
49094         * nss/databases.def: Add missing gshadow entry.
49096         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
49098 2012-03-06  Marek Polacek  <polacek@redhat.com>
49100         [BZ #13726]
49101         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49102         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49103         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49104         * stdio-common/tst-long-dbl-fphex.c: New file.
49106 2012-03-06  David S. Miller  <davem@davemloft.net>
49108         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49109         (set_obp_int): New function.
49110         (get_obp_int): New function.
49111         (__get_clockfreq_via_dev_openprom): Likewise.
49112         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49113         Avoid unused variable warnings on 'val' and use builtin_expect.
49114         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49115         __builtin_expect.
49116         (INLINE_CLONE_SYSCALL): Likewise.
49118 2012-03-05  David S. Miller  <davem@davemloft.net>
49120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49122 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
49124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49126         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49127         only for |x| >= 40.
49128         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49130 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
49132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49133         Replace gettimeofday with __vdso_gettimeofday.
49135         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49136         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49137         __vdso_clock_gettime and __vdso_getcpu.
49139         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49140         time with __vdso_time.
49142 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49144         * manual/lang.texi (size_t): Note types to which size_t may be
49145         equivalent with the GNU C Library, but do not describe when
49146         differences between them are significant.
49148 2012-03-05  Andreas Jaeger  <aj@suse.de>
49150         * sysdeps/i386/fpu/libm-test-ulps: Update.
49152 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49154         [BZ #3976]
49155         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49156         (__ieee754_pow): Save and restore rounding mode and use
49157         round-to-nearest for main computations.
49158         * math/libm-test.inc (pow_test_tonearest): New function.
49159         (pow_test_towardzero): Likewise.
49160         (pow_test_downward): Likewise.
49161         (pow_test_upward): Likewise.
49162         (main): Call the new functions.
49163         * sysdeps/i386/fpu/libm-test-ulps: Update.
49164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49166         [BZ #3976]
49167         * math/libm-test.inc (cosh_test_tonearest): New function.
49168         (cosh_test_towardzero): Likewise.
49169         (cosh_test_downward): Likewise.
49170         (cosh_test_upward): Likewise.
49171         (sinh_test_tonearest): Likewise.
49172         (sinh_test_towardzero): Likewise.
49173         (sinh_test_downward): Likewise.
49174         (sinh_test_upward): Likewise.
49175         (main): Call the new functions.
49176         * sysdeps/i386/fpu/libm-test-ulps: Update.
49177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49179 2012-03-05  Tom de Vries  <tom@codesourcery.com>
49181         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49182         default stack guard is set in last bytes.
49183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49185 2012-03-05  Kees Cook  <keescook@chromium.org>
49187         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49189         [BZ #13656]
49190         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49191         possibly allocate from heap instead of stack.
49192         * stdio-common/bug-vfprintf-nargs.c: New file.
49193         * stdio-common/Makefile (tests): Add nargs overflow test.
49195 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49199 2012-03-03  Marek Polacek  <polacek@redhat.com>
49201         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49202         * math/math_private.h: Likewise.
49203         * stdlib/tst-strtod.c: Likewise.
49204         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49205         * sysdeps/x86_64/bits/atomic.h: Likewise.
49207 2012-03-02  David S. Miller  <davem@davemloft.net>
49209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49213         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49214         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49215         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49216         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49218 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49220         [BZ #13792]
49221         * manual/examples/README: New file, says the example source files
49222         can be used under GPL>=2.
49223         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49224         line containing just "*/".
49225         * manual/examples/add.c: Add copyright header (GPL>=2).
49226         * manual/examples/argp-ex1.c: Likewise.
49227         * manual/examples/argp-ex2.c: Likewise.
49228         * manual/examples/argp-ex3.c: Likewise.
49229         * manual/examples/argp-ex4.c: Likewise.
49230         * manual/examples/atexit.c: Likewise.
49231         * manual/examples/db.c: Likewise.
49232         * manual/examples/dir.c: Likewise.
49233         * manual/examples/dir2.c: Likewise.
49234         * manual/examples/execinfo.c: Likewise.
49235         * manual/examples/filecli.c: Likewise.
49236         * manual/examples/filesrv.c: Likewise.
49237         * manual/examples/fmtmsgexpl.c: Likewise.
49238         * manual/examples/genpass.c: Likewise.
49239         * manual/examples/inetcli.c: Likewise.
49240         * manual/examples/inetsrv.c: Likewise.
49241         * manual/examples/isockad.c: Likewise.
49242         * manual/examples/longopt.c: Likewise.
49243         * manual/examples/memopen.c: Likewise.
49244         * manual/examples/memstrm.c: Likewise.
49245         * manual/examples/mkfsock.c: Likewise.
49246         * manual/examples/mkisock.c: Likewise.
49247         * manual/examples/mygetpass.c: Likewise.
49248         * manual/examples/pipe.c: Likewise.
49249         * manual/examples/popen.c: Likewise.
49250         * manual/examples/rprintf.c: Likewise.
49251         * manual/examples/search.c: Likewise.
49252         * manual/examples/select.c: Likewise.
49253         * manual/examples/setjmp.c: Likewise.
49254         * manual/examples/sigh1.c: Likewise.
49255         * manual/examples/sigusr.c: Likewise.
49256         * manual/examples/stpcpy.c: Likewise.
49257         * manual/examples/strdupa.c: Likewise.
49258         * manual/examples/strftim.c: Likewise.
49259         * manual/examples/strncat.c: Likewise.
49260         * manual/examples/subopt.c: Likewise.
49261         * manual/examples/swapcontext.c: Likewise.
49262         * manual/examples/termios.c: Likewise.
49263         * manual/examples/testopt.c: Likewise.
49264         * manual/examples/testpass.c: Likewise.
49265         * manual/examples/timeval_subtract.c: Likewise.
49267         [BZ #13792]
49268         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49269         function to ...
49270         * manual/timeval_subtract.c.texi: ... here, new file.
49272 2012-03-02  David S. Miller  <davem@davemloft.net>
49274         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49276 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49278         [BZ #3976]
49279         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49280         (__sin): Save and restore rounding mode and use round-to-nearest
49281         for all computations.
49282         (__cos): Save and restore rounding mode and use round-to-nearest
49283         for all computations.
49284         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49285         <fenv.h>.
49286         (tan): Save and restore rounding mode and use round-to-nearest for
49287         all computations.
49288         * math/libm-test.inc (cos_test_tonearest): New function.
49289         (cos_test_towardzero): Likewise.
49290         (cos_test_downward): Likewise.
49291         (cos_test_upward): Likewise.
49292         (sin_test_tonearest): Likewise.
49293         (sin_test_towardzero): Likewise.
49294         (sin_test_downward): Likewise.
49295         (sin_test_upward): Likewise.
49296         (tan_test_tonearest): Likewise.
49297         (tan_test_towardzero): Likewise.
49298         (tan_test_downward): Likewise.
49299         (tan_test_upward): Likewise.
49300         (main): Call the new functions.
49301         * sysdeps/i386/fpu/libm-test-ulps: Update.
49302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49304         [BZ #10135]
49305         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49306         small n, then large n, before computing and testing k+n.
49307         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49308         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49309         Likewise.
49310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49311         Likewise.
49312         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49313         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49314         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49315         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49316         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49317         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49318         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49319         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49320         * math/libm-test.inc (scalbn_test): Add more tests.
49321         (scalbln_test): Likewise.
49323         * manual/filesys.texi (mode_t): Describe constraints on size and
49324         signedness, not exact equivalence to a particular type.
49325         (ino_t): Likewise.
49326         (ino64_t): Likewise.
49327         (dev_t): Likewise.
49328         (nlink_t): Likewise.
49329         (blkcnt_t): Likewise.
49330         (blkcnt64_t): Likewise.
49331         * manual/llio.texi (off_t): Likewise.
49333         [BZ #3976]
49334         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49335         (__ieee754_exp): Save and restore rounding mode and use
49336         round-to-nearest for all computations.
49337         * math/libm-test.inc (exp_test_tonearest): New function.
49338         (exp_test_towardzero): Likewise.
49339         (exp_test_downward): Likewise.
49340         (exp_test_upward): Likewise.
49341         (main): Call the new functions.
49342         * sysdeps/i386/fpu/libm-test-ulps: Update.
49343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49345 2012-03-01  Chris Demetriou  <cgd@google.com>
49347         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49348         have predictable order.
49350 2012-03-01  David S. Miller  <davem@davemloft.net>
49352         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49354         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49355         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49356         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49357         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49359         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49360         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49361         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49363         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49364         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49365         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49366         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49367         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49371         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49372         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49373         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49375         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49376         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49377         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49378         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49379         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49380         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49381         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49382         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49383         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49384         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49385         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49386         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49387         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49388         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49389         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49390         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49391         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49392         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49393         * sysdeps/sparc/elf/configure: Regenerated.
49395 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49397         * configure.in (AS, LD): Require binutils 2.20 or later.
49398         * configure: Regenerated.
49399         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49400         as required minimum version.
49401         * INSTALL: Regenerated.
49403         [BZ #2541]
49404         [BZ #4108]
49405         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49406         before squaring exponent.
49407         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49408         bottom long double and 27 bits of top long double before squaring
49409         exponent.
49410         * math/libm-test.inc (erfc_test): Add more tests.
49411         * sysdeps/i386/fpu/libm-test-ulps: Update.
49412         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49415 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49417         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49418         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49419         containing bit-fields.
49420         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49421         * soft-fp/single.h (_FP_UNION_S): Likewise.
49422         * soft-fp/double.h (_FP_UNION_D): Likewise.
49424 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49426         [BZ #13786]
49427         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49428         not include ../strcmp.S.
49429         [USE_AS_STRNCASECMP_L]: Likewise.
49430         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49431         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49432         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49433         (__strncasecmp_l_ia32): Define as alias to
49434         __strncasecmp_l_nonascii.
49436         [BZ #5794]
49437         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49438         * sysdeps/i386/fpu/libm-test-ulps: Update.
49439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49441         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49444 2012-02-29  Jeff Law  <law@redhat.com>
49446         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49447         out of bounds read.
49449 2012-02-29  Marek Polacek  <polacek@redhat.com>
49451         [BZ #13706]
49452         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49453         * elf/Makefile: Add rules to run tst-unused-dep.out.
49455 2012-02-28  David S. Miller  <davem@davemloft.net>
49457         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49458         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49459         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49460         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49461         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49462         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49464 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49466         * math/libm-test.inc (llround_test): Move one test from
49467         lround_test.  Use TEST_f_L in moved test.
49468         (lround_test): Move misplaced test to llround_test.  Add testcase
49469         from bug 2561.
49471 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49473         * sysdeps/x86_64/fpu/e_expf.S: New file.
49474         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49476 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49478         [BZ #13637]
49479         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49480         of remain_len that may cause incomplete multi-byte character and
49481         false match.
49482         * posix/bug-regex33.c: New file.
49483         * posix/Makefile (tests): Add bug-regex33.
49485 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49487         * manual/macros.texi: New file.
49488         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49489         * manual/libc.texinfo: Include macros.texi.
49490         * manual/creatute.texi: Likewise.
49491         * manual/install.texi: Likewise.
49492         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49493         @glibcadj{} in references to the GNU C Library.
49494         * manual/charset.texi: Likewise.
49495         * manual/conf.texi: Likewise.
49496         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49497         when not using those macros.
49498         * manual/creature.texi: Likewise.
49499         * manual/crypt.texi: Likewise.
49500         * manual/errno.texi: Likewise.
49501         * manual/filesys.texi: Likewise.
49502         * manual/header.texi: Likewise.
49503         * manual/install.texi: Likewise.
49504         * manual/intro.texi: Likewise.
49505         * manual/io.texi: Likewise.
49506         * manual/job.texi: Likewise.
49507         * manual/lang.texi: Likewise.
49508         * manual/libc.texiinfo: Likewise.
49509         * manual/llio.texi: Likewise.
49510         * manual/locale.texi: Likewise.
49511         * manual/maint.texi: Likewise.
49512         * manual/math.texi: Likewise.
49513         * manual/memory.texi: Likewise.
49514         * manual/message.texi: Likewise.
49515         * manual/nss.texi: Likewise.
49516         * manual/pattern.texi: Likewise.
49517         * manual/process.texi: Likewise.
49518         * manual/resource.texi: Likewise.
49519         * manual/search.texi: Likewise.
49520         * manual/setjmp.texi: Likewise.
49521         * manual/signal.texi: Likewise.
49522         * manual/socket.texi: Likewise.
49523         * manual/startup.texi: Likewise.
49524         * manual/stdio.texi: Likewise.
49525         * manual/string.texi: Likewise.
49526         * manual/sysinfo.texi: Likewise.
49527         * manual/syslog.texi: Likewise.
49528         * manual/terminal.texi: Likewise.
49529         * manual/time.texi: Likewise.
49530         * manual/users.texi: Likewise.
49531         * INSTALL: Regenerated.
49532         * NOTES: Regenerated.
49533         * sysdeps/gnu/errlist.c: Regenerated.
49535 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49537         * include/dirent.h: Include <dirstream.h> before
49538         <dirent/dirent.h>.
49540 2012-02-28  David S. Miller  <davem@davemloft.net>
49542         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49543         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49544         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49545         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49547 2012-02-27  David S. Miller  <davem@davemloft.net>
49549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49551         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49552         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49555         frame pointer instead of stack pointer relative arg slot.
49556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49557         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49558         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49560 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49562         [BZ #3992]
49563         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49565 2012-02-27  David S. Miller  <davem@davemloft.net>
49567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49571         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49572         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49573         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49574         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49576 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49578         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49579         later.  Allow versions 5-9.
49580         * configure: Regenerated.
49581         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49582         required minimum version and 4.6 as recommended version.  Do not
49583         mention bugs in GCC 2.7 and 2.8.
49584         * INSTALL: Regenerated.
49586 2012-02-27  David S. Miller  <davem@davemloft.net>
49588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49592         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49593         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49594         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49595         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49598         manipulate bits before adding and subtracting TWO112[sx].
49599         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49601 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49603         [BZ #13775]
49604         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49605         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49606         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49607         being in POSIX, because they are in 1003.1-2008.
49609         * rt/tst-aio.c: Include <fcntl.h>.
49610         * rt/tst-aio7.c: Likewise.
49611         * rt/tst-aio64.c: Likewise.
49613         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49615 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49617         * manual/install.texi (--with-headers): Describe headers as
49618         interface headers, not private headers.
49619         (Specific advice for GNU/Linux systems): Describe use of headers
49620         from "make headers_install", not private headers from older
49621         kernels.
49622         * INSTALL: Regenerated.
49623         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49624         Change to 2.6.19.
49625         * sysdeps/unix/sysv/linux/configure: Regenerated.
49627         * manual/llio.texi (fclean): Remove documentation.
49629         * manual/Makefile (libc-texi-generated): New variable.  Include
49630         version.texi.
49631         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49632         $(libc-texi-generated), not duplicated list of files.
49633         (version.texi, stamp-version): New rules.
49634         (realclean): Remove $(libc-texi-generated), not individual files
49635         from that list.  Do not remove dir-add.texinfo.
49636         * manual/libc.texinfo: Comment out uses of edition numbers and
49637         references to printed manual.  Remove last-updated dates.
49638         (EDITION): Comment out.
49639         (ISBN): Likewise.
49640         (VERSION, UPDATED): Remove.
49641         (version.texi): Include.
49643 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49645         * sysdeps/posix/spawni.c: Include <signal.h>.
49646         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49647         * sysdeps/pthread/aio_fsync.c: Likewise.
49649 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49651         * conform/Makefile (tests): Run only when not cross-compiling and
49652         when fast-check is not defined.
49654         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49655         * conform/data/limits.h-data: Fixes for POSIX2008.
49656         * conform/run-conformtest.sh: Run all tests.
49657         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49658         headers.
49659         * include/bits/dlfcn.h: Likewise.
49660         * include/langinfo.h: Likewise.
49661         * include/monetary.h: Likewise.
49662         * include/sys/poll.h: Likewise.
49664         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49665         for __USE_GNU.
49666         * posix/spawn.h: Define __need_sigset_t.
49667         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49668         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49669         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49670         to get sigevent_t only.
49671         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49672         only for __USE_GNU.
49673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49674         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49675         process_vm_writev only for __USE_GNU.
49676         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49678         * conform/Makefile: For now ignore errors from run-conformtest.
49679         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49680         POSIX to avoid namespace pollution.  Don't prepend headers.
49681         * conform/data/aio.h-data: Fixes for POSIX testing.
49682         * conform/data/fcntl.h-data: Likewise.
49683         * conform/data/glob.h-data: Likewise.
49684         * conform/data/grp.h-data: Likewise.
49685         * conform/data/pthread.h-data: Likewise.
49686         * conform/data/pwd.h-data: Likewise.
49687         * conform/data/signal.h-data: Likewise.
49688         * conform/data/spawn.h-data: Likewise.
49689         * conform/data/stdio.h-data: Likewise.
49690         * conform/data/stdlib.h-data: Likewise.
49691         * conform/data/stropts.h-data: Likewise.
49692         * conform/data/sys/mman.h-data: Likewise.
49693         * conform/data/sys/stat.h-data: Likewise.
49694         * conform/data/sys/types.h-data: Likewise.
49695         * conform/data/sys/wait.h-data: Likewise.
49696         * conform/data/time.h-data: Likewise.
49697         * conform/data/unistd.h-data: Likewise.
49698         * conform/data/utime.h-data: Likewise.
49700         * io/sys/stat.h: fchmod was always in POSIX.
49701         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49702         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49703         * rt/aio.h: Define __need_timespec before including <time.h>.
49704         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49705         struct.  Add forward declaration of pthread_attr_t and use it in
49706         sigevent.
49707         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49709         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49710         always remove CLK_TCK definition.
49712 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49714         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49716 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49718         * conform/run-conformtest.sh: New file.
49719         * conform/Makefile: Run run-conformtest for tests.
49720         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49721         support.
49723         * conform/data/uchar.h-data: New file.
49724         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49725         * conform/data/arpa/inet.h-data: Likewise.
49726         * conform/data/assert.h-data: Likewise.
49727         * conform/data/complex.h-data: Likewise.
49728         * conform/data/cpio.h-data: Likewise.
49729         * conform/data/ctype.h-data: Likewise.
49730         * conform/data/dirent.h-data: Likewise.
49731         * conform/data/dlfcn.h-data: Likewise.
49732         * conform/data/errno.h-data: Likewise.
49733         * conform/data/fcntl.h-data: Likewise.
49734         * conform/data/float.h-data: Likewise.
49735         * conform/data/fmtmsg.h-data: Likewise.
49736         * conform/data/fnmatch.h-data: Likewise.
49737         * conform/data/ftw.h-data: Likewise.
49738         * conform/data/glob.h-data: Likewise.
49739         * conform/data/grp.h-data: Likewise.
49740         * conform/data/iconv.h-data: Likewise.
49741         * conform/data/inttypes.h-data: Likewise.
49742         * conform/data/langinfo.h-data: Likewise.
49743         * conform/data/libgen.h-data: Likewise.
49744         * conform/data/limits.h-data: Likewise.
49745         * conform/data/locale.h-data: Likewise.
49746         * conform/data/math.h-data: Likewise.
49747         * conform/data/monetary.h-data: Likewise.
49748         * conform/data/mqueue.h-data: Likewise.
49749         * conform/data/ndbm.h-data: Likewise.
49750         * conform/data/net/if.h-data: Likewise.
49751         * conform/data/netdb.h-data: Likewise.
49752         * conform/data/netinet/in.h-data: Likewise.
49753         * conform/data/nl_types.h-data: Likewise.
49754         * conform/data/poll.h-data: Likewise.
49755         * conform/data/pthread.h-data: Likewise.
49756         * conform/data/pwd.h-data: Likewise.
49757         * conform/data/regex.h-data: Likewise.
49758         * conform/data/sched.h-data: Likewise.
49759         * conform/data/search.h-data: Likewise.
49760         * conform/data/semaphore.h-data: Likewise.
49761         * conform/data/setjmp.h-data: Likewise.
49762         * conform/data/signal.h-data: Likewise.
49763         * conform/data/spawn.h-data: Likewise.
49764         * conform/data/stdarg.h-data: Likewise.
49765         * conform/data/stdio.h-data: Likewise.
49766         * conform/data/stdlib.h-data: Likewise.
49767         * conform/data/string.h-data: Likewise.
49768         * conform/data/strings.h-data: Likewise.
49769         * conform/data/stropts.h-data: Likewise.
49770         * conform/data/sys/ipc.h-data: Likewise.
49771         * conform/data/sys/mman.h-data: Likewise.
49772         * conform/data/sys/msg.h-data: Likewise.
49773         * conform/data/sys/resource.h-data: Likewise.
49774         * conform/data/sys/select.h-data: Likewise.
49775         * conform/data/sys/sem.h-data: Likewise.
49776         * conform/data/sys/shm.h-data: Likewise.
49777         * conform/data/sys/socket.h-data: Likewise.
49778         * conform/data/sys/stat.h-data: Likewise.
49779         * conform/data/sys/statvfs.h-data: Likewise.
49780         * conform/data/sys/time.h-data: Likewise.
49781         * conform/data/sys/timeb.h-data: Likewise.
49782         * conform/data/sys/times.h-data: Likewise.
49783         * conform/data/sys/types.h-data: Likewise.
49784         * conform/data/sys/uio.h-data: Likewise.
49785         * conform/data/sys/un.h-data: Likewise.
49786         * conform/data/sys/utsname.h-data: Likewise.
49787         * conform/data/sys/wait.h-data: Likewise.
49788         * conform/data/syslog.h-data: Likewise.
49789         * conform/data/tar.h-data: Likewise.
49790         * conform/data/termios.h-data: Likewise.
49791         * conform/data/utime.h-data: Likewise.
49792         * conform/data/utmpx.h-data: Likewise.
49793         * conform/data/varargs.h-data: Likewise.
49794         * conform/data/wchar.h-data: Likewise.
49795         * conform/data/wctype.h-data: Likewise.
49796         * conform/data/wordexp.h-data: Likewise.
49798         * include/stropts.h: New file.
49799         * include/uchar.h: New file.
49800         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49801         * include/assert.h: Likewise.
49802         * include/ctype.h: Likewise.
49803         * include/dirent.h: Likewise.
49804         * include/dlfcn.h: Likewise.
49805         * include/fcntl.h: Likewise.
49806         * include/fnmatch.h: Likewise.
49807         * include/glob.h: Likewise.
49808         * include/grp.h: Likewise.
49809         * include/libio.h: Likewise.
49810         * include/locale.h: Likewise.
49811         * include/math.h: Likewise.
49812         * include/net/if.h: Likewise.
49813         * include/netdb.h: Likewise.
49814         * include/netinet/in.h: Likewise.
49815         * include/pthread.h: Likewise.
49816         * include/pwd.h: Likewise.
49817         * include/regex.h: Likewise.
49818         * include/sched.h: Likewise.
49819         * include/search.h: Likewise.
49820         * include/setjmp.h: Likewise.
49821         * include/signal.h: Likewise.
49822         * include/stdio.h: Likewise.
49823         * include/stdlib.h: Likewise.
49824         * include/string.h: Likewise.
49825         * include/sys/cdefs.h: Likewise.
49826         * include/sys/mman.h: Likewise.
49827         * include/sys/msg.h: Likewise.
49828         * include/sys/resource.h: Likewise.
49829         * include/sys/select.h: Likewise.
49830         * include/sys/socket.h: Likewise.
49831         * include/sys/stat.h: Likewise.
49832         * include/sys/statvfs.h: Likewise.
49833         * include/sys/time.h: Likewise.
49834         * include/sys/times.h: Likewise.
49835         * include/sys/uio.h: Likewise.
49836         * include/sys/utsname.h: Likewise.
49837         * include/sys/wait.h: Likewise.
49838         * include/termios.h: Likewise.
49839         * include/time.h: Likewise.
49840         * include/ulimit.h: Likewise.
49841         * include/unistd.h: Likewise.
49842         * include/utime.h: Likewise.
49843         * include/wchar.h: Likewise.
49844         * include/wctype.h: Likewise.
49845         * include/wordexp.h: Likewise.
49847         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49849         * time/time.h: TIME_UTC must be a macro.
49850         Make timespec_get available for ISO C11 only as well.
49852 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49854         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49855         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49857 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49859         * configure.in: Use -o not -a in test for unsupported multi-arch.
49861 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49863         * manual/texinfo.tex: Update to version 2012-01-19.16.
49865 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49867         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49869 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49871         [BZ #13738]
49872         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49873         * manual/fdl-1.3.texi: New file.
49874         * manual/fdl-1.1.texi: File removed.
49876         [BZ #13738]
49877         * manual/libc.texinfo (FDL_VERSION): New @set.
49878         Use it for mention of FDL in cover text.
49879         (Documentation License): Use it in @include file name.
49881 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49882             Roland McGrath  <roland@hack.frob.com>
49884         [BZ #5461]
49885         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49886         (not LONG_LONG_MAX and LONG_LONG_MIN.
49887         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49888         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49889         name.
49890         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49892 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49894         [BZ #2547]
49895         [BZ #11365]
49896         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49897         manipulate bits before adding and subtracting TWO23[sx].
49898         * math/libm-test.inc (nearbyint_test): Add more tests.
49900 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49902         [BZ #2548]
49903         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49904         bits before adding and subtracting TWO23[sx].
49905         * math/libm-test.inc (rint_test): Add more tests.
49906         (rint_test_tonearest): Likewise.
49907         (rint_test_towardzero): Likewise.
49908         (rint_test_downward): Likewise.
49909         (rint_test_upward: Likewise.
49911 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49913         [BZ #10110]
49914         * include/stdc-predef.h: New file.  Extracted from features.h.
49915         * include/features.h: Include stdc-predef.h.
49916         * Makefile (headers): Add stdc-predef.h.
49917         * CONFORMANCE (Compiler limitations): Update.
49919 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49921         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49923 2012-02-21  David S. Miller  <davem@davemloft.net>
49925         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49926         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49928 2012-02-20  David S. Miller  <davem@davemloft.net>
49930         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49931         using a normal save/restore sequence, rather than allocating a
49932         dummy stack frame just to store a frame pointer and restore.
49933         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49935 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49937         * manual/install.texi: Fix stray word in line-wrapped comment.
49939 2012-02-20  David S. Miller  <davem@davemloft.net>
49941         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49942         both binutils and gcc support GOTDATA.
49944         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49945         "rd %pc" in the PIC register setup sequences.
49947         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49948         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49949         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49950         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49951         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49952         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49953         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49954         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49956         (SYSCALL_ERROR_HANDLER): Likewise.
49957         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49958         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49959         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49960         (SYSCALL_ERROR_HANDLER): Likewise.
49962         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49963         (HAVE_GCC_GOTDATA): New.
49964         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49965         relocation support in both binutils and gcc.
49966         * sysdeps/sparc/elf/configure: Regenerate.
49968         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49969         * sysdeps/sparc/sparc32/elf/configure: Delete.
49970         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49971         * sysdeps/sparc/sparc64/elf/configure: Delete.
49972         * sysdeps/sparc/elf/configure.in: New file.
49973         * sysdeps/sparc/elf/configure: Generate.
49975         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49976         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49977         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49978         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49979         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49981 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49983         * manual/install.texi: Do not mention specific glibc version
49984         numbers.
49985         * manual/libc.texinfo (VERSION, UPDATED): Update.
49986         (@copying): Use @copyright{} and range of years.
49988 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49990         [BZ #13695]
49991         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49992         [crti.S not in sysdirs] (generated): Do not append.
49993         [crti.S not in sysdirs] (omit-deps): Likewise.
49994         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49995         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49996         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49997         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49998         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49999         Likewise.
50000         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50001         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50002         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50003         * csu/defs.awk: Remove file.
50004         * sysdeps/generic/initfini.c: Likewise.
50005         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50006         variable.
50007         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50008         Likewise.
50010 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50012         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50013         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50014         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50015         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50016         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50017         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50018         <bits/epoll.h>.
50019         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50020         (__EPOLL_PACKED): Define to empty if not defined by
50021         <bits/epoll.h>.
50022         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50024         bits/epoll.h.
50026 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50028         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50029         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50030         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50031         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50032         <bits/timerfd.h>.
50033         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50035         bits/timerfd.h.
50037 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50039         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50040         in C locale.
50041         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50042         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50043         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50046 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
50048         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50049         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50051 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
50053         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50054         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50055         defined.
50056         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50057         Likewise.
50058         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50059         entry for 2.16.
50061 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
50063         * math/w_acos.c: Use non-signaling floating-point comparisons.
50064         * math/w_acosf.c: Likewise.
50065         * math/w_acosh.c: Likewise.
50066         * math/w_acoshf.c: Likewise.
50067         * math/w_acoshl.c: Likewise.
50068         * math/w_acosl.c: Likewise.
50069         * math/w_asin.c: Likewise.
50070         * math/w_asinf.c: Likewise.
50071         * math/w_asinl.c: Likewise.
50072         * math/w_atanh.c: Likewise.
50073         * math/w_atanhf.c: Likewise.
50074         * math/w_atanhl.c: Likewise.
50075         * math/w_exp2.c: Likewise.
50076         * math/w_exp2f.c: Likewise.
50077         * math/w_exp2l.c: Likewise.
50078         * math/w_j0.c: Likewise.
50079         * math/w_j0f.c: Likewise.
50080         * math/w_j0l.c: Likewise.
50081         * math/w_j1.c: Likewise.
50082         * math/w_j1f.c: Likewise.
50083         * math/w_j1l.c: Likewise.
50084         * math/w_jn.c: Likewise.
50085         * math/w_jnf.c: Likewise.
50086         * math/w_log.c: Likewise.
50087         * math/w_log10.c: Likewise.
50088         * math/w_log10f.c: Likewise.
50089         * math/w_log10l.c: Likewise.
50090         * math/w_log2.c: Likewise.
50091         * math/w_log2f.c: Likewise.
50092         * math/w_log2l.c: Likewise.
50093         * math/w_logf.c: Likewise.
50094         * math/w_logl.c: Likewise.
50095         * math/w_sqrt.c: Likewise.
50096         * math/w_sqrtf.c: Likewise.
50097         * math/w_sqrtl.c: Likewise.
50098         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50099         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50100         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50101         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50102         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50104 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50106         [BZ #9739]
50107         * manual/string.texi (strnlen): Use correct parameter name in
50108         equivalent expression.
50110 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50112         [BZ #11174]
50113         * manual/users.texi (seteuid): Consistently use neweuid for
50114         argument name.
50116 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50118         [BZ #13704]
50119         * manual/nss.texi (Services in the NSS configuration): Correct
50120         list of services in example configuration file.
50122 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
50124         [BZ #11322]
50125         * manual/arith.texi: Remove statements about negative zero
50126         behaving identically to zero.
50128 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50130         [BZ #5993]
50131         * manual/install.texi: Do not document upgrading from libc5.
50133 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50135         [BZ #4596]
50136         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50138 2012-02-18  David S. Miller  <davem@davemloft.net>
50140         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50141         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50142         %o7 across the call.
50143         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50144         instead.
50145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50146         SETUP_PIC_REG_LEAF.
50147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50148         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50149         * sysdeps/sparc/crtn.S: Likewise.
50151 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
50153         * aout/Makefile: Remove.
50155 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
50157         [BZ #13058]
50158         * manual/examples/argp-ex1.c (main): Format definition in GNU
50159         style.
50160         * manual/examples/argp-ex2.c (main): Likewise.
50161         * manual/examples/argp-ex3.c (main): Likewise.
50162         * manual/examples/argp-ex4.c (main): Likewise.
50163         * manual/examples/longopt.c (main): Use new-style prototype
50164         definition.
50165         * manual/examples/strncat.c (main): Specify return type and use
50166         (void) for arguments.
50167         * manual/examples/subopt.c (main): Use char **argv argument.
50169 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50171         [BZ #5077]
50172         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50173         rounding modes.
50175 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
50177         [BZ #6907]
50178         * manual/string.texi (strchr): Change when strchrnul is
50179         recommended.
50181 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
50183         [BZ #174]
50184         * manual/locale.texi (setlocale): Document LOCPATH.
50186 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50188         [BZ #10210]
50189         * manual/process.texi (execle): Move @dots{} before last argument.
50191 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50193         [BZ #12047]
50194         * manual/charset.texi (Generic Charset Conversion): Fix typo
50195         (LC_TYPE -> LC_CTYPE).
50197 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50199         [BZ #5805]
50200         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50201         (scalbnf): Likewise.
50202         (scalbnl): Likewise.
50203         (scalbln): Likewise.
50204         (scalblnf): Likewise.
50205         (scalblnl): Likewise.
50206         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50207         (vwarnx): Likewise.
50208         (verr): Likewise.
50209         (verrx): Likewise.
50210         * manual/filesys.texi (telldir): Use braces around return type.
50211         * manual/llio.texi (mmap): Add space after comma.
50212         (mmap64): Likewise.
50213         * manual/math.texi (jn): Use @var{} on parameter names.
50214         (jnf): Likewise.
50215         (jnl): Likewise.
50216         (yn): Likewise.
50217         (ynf): Likewise.
50218         (ynl): Likewise.
50219         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50220         line.
50221         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50222         "...".
50223         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50224         (sched_get_priority_max): Likewise.
50225         * manual/signal.texi (sigvec): Add space after comma.
50226         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50227         names.
50228         (if_indextoname): Likewise.
50229         (if_freenameindex): Likewise.
50230         (sendto): Use ',' instead of '.' in prototype.
50231         * manual/startup.texi (syscall): Use @dots{} instead of literal
50232         "...".
50233         * manual/stdio.texi (__fpending): Separate initial words of
50234         paragraph from @deftypefun line.
50235         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50236         "...".
50237         (vsyslog): Use @var{} on parameter names.
50238         * manual/terminal.texi (stty): Use @var{} on parameter names.
50239         * manual/users.texi (getutmp): Use @var{} on parameter names.
50240         (getutmpx): Likewise.
50242 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50244         [BZ #6884]
50245         * manual/stdio.texi (fopen): Fix typos in description of
50246         ",ccs=STRING".
50248 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50250         [BZ #4026]
50251         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50252         get clock_id definition.
50254 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50256         [BZ #4822]
50257         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50258         (madvise): Cast every argument to void on its own.
50260 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50262         [BZ #9902]
50263         * manual/startup.texi (Exit Status): Fix typo.
50265 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50267         [BZ #10140]
50268         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50269         * manual/examples/argp-ex2.c: Likewise.
50270         * manual/examples/argp-ex3.c: Likewise.
50272 2012-02-16  Richard Henderson  <rth@redhat.com>
50274         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50275         * sysdeps/s390/s390-32/initfini.c: Remove.
50276         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50277         * sysdeps/s390/s390-64/initfini.c: Remove.
50279 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50281         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50282         compiler output for sysdeps/generic/initfini.c.
50283         * sysdeps/sh/elf/initfini.c: Remove file.
50285 2012-02-16  David S. Miller  <davem@davemloft.net>
50287         [BZ #11494]
50288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50290         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50291         * sysdeps/sparc/crti.S: New file.
50292         * sysdeps/sparc/crtn.S: New file.
50293         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50294         * sysdeps/sparc/sparc64/Makefile: Likewise.
50296 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50298         [BZ #3335]
50299         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50301 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50303         [BZ #4822]
50304         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50306         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50307         (write, read, close): Likewise.
50308         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50310 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50312         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50313         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50314         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50315         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50316         <bits/signalfd.h>.
50317         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50319         bits/signalfd.h.
50321 2012-02-14  Marek Polacek  <polacek@redhat.com>
50323         * sysdeps/x86_64/crti.S: New file.
50324         * sysdeps/x86_64/crtn.S: New file.
50325         * sysdeps/x86_64/elf/initfini.c: Remove file.
50327 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50329         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50330         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50331         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50332         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50333         <bits/inotify.h>.
50334         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50336         bits/inotify.h.
50338 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50340         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50341         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50342         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50343         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50344         <bits/eventfd.h>.
50345         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50347         bits/eventfd.h.
50349 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50351         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50352         __feraiseexcept instead of feraiseexcept.
50354         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50355         nanosleep invocations.
50356         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50357         strings, and add error checking for a nanosleep invocations.
50359 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50361         Replace FSF snail mail address with URLs, as per GNU coding standards.
50362         Most of the snail mail addresses were wrong anyway, and omitting
50363         them makes the source code easier to maintain.  Almost all of the
50364         changes are to license notices and to locale LC_IDENTIFICATION
50365         addresses, except for this one:
50366         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50367         not its snail mail address.
50369 2012-02-09  Richard Henderson  <rth@twiddle.net>
50371         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50372         of kernel-features.h.
50374         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50376 2012-02-08  Marek Polacek  <polacek@redhat.com>
50378         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50379         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50380         * sysdeps/gnu/_G_config.h: Likewise.
50381         * sysdeps/generic/_G_config.h: Likewise.
50383 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50385         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50386         tests.
50387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50389         * sysdeps/powerpc/powerpc32/crti.S: New file.
50390         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50391         * sysdeps/powerpc/powerpc64/crti.S: New file.
50392         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50394         * Makeconfig (have-initfini): Don't set.
50395         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50396         * configure.in (nopic_initfini): Don't substitute.
50397         * config.h.in (HAVE_INITFINI): Don't #undef.
50398         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50399         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50401 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50403         Support crti.S and crtn.S provided directly by architectures.
50404         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50405         [crti.S in sysdirs] (omit-deps): Likewise.
50406         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50407         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50408         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50409         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50410         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50411         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50412         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50413         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50414         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50415         compiler output for sysdeps/generic/initfini.c.
50416         * sysdeps/i386/elf/Makefile: Remove file.
50417         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50419 2012-02-07  Marek Polacek  <polacek@redhat.com>
50421         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50422         * sysdeps/gnu/_G_config.h: Likewise.
50423         * sysdeps/mach/hurd/_G_config.h: Likewise.
50425 2012-02-07  Marek Polacek  <polacek@redhat.com>
50427         * math/Makefile (tests): Add tst-CMPLX2.
50428         * math/tst-CMPLX2.c: New file.
50430 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50432         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50434         * math/libm-test.inc (jn_test): Add missing L suffix.
50436 2012-02-06  Marek Polacek  <polacek@redhat.com>
50438         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50439         * sysdeps/i386/fpu/e_powf.S: Likewise.
50440         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50441         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50442         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50443         * sysdeps/i386/fpu/e_pow.S: Likewise.
50444         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50445         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50446         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50447         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50448         * sysdeps/i386/fpu/e_log2.S: Likewise.
50449         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50450         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50451         * sysdeps/i386/fpu/e_powl.S: Likewise.
50452         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50453         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50454         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50455         * sysdeps/i386/fpu/e_logl.S: Likewise.
50456         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50457         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50458         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50459         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50460         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50461         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50462         * sysdeps/i386/fpu/e_log.S: Likewise.
50463         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50464         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50465         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50466         * sysdeps/i386/fpu/e_logf.S: Likewise.
50467         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50468         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50469         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50470         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50471         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50472         * sysdeps/i386/fpu/e_log10.S: Likewise.
50473         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50474         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50475         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50476         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50477         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50478         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50479         * sysdeps/i386/asm-syntax.h: Likewise.
50480         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50481         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50482         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50483         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50484         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50485         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50486         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50487         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50488         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50489         * sysdeps/powerpc/sysdep.h: Likewise.
50490         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50491         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50493 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50495         [BZ #411]
50496         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50498 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50500         * sysdeps/i386/sysdep.h: Include <features.h>.
50501         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50502         version.
50504 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50506         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50507         Define.
50508         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50509         LOAD_PIC_REG_STR.
50511 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50513         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50514         (SETUP_PIC_REG): Use GET_PC_THUNK.
50515         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50516         macro.
50518 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50520         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50521         for non-PIC compilation.
50522         (SETUP_PIC_REG): Add .p2align directive.
50523         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50524         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50525         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50526         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50527         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50528         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50529         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50530         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50531         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50532         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50533         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50534         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50535         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50536         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50537         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50538         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50539         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50540         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50541         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50542         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50543         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50544         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50545         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50546         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50547         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50548         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50549         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50550         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50551         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50552         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50553         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50554         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50555         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50556         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50557         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50558         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50559         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50560         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50561         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50562         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50563         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50565 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50567         * math/tst-CMPLX.c: Include <stdio.h>.
50569 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50571         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50572         float.
50573         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50574         * sysdeps/sparc/bits/mathdef.h: Likewise.
50576 2012-01-31  Marek Polacek  <polacek@redhat.com>
50578         * libio/libio.h: Don't define _PARAMS.
50579         * locale/programs/config.h: Don't define PARAMS.
50580         * stdlib/strtol_l.c: Likewise.
50581         (__strtol_l): Remove PARAMS from the prototype.
50583 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50585         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50586         names.  Just use the correct names.  Remove unnecessary wrapper
50587         functions.
50588         * malloc/arena.c: Likewise.
50589         * malloc/hooks.c: Likewise.
50591         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50592         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50593         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50595 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50597         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50598         into tail calls.
50599         (update_get_addr): New function.
50600         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50601         GET_ADDR_MODULE parameter.
50603 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50605         * crypt/cert.c: Remove __STDC__ conditionals.
50606         * crypt/crypt-entry.c: Likewise.
50607         * crypt/crypt_util.c: Likewise.
50608         * libio/filedoalloc.c: Likewise.
50609         * libio/fileops.c: Likewise.
50610         * libio/genops.c: Likewise.
50611         * libio/iofclose.c: Likewise.
50612         * libio/iofdopen.c: Likewise.
50613         * libio/iofopen.c: Likewise.
50614         * libio/iofopen64.c: Likewise.
50615         * libio/iogetdelim.c: Likewise.
50616         * libio/iopopen.c: Likewise.
50617         * libio/obprintf.c: Likewise.
50618         * libio/oldfileops.c: Likewise.
50619         * libio/oldiofclose.c: Likewise.
50620         * libio/oldiofdopen.c: Likewise.
50621         * libio/oldiofopen.c: Likewise.
50622         * libio/oldiopopen.c: Likewise.
50623         * libio/wfiledoalloc.c: Likewise.
50624         * libio/wgenops.c: Likewise.
50625         * locale/programs/xmalloc.c: Likewise.
50626         * misc/syslog.c: Likewise.
50627         * stdio-common/xbug.c: Likewise.
50628         * string/memchr.c: Likewise.
50629         * string/memcmp.c: Likewise.
50630         * string/memrchr.c: Likewise.
50631         * string/rawmemchr.c: Likewise.
50632         * sysdeps/posix/getcwd.c: Likewise.
50633         * time/strftime_l.c: Likewise.
50635 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50637         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50638         * config.make.in (config-cflags-sse2avx): Define.
50639         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50640         Fix typo.
50642 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50644         * scripts/config.guess: Update from upstream config git repository.
50645         * scripts/config.sub: Likewise.
50647 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50649         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50650         (EM_NUM): Update.
50651         (R_TILEPRO_*, R_TILEGX_*): New macros.
50653         * scripts/firstversions.awk: Fix bug in version range handling.
50655         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50657         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50659         * include/sys/epoll.h: New file.
50660         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50661         libc_hidden_def.
50663 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50665         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50666         Avoid unnecessary __WORDSIZE == 64 test.
50667         (fmaxf): Use VEX format if possible.
50668         (fmax): Likewise.
50669         (fminf): Likewise.
50670         (fmin): Likewise.
50672         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50673         * math/math_private.h: Remove libc_fegetround* and
50674         libc_fesetround*.
50675         * sysdeps/i386/configure.in: Check for -msse2avx.
50676         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50677         also if SSE2AVX is defined.
50678         Remove libc_fegetround* and libc_fesetround*.
50679         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50680         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50681         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50682         of HAS_YMM_USABLE.
50683         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50684         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50686         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50687         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50689         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50691 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50693         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50694         size is not set.
50695         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50697 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50699         [BZ #13618]
50700         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50701         relocation.
50702         * Makeconfig (libm): Define.
50703         * elf/Makefile: Add rules to build and run tst-relsort1.
50704         * elf/tst-relsort1.c: New file.
50705         * elf/tst-relsort1mod1.c: New file.
50706         * elf/tst-relsort1mod2.c: New file.
50708 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50710         * math/s_ldexp.c: Remove __STDC__ conditionals.
50711         * math/s_ldexpf.c: Likewise.
50712         * math/s_ldexpl.c: Likewise.
50713         * math/s_nextafter.c: Likewise.
50714         * math/s_nexttowardf.c: Likewise.
50715         * math/s_significand.c: Likewise.
50716         * math/s_significandf.c: Likewise.
50717         * math/s_significandl.c: Likewise.
50718         * math/w_jnl.c: Likewise.
50719         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50720         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50721         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50722         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50723         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50725         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50733         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50738         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50739         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50740         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50741         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50742         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50743         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50744         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50745         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50746         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50747         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50748         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50750         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50751         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50752         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50753         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50754         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50755         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50756         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50757         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50758         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50759         * sysdeps/ieee754/k_standard.c: Likewise.
50760         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50761         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50762         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50763         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50764         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50765         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50766         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50767         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50768         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50769         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50770         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50771         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50772         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50773         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50774         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50776         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50777         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50778         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50779         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50780         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50781         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50782         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50783         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50784         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50785         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50789         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50790         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50791         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50792         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50793         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50794         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50795         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50796         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50797         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50798         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50799         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50800         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50802         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50803         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50804         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50805         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50806         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50808         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50809         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50810         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50811         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50813         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50814         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50815         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50816         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50817         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50818         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50819         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50820         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50821         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50822         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50823         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50824         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50825         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50826         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50827         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50828         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50829         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50830         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50831         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50832         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50833         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50834         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50835         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50836         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50837         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50838         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50839         * sysdeps/ieee754/s_matherr.c: Likewise.
50840         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50841         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50843         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50845 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50847         * crypt/md5.h: Remove __STDC__ conditionals.
50848         * libio/libioP.h: Likewise.
50849         * locale/programs/config.h: Likewise.
50850         * sysdeps/generic/sysdep.h: Likewise.
50851         * sysdeps/i386/asm-syntax.h: Likewise.
50852         * sysdeps/s390/asm-syntax.h: Likewise.
50853         * sysdeps/unix/sysdep.h: Likewise.
50854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50857 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50859         * libio/libio.h: Remove __STDC__ conditionals.
50860         * malloc/obstack.h: Likewise.
50861         * math/complex.h: Likewise.
50862         * math/math.h: Likewise.
50863         * sysdeps/generic/_G_config.h: Likewise.
50864         * sysdeps/gnu/_G_config.h: Likewise.
50865         * sysdeps/mach/hurd/_G_config.h: Likewise.
50866         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50867         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50868         * sysdeps/sparc/bits/mathdef.h: Likewise.
50870 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50872         [BZ #13583]
50873         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50874         Clean up HAS_* macros.
50875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50876         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50877         possible.
50878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50879         HAS_AVX.
50880         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50881         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50882         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50883         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50884         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50886 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50888         * elf/tst-unique3.cc (gets): Remove declaration.
50889         * elf/tst-unique3lib.cc (gets): Likewise.
50890         * elf/tst-unique3lib2.cc (gets): Likewise.
50891         * elf/tst-unique4.cc (gets): Likewise.
50893 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50895         * include/stdio.h: Add C++ protection.  Add gets declarations and
50896         definitions.
50897         * debug/tst-chk1.c: Don't declare gets here.
50898         * stdio-common/tst-gets.c: Likewise.
50900 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50902         * posix/glob: Remove directory.
50904 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50906         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50908 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50910         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50911         of the non-standard EPFNOSUPPORT.
50913 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50915         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50916         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50917         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50919 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50921         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50923 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50925         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50926         transient errors.
50927         * nscd/grpcache.c (cache_addgr): Likewise.
50928         * nscd/hstcache.c (cache_addhst): Likewise.
50929         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50930         * nscd/pwdcache.c (cache_addpw): Likewise.
50931         * nscd/servicescache.c (cache_addserv): Likewise.
50933 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50935         * malloc/malloc.c: Various cleanups.
50936         * malloc/hooks.c: Likewise.
50938         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50939         * stdlib/bug-fmtmsg1.c: New file.
50941         * stdlib/fmtmsg.c (init): Add missing unlock.
50942         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50944 2012-01-12  Marek Polacek  <polacek@redhat.com>
50946         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50947         and _GNU_SOURCE.
50949 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50951         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50952         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50953         macro to ensure uniqueness of label name.
50954         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50955         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50957 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50959         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50961         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50962         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50963         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50966 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50968         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50970         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50971         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50972         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50974         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50976         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50977         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50978         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50979         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50981         * math/bits/math-finite.h: Add ldexp support.
50983 2012-01-10  Marek Polacek  <polacek@redhat.com>
50985         * locale/programs/localedef.h (show_archive_content): Add noreturn
50986         attribute.
50988 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50990         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50992 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50994         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50996         * io/Makefile (headers): Add bits/poll2.h.
50998 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
51000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51001         typo #include statement.
51003 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51005         * include/sys/cdefs.h: Define __attribute_alloc_size.
51006         * catgets/gencat.c: Add alloc_size attribute and apply consistently
51007         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51008         * elf/pldd.c: Likewise.
51009         * iconv/iconv_charmap.c: Likewise.
51010         * iconv/iconvconfig.c: Likewise.
51011         * iconv/strtab.c: Likewise.
51012         * locale/programs/locale.c: Likewise.
51013         * locale/programs/localedef.h: Likewise.
51014         * locale/programs/simple-hash.c: Likewise.
51015         * nscd/nscd.h: Likewise.
51016         * nss/makedb.c: Likewise.
51017         * sysdeps/generic/ldconfig.h: Likewise.
51018         * locale/programs/localedef.c: Remove xmalloc prototype.
51019         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51021 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51023         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51024         appropriate.
51026 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51028         * math/Makefile (tests): Add tst-CMPLX.
51029         * math/tst-CMPLX.c: New file.
51031         * math/complex.h (CMPLXL): Fix typo.
51033         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51034         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51035         GLIBC_2.16.
51036         * debug/tst-chk1.c: Add poll and ppoll tests.
51037         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51038         * include/sys/poll.h: Add hidden proto for ppoll.
51039         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51040         * sysdeps/mach/hurd/ppoll.c: Likewise.
51041         * io/ppoll.c: Likewise.
51042         * debug/poll_chk.c: New file.
51043         * debug/ppoll_chk.c: New file.
51044         * include/bits/poll2.h: New file.
51045         * io/bits/poll2.h: New file.
51047         [BZ #1350]
51048         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51050         * configure.in: static is always set to yes.  Remove.
51051         * config.make.in: Don't set build-static.
51052         * Makeconfig: Remove use of build-static.
51053         * dlfcn/Makefile: Likewise.
51054         * elf/Makefile: Likewise.
51055         * math/Makefile: Likewise.
51056         * misc/Makefile: Likewise.
51057         * nptl/Makefile: Likewise.
51058         * sysdeps/mach/hurd/Makefile: Likewise.
51060         * configure.in: PWD_P is not used anymore.
51061         * config.make.in: Remove PWD_P entry.
51063         * configure.in: Remove last remnants of RANLIB.
51064         No need to check for signed size_t anymore.
51065         Don't set libc_commonpagesize and libc_relro_required here for Alpha
51066         and IA-64.
51067         Remove __builtin_expect test because we require at least gcc 3.4.
51068         * aclocal.m4: Likewise.
51070         * wcsmbs/mbrtoc16.c: Implement using towc function.
51071         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51072         * wcsmbs/wcsmbsload.c: Likewise.
51073         * iconv/gconv_simple.c: Likewise.
51074         * iconv/gconv_int.h: Likewise.
51075         * iconv/gconv_builtin.h: Likewise.
51076         * iconv/iconv_prog.c: Remove CHAR16 handling.
51078         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51080         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51082         * configure.in: Remove --with-elf and --enable-bounded options.
51083         Dont set base_machine for ia64.  More non-ELF conditions removed.
51084         Remove testing and setting of leading underscore information.
51085         * config.make.in (build-bounded): Set to no.
51086         * config.h.in: Remove NO_UNDERSCORES entry.
51087         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
51088         them.
51089         * csu/start.c: Remove !NO_UNDERSCORE code.
51090         * locale/localeinfo.h: Likewise.
51091         * sysdeps/generic/machine-gmon.h: Likewise.
51092         * sysdeps/generic/sysdep.h: Likewise.
51093         * sysdeps/i386/sysdep.h: Likewise.
51094         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51095         * sysdeps/mach/sysdep.h: Likewise.
51096         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51098         * sysdeps/sh/sysdep.h: Likewise.
51099         * sysdeps/sparc/sparc32/alloca.S: Likewise.
51100         * sysdeps/unix/i386/sysdep.S: Likewise.
51101         * sysdeps/unix/sparc/start.c: Likewise.
51102         * sysdeps/unix/sparc/sysdep.S: Likewise.
51103         * sysdeps/unix/sparc/sysdep.h: Likewise.
51104         * sysdeps/unix/start.c: Likewise.
51105         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51106         * sysdeps/x86_64/sysdep.h: Likewise.
51108 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
51110         [BZ #13553]
51111         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51112         for non-gcc.
51113         * argp/argp-fmtstream.h: Use const instead __const.
51114         * argp/argp.h: Likewise.
51115         * assert/assert.h: Likewise.
51116         * bits/fenv.h: Likewise.
51117         * bits/sched.h: Likewise.
51118         * bits/sigset.h: Likewise.
51119         * bits/sigthread.h: Likewise.
51120         * catgets/nl_types.h: Likewise.
51121         * conform/data/pthread.h-data: Likewise.
51122         * crypt/crypt-private.h: Likewise.
51123         * crypt/crypt.h: Likewise.
51124         * crypt/crypt_util.c: Likewise.
51125         * ctype/ctype.h: Likewise.
51126         * debug/execinfo.h: Likewise.
51127         * debug/mbsnrtowcs_chk.c: Likewise.
51128         * debug/mbsrtowcs_chk.c: Likewise.
51129         * debug/wcsnrtombs_chk.c: Likewise.
51130         * debug/wcsrtombs_chk.c: Likewise.
51131         * debug/wcstombs_chk.c: Likewise.
51132         * dirent/dirent.h: Likewise.
51133         * dlfcn/dlfcn.h: Likewise.
51134         * elf/neededtest4.c: Likewise.
51135         * grp/grp.h: Likewise.
51136         * gshadow/gshadow.h: Likewise.
51137         * iconv/gconv.h: Likewise.
51138         * iconv/gconv_int.h: Likewise.
51139         * iconv/gconv_simple.c: Likewise.
51140         * iconv/iconv.h: Likewise.
51141         * iconv/loop.c: Likewise.
51142         * iconv/skeleton.c: Likewise.
51143         * include/aio.h: Likewise.
51144         * include/aliases.h: Likewise.
51145         * include/argz.h: Likewise.
51146         * include/arpa/inet.h: Likewise.
51147         * include/assert.h: Likewise.
51148         * include/dirent.h: Likewise.
51149         * include/dlfcn.h: Likewise.
51150         * include/execinfo.h: Likewise.
51151         * include/fcntl.h: Likewise.
51152         * include/fenv.h: Likewise.
51153         * include/glob.h: Likewise.
51154         * include/grp.h: Likewise.
51155         * include/libintl.h: Likewise.
51156         * include/mntent.h: Likewise.
51157         * include/netdb.h: Likewise.
51158         * include/pwd.h: Likewise.
51159         * include/rpc/netdb.h: Likewise.
51160         * include/sched.h: Likewise.
51161         * include/search.h: Likewise.
51162         * include/shadow.h: Likewise.
51163         * include/signal.h: Likewise.
51164         * include/stdio.h: Likewise.
51165         * include/stdlib.h: Likewise.
51166         * include/string.h: Likewise.
51167         * include/sys/socket.h: Likewise.
51168         * include/sys/stat.h: Likewise.
51169         * include/sys/statfs.h: Likewise.
51170         * include/sys/statvfs.h: Likewise.
51171         * include/sys/syslog.h: Likewise.
51172         * include/sys/time.h: Likewise.
51173         * include/sys/uio.h: Likewise.
51174         * include/time.h: Likewise.
51175         * include/unistd.h: Likewise.
51176         * include/utmp.h: Likewise.
51177         * include/wchar.h: Likewise.
51178         * include/wctype.h: Likewise.
51179         * inet/aliases.h: Likewise.
51180         * inet/arpa/inet.h: Likewise.
51181         * inet/netinet/ether.h: Likewise.
51182         * inet/netinet/in.h: Likewise.
51183         * intl/libintl.h: Likewise.
51184         * io/bits/fcntl2.h: Likewise.
51185         * io/fcntl.h: Likewise.
51186         * io/ftw.h: Likewise.
51187         * io/sys/poll.h: Likewise.
51188         * io/sys/stat.h: Likewise.
51189         * io/sys/statfs.h: Likewise.
51190         * io/sys/statvfs.h: Likewise.
51191         * io/utime.h: Likewise.
51192         * libio/bits/stdio.h: Likewise.
51193         * libio/bits/stdio2.h: Likewise.
51194         * libio/libio.h: Likewise.
51195         * libio/libioP.h: Likewise.
51196         * libio/stdio.h: Likewise.
51197         * locale/lc-ctype.c: Likewise.
51198         * locale/locale.h: Likewise.
51199         * login/utmp.h: Likewise.
51200         * malloc/arena.c: Likewise.
51201         * malloc/malloc.c: Likewise.
51202         * malloc/malloc.h: Likewise.
51203         * malloc/mcheck.c: Likewise.
51204         * malloc/mtrace.c: Likewise.
51205         * math/bits/mathcalls.h: Likewise.
51206         * math/fenv.h: Likewise.
51207         * math/math_private.h: Likewise.
51208         * misc/bits/error.h: Likewise.
51209         * misc/bits/syslog.h: Likewise.
51210         * misc/err.h: Likewise.
51211         * misc/error.h: Likewise.
51212         * misc/fstab.h: Likewise.
51213         * misc/mntent.h: Likewise.
51214         * misc/regexp.h: Likewise.
51215         * misc/search.h: Likewise.
51216         * misc/sgtty.h: Likewise.
51217         * misc/sys/mman.h: Likewise.
51218         * misc/sys/syslog.h: Likewise.
51219         * misc/sys/uio.h: Likewise.
51220         * misc/sys/xattr.h: Likewise.
51221         * misc/ttyent.h: Likewise.
51222         * nis/rpcsvc/ypclnt.h: Likewise.
51223         * nss/nss.h: Likewise.
51224         * posix/bits/unistd.h: Likewise.
51225         * posix/fnmatch.h: Likewise.
51226         * posix/glob.h: Likewise.
51227         * posix/sched.h: Likewise.
51228         * posix/spawn.h: Likewise.
51229         * posix/sys/wait.h: Likewise.
51230         * posix/unistd.h: Likewise.
51231         * posix/wordexp.h: Likewise.
51232         * pwd/pwd.h: Likewise.
51233         * resolv/netdb.h: Likewise.
51234         * resource/sys/resource.h: Likewise.
51235         * rt/aio.h: Likewise.
51236         * rt/bits/mqueue2.h: Likewise.
51237         * rt/mqueue.h: Likewise.
51238         * shadow/shadow.h: Likewise.
51239         * signal/signal.h: Likewise.
51240         * socket/send.c: Likewise.
51241         * socket/sendto.c: Likewise.
51242         * socket/sys/socket.h: Likewise.
51243         * stdio-common/printf.h: Likewise.
51244         * stdlib/bits/stdlib.h: Likewise.
51245         * stdlib/fmtmsg.h: Likewise.
51246         * stdlib/monetary.h: Likewise.
51247         * stdlib/stdlib.h: Likewise.
51248         * stdlib/ucontext.h: Likewise.
51249         * streams/stropts.h: Likewise.
51250         * string/argz.h: Likewise.
51251         * string/bits/string2.h: Likewise.
51252         * string/string.h: Likewise.
51253         * string/strings.h: Likewise.
51254         * sunrpc/rpc/auth.h: Likewise.
51255         * sunrpc/rpc/auth_des.h: Likewise.
51256         * sunrpc/rpc/clnt.h: Likewise.
51257         * sunrpc/rpc/netdb.h: Likewise.
51258         * sunrpc/rpc/pmap_clnt.h: Likewise.
51259         * sunrpc/rpc/xdr.h: Likewise.
51260         * sysdeps/generic/inttypes.h: Likewise.
51261         * sysdeps/generic/net/if.h: Likewise.
51262         * sysdeps/generic/sys/swap.h: Likewise.
51263         * sysdeps/gnu/net/if.h: Likewise.
51264         * sysdeps/gnu/utmpx.h: Likewise.
51265         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51266         * sysdeps/i386/i486/bits/string.h: Likewise.
51267         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51268         * sysdeps/s390/bits/string.h: Likewise.
51269         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51270         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51271         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51272         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51273         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51274         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51275         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51276         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51277         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51278         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51279         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51280         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51281         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51282         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51283         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51284         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51285         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51287         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51288         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51289         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51290         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51291         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51292         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51293         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51294         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51295         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51296         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51297         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51298         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51299         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51300         * sysvipc/sys/ipc.h: Likewise.
51301         * sysvipc/sys/msg.h: Likewise.
51302         * sysvipc/sys/sem.h: Likewise.
51303         * sysvipc/sys/shm.h: Likewise.
51304         * termios/termios.h: Likewise.
51305         * time/sys/time.h: Likewise.
51306         * time/time.h: Likewise.
51307         * wcsmbs/bits/wchar2.h: Likewise.
51308         * wcsmbs/uchar.h: Likewise.
51309         * wcsmbs/wchar.h: Likewise.
51310         * wctype/wctype.h: Likewise.
51312         [BZ #13551]
51313         * Makeconfig: Remove all but ELF support including AIX support.
51314         * Makerules: Likewise.
51315         * config.h.in: Likewise.
51316         * config.make.in: Likewise.
51317         * configure: Likewise.
51318         * configure.in: Likewise.
51319         * csu/Makefile: Likewise.
51320         * csu/version.c: Likewise.
51321         * debug/Makefile: Likewise.
51322         * dlfcn/Makefile: Likewise.
51323         * elf/Makefile: Likewise.
51324         * extra-lib.mk: Likewise.
51325         * iconv/Makefile: Likewise.
51326         * include/libc-symbols.h: Likewise.
51327         * include/shlib-compat.h: Likewise.
51328         * resolv/Makefile: Likewise.
51329         * resolv/res_libc.c: Likewise.
51330         * rt/Makefile: Likewise.
51331         * sysdeps/i386/asm-syntax.h: Likewise.
51332         * sysdeps/i386/sysdep.h: Likewise.
51333         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51334         * sysdeps/mach/sysdep.h: Likewise.
51335         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51336         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51337         * sysdeps/s390/asm-syntax.h: Likewise.
51338         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51339         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51340         * sysdeps/sh/sysdep.h: Likewise.
51341         * sysdeps/unix/sparc/sysdep.h: Likewise.
51342         * sysdeps/wordsize-32/divdi3.c: Likewise.
51343         * sysdeps/x86_64/sysdep.h: Likewise.
51345         * argp/Versions: Remove _argp_unlock_xxx.
51347         [BZ #13559]
51348         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51349         * abilist/libBrokenLocale.abilist: Likewise.
51350         * abilist/libanl.abilist: Likewise.
51351         * abilist/libc.abilist: Likewise.
51352         * abilist/libcrypt.abilist: Likewise.
51353         * abilist/libdl.abilist: Likewise.
51354         * abilist/libm.abilist: Likewise.
51355         * abilist/libnsl.abilist: Likewise.
51356         * abilist/libpthread.abilist: Likewise.
51357         * abilist/libresolv.abilist: Likewise.
51358         * abilist/librt.abilist: Likewise.
51359         * abilist/libthread_db.abilist: Likewise.
51360         * abilist/libutil.abilist: Likewise.
51361         * abilist/libnss_db.abilist: New file.
51363         * scripts/abilist.awk: Add support for indirect functions.
51365         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51367         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51369         * shlib-versions: Remove entries for ports architectures.
51371         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51372         files in ports.
51373         * elf/stackguard-macros.h: Remove support for IA-64.
51374         * elf/tst-auditmod1.c: Likewise.
51375         * sysdeps/generic/ldsodefs.h: Likewise.
51377         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51378         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51379         configure files.
51381         [BZ #13552]
51382         * configure.in: Remove --enable-omitfp support.
51383         * FAQ.in: Adjust.
51384         * config.make.in: Likewise.
51385         * Makeconfig: Likewise.
51386         * manual/install.texi: Likewise.
51388         In case anyone cares, the IA-64 architecture could move to ports.
51389         * sysdeps/ia64/*: Removed.
51390         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51391         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51393         [BZ #13555]
51394         * configure.in: Remove entries for unsupported architectures.
51396         [BZ #13533]
51397         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51398         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51399         routines.
51400         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51401         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51402         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51403         fall back to using wcrtomb.
51404         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51405         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51406         renaming.
51407         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51408         * wcsmbs/tst-c16c32-1.c: New file.
51410         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51411         local variable.
51413         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51415         * elf/tst-unique3.cc: Add explicit declaration of gets.
51416         * elf/tst-unique3lib.cc: Likewise.
51417         * elf/tst-unique3lib2.cc: Likewise.
51418         * elf/tst-unique4.cc: Likewise.
51420         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51422 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51424         [BZ #13566]
51425         * assert/assert.h (static_assert): Don't define for C++.
51426         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51427         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51429 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51431         * iconv/loop.c (single loop): Fix assertion in storing of
51432         remaining bytes.
51434         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51436 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51438         * posix/getconf.c: Update copyright year.
51439         * nss/getent.c: Likewise.
51440         * nss/makedb.c: Likewise.
51441         * iconv/iconvconfig.c: Likewise.
51442         * iconv/iconv_prog.c: Likewise.
51443         * elf/ldconfig.c: Likewise.
51444         * elf/pldd.c: Likewise.
51445         * elf/sotruss.ksh: Likewise.
51446         * catgets/gencat.c: Likewise.
51447         * csu/version.c: Likewise.
51448         * elf/ldd.bash.in: Likewise.
51449         * elf/sprof.c (print_version): Likewise.
51450         * locale/programs/locale.c: Likewise.
51451         * locale/programs/localedef.c: Likewise.
51452         * login/programs/pt_chown.c: Likewise.
51453         * nscd/nscd.c (print_version): Likewise.
51454         * debug/xtrace.sh: Likewise.
51455         * malloc/memusage.sh: Likewise.
51456         * malloc/mtrace.pl: Likewise.
51457         * debug/catchsegv.sh: Likewise.
51459 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51461         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51462         pure attribute.
51464 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51466         [BZ #13533]
51467         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51468         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51469         transformations.
51470         * iconv/gconv_int.h: Likewise.
51471         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51472         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51473         from libc for GLIBC_2.16.
51474         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51475         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51476         * wcsmbs/uchar.h: Really define mbstate_t.
51477         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51478         * wcsmbs/c16rtomb.c: New file.
51479         * wcsmbs/mbrtoc16.c: New file.
51480         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51481         for C/POSIX locale.
51482         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51483         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51485         * wcsmbs/wchar.h: Add missing __restrict.
51487 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51489         [BZ #13532]
51490         * time/Makefile (routines): Add timespec_get.
51491         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51492         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51493         timespec for ISO C11.
51494         * time/timespec_get.c: New file.
51495         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51496         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51498         [BZ #13531]
51499         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51500         * stdlib/stdlib.h: Declare aligned_alloc.
51501         * Versions.def: Add GLIBC_2.16 for libc.
51502         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51504         [BZ 13527]
51505         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51506         ISO C11.
51508         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51509         code.
51511         [BZ #13528]
51512         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51514         [BZ #13529]
51515         * assert/assert.h (static_assert): Define.
51517         * version.h: Update for 2.16 development version.
51519         [BZ #13526]
51520         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51521         _ISOC11_SOURCE.
51523         * version.h (RELEASE): Bump for 2.15 release.
51524         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51526         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51527         Patch by Marek Polacek <mpolacek@redhat.com>.
51529         * bits/byteswap.h: Protect long long constants with __extension__.
51530         * sysdeps/i386/bits/byteswap.h: Likewise.
51531         * sysdeps/ia64/bits/byteswap.h: Likewise.
51532         * sysdeps/s390/bits/byteswap.h: Likewise.
51533         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51535 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51537         [BZ #13540]
51538         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51539         destination buffer.
51540         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51542 2011-12-23  Marek Polacek  <polacek@redhat.com>
51544         * elf/dl-addr.c (determine_info): Add inline keyword.
51545         * elf/tst-auditmod4b.c (check_avx): Likewise.
51546         * elf/tst-auditmod6b.c (check_avx): Likewise.
51547         * elf/tst-auditmod6c.c (check_avx): Likewise.
51548         * elf/tst-auditmod7b.c (check_avx): Likewise.
51550 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51552         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51553         !__SSE_MATH__.
51555 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51557         [BZ #13540]
51558         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51559         processing for last bytes.
51561 2011-08-06  Bruno Haible  <bruno@clisp.org>
51563         [BZ #13061]
51564         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51565         U+0385, not to U+1FEE.
51567         [BZ #13062]
51568         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51569         entry for U+00A5 U+0301.
51571 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51573         [BZ #13166]
51574         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51575         buffer for the output is too small.
51577         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51578         optimization.
51580         [BZ #13185]
51581         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51582         SSE flags if possible.
51584 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51586         [BZ #13540]
51587         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51588         processing for last bytes.
51590 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51592         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51593         (syscall-list-default-options, syscall-list-default-condition)
51594         (syscall-list-includes): Define.
51595         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51596         list of ABIs and options and #if conditions for each ABI.  Do not
51597         handle common syscalls between ABIs specially.
51598         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51599         Remove.
51600         (syscall-list-variants, syscall-list-32bit-options)
51601         (syscall-list-32bit-condition, syscall-list-64bit-options)
51602         (syscall-list-64bit-condition): Define.
51603         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51604         (syscall-list-variants, syscall-list-32bit-options)
51605         (syscall-list-32bit-condition, syscall-list-64bit-options)
51606         (syscall-list-64bit-condition): Define.
51607         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51608         Remove.
51609         (syscall-list-variants, syscall-list-32bit-options)
51610         (syscall-list-32bit-condition, syscall-list-64bit-options)
51611         (syscall-list-64bit-condition): Define.
51612         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51613         Remove.
51614         (syscall-list-variants, syscall-list-32bit-options)
51615         (syscall-list-32bit-condition, syscall-list-64bit-options)
51616         (syscall-list-64bit-condition): Define.
51618 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51620         * locale/iso-639.def: Add brx entry.
51622         [BZ #13328]
51623         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51624         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51626         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51627         __feraiseexcept_renamed.
51629 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51631         [BZ #13538]
51632         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51633         EPOLLET with unsigned values.
51634         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51635         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51637         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51638         to large cancellation.
51639         * math/s_cacoshf.c: Likewise.
51640         * math/s_cacoshl.c: Likewise.
51642 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51644         [BZ #13305]
51645         [BZ #12786]
51646         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51647         * math/s_cacoshf.c: Likewise.
51648         * math/s_cacoshl.c: Likewise.
51650 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51652         [BZ #13439]
51653         * iconv/gconv.h: Define __GCONV_SWAP.
51654         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51655         * iconvdata/utf-16.c: Likewise.
51656         * iconvdata/utf-32.c: Likewise.
51658 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51660         [BZ #13524]
51661         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51662         numerator after shifting it by one limb.
51664 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51666         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51667         under [__USE_EXTERN_INLINES].
51669 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51671         [BZ #13446]
51672         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51674 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51676         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51677         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51678         optimized code.
51679         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51680         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51681         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51682         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51683         for strncasecmp/strncasecmp_l compilation.
51684         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51685         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51687 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51689         [BZ #13484]
51690         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51691         of __asm__.
51693 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51695         [BZ #13506]
51696         * time/tzfile.c (__tzfile_read): Check values from file header.
51698 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51700         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51701         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51702         * powerpc/powerpc32/dl-start.S: Likewise.
51703         * powerpc/powerpc32/elf/start.S: Likewise.
51704         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51705         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51706         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51707         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51708         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51709         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51710         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51711         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51712         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51713         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51714         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51715         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51716         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51717         * powerpc/powerpc32/memset.S: Likewise.
51718         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51719         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51720         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51721         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51722         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51723         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51724         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51725         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51726         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51727         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51728         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51729         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51730         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51732 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51734         * math/libm-test.inc: Added more nearbyint tests.
51735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51736         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51738         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51740 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51742         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51743         FD_CLOEXEC.
51745 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51747         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51748         Add wcscpy-ssse3 wcscpy-c.
51749         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51750         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51751         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51752         * sysdeps/x86_64/wcschr.S: New file.
51753         * sysdeps/x86_64/wcsrchr.S: New file.
51754         * string/test-strcmp.c: Remove checking of wcscmp function for
51755         wrong alignments.
51756         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51757         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51758         wcsrchr-sse2 wcsrchr-c.
51759         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51760         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51761         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51762         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51763         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51764         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51765         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51766         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51767         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51768         * wcsmbc/wcschr.c (WCSCHR): New macro.
51770 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51772         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51773         * wcsmbs/test-wcsrchr.c: New file.
51774         * string/test-strrchr.c: Add wcsrchr support.
51775         (WIDE): New macro.
51776         * wcsmbs/test-wcscpy.c: New file.
51777         * string/test-strcpy.c: Add wcscpy support.
51778         (WIDE): New macro.
51780 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51782         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51783         the inner loop.
51785 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51787         [BZ #13472]
51788         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51790 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51792         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51793         Minor optimizations.
51795         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51796         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51797         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51799 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51801         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51802         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51803         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51804         for gcc to avoid warnings.
51805         * inet/Makefile (tests): Add tst-checks.
51806         * inet/tst-checks.c: New file.
51808         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51809         warning.
51811         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51812         __wmemcmp_sse2.
51814         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51815         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51817         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51819 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51821         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51822         problem.
51824         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51826 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51828         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51829         conditional on GCC version.
51830         (__arch_compare_and_exchange_val_8_acq)
51831         (__arch_compare_and_exchange_val_16_acq)
51832         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51833         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51834         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51836 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51838         * sysdeps/sh/backtrace.c: New file.
51840 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51842         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51843         parenthesis.
51845 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51847         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51848         falling back to utime.
51850 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51852         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51853         expectations for float.
51855 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51857         * locale/weight.h (findidx): Add parameter len.
51858         * locale/weightwc.h (findidx): Likewise.
51859         * posix/fnmatch_loop.c (FCT): Adjust caller.
51860         * posix/regcomp.c (build_equiv_class): Likewise.
51861         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51862         * posix/regexec.c (check_node_accept_bytes): Likewise.
51863         * string/strcoll_l.c (STRCOLL): Likewise.
51864         * string/strxfrm_l.c (STRXFRM): Likewise.
51866 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51868         * Makefile.in: Remove CVSOPT handling.
51869         * configure.in: Remove use of AC_REVISION.
51870         * iconvdata/Makefile (distribute): No need to filter out CVS.
51871         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51872         handling.
51874 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51877         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51878         [USE_AS_STRNCASECMP_L]: Likewise.
51879         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51880         NO_TLS_DIRECT_SEG_REFS.
51881         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51882         Fix argument offsets for non-PIC.
51883         [USE_AS_STRNCASECMP_L]: Likewise.
51884         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51885         NO_TLS_DIRECT_SEG_REFS.
51887 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51889         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51890         O_CLOEXEC.
51891         * locale/loadlocale.c (_nl_load_locale): Likewise.
51893 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51895         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51896         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51897         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51898         (SYSCALL_GETTIME): Set errno on error.
51900         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51901         count references to noai6ai_cached.
51903 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51905         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51907         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51908         FD_CLOEXEC for /proc/self/maps.
51910         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51911         FD_CLOEXEC for /proc/meminfo.
51913         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51914         gai.conf.
51916         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51917         FD_CLOEXEC for given file.
51919         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51921         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51922         FD_CLOEXEC for /etc/hosts.
51923         (_gethtent): Likewise.
51925         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51927         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51928         cancellation and set FD_CLOEXEC for /etc/netgroup.
51930         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51931         reading /etc/publickey.
51933         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51934         allow cancellation when reading /etc/group.
51936         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51937         cancellation.
51938         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51940         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51941         when using data file.
51943         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51945         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51946         (write_nis_obj): Use "c" and "e" in fopen.
51948         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51950         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51952         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51954         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51956         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51957         locale.alias.
51959         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51961         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51963         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51965         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51966         file parsing and set FD_CLOEXEC.
51968 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51970         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51972 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51974         * malloc/arena.c (arena_get2): Don't call reused_arena when
51975         _int_new_arena failed.
51977 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51979         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51980         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51981         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51982         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51983         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51984         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51985         to compile strcasecmp and strncasecmp.
51986         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51987         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51991 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51993         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51994         locale-defines.sym to gen-as-const-headers.
51995         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51996         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51998         to compile strcasecmp and strncasecmp.
51999         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52000         strcasecmp_l and strncasecmp_l.
52001         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52002         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52003         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52004         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52005         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52006         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52007         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52008         * sysdeps/i386/i686/multiarch/strncase.S: New file.
52009         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52010         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52011         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52013 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
52015         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52016         result of SYSDEP_GETTIME_CPU to retval.
52017         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52018         parameter list to macro.  Remove trailing semicolon.  Adjust users.
52020         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52021         variable.
52023         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52024         mantissa words.
52025         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52027         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52028         from unused variable.
52030         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52031         DWARF definitions.
52032         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52033         for assembling.
52035         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52036         over namespaces.
52038         * sunrpc/rpc_prot.c (rejected): Fix case value.
52040         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52041         unsigned long long int to avoid warnings in shift.
52043         * posix/regex_internal.c (re_string_reconstruct): Actually use result
52044         of use of trans.
52045         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52046         variable tmp.
52048         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52049         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52050         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52052         * nis/nis_table.c (nis_list): Use variable of correct type for
52053         result of __follow_path call.
52055 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52057         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52058         of math functions ceil, trunc, floor, round, and sqrt, when
52059         avaliable on the platform.
52060         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52061         name clash.
52062         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52063         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52064         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52066 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
52068         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52069         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52071 2011-11-11  Roland McGrath  <roland@hack.frob.com>
52073         * include/unistd.h: Fix __readlink return type.
52074         Reported by Chris Metcalf <cmetcalf@tilera.com>.
52076 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
52078         * stdlib/ucontext.h: Undo last change for makecontext.
52080 2011-11-11  Andreas Schwab  <schwab@redhat.com>
52082         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52084         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52085         * setjmp/setjmp.h: Mark functions as non-leaf.
52086         * setjmp/bits/setjmp2.h: Likewise.
52087         * stdlib/ucontext.h: Likewise.
52089 2011-11-10  Andreas Schwab  <schwab@redhat.com>
52091         * malloc/arena.c (_int_new_arena): Don't increment narenas.
52092         (reused_arena): Don't check arena limit.
52093         (arena_get2): Atomically check arena limit.
52095 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
52097         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52098         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52100         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52101         instructions.
52103 2011-11-07  Andreas Schwab  <schwab@redhat.com>
52105         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52106         handler when locking.
52108         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52109         Fix size of allocated buffer.
52111 2011-11-04  Andreas Schwab  <schwab@redhat.com>
52113         [BZ #10103]
52114         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52115         declarations for long double functions.
52116         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52118         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52120 2011-11-03  Andreas Schwab  <schwab@redhat.com>
52122         * nscd/nscd.c (main): Don't start AVC thread until credentials are
52123         installed.
52125         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52126         is disabled.
52128 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52130         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52132 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52134         * include/alloca.h (stackinfo_alloca_round): Define.
52135         (extend_alloca): Use it.
52136         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52137         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52138         here.
52140         * scripts/check-local-headers.sh: Ignore libaudit.h.
52142         * nscd/Makefile (extra-objs): Make recursively expanded.
52144 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
52146         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52147         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52149         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52150         * posix/tst-rfc3484-2.c: Likewise.
52151         * posix/tst-rfc3484-3.c: Likewise.
52153         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52154         process_vm_writev.
52155         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52156         process_vm_writev.
52157         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52158         process_vm_writev from libc using GLIBC_2.15 version.
52160         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52162 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
52164         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52165         stack usage.
52167 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
52169         [BZ #13367]
52170         * nss/getent.c (initgroups_keys): Show error message in case no group
52171         names are given.
52173         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52174         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52175         __bump_nl_timestamp.
52176         * nscd/connections (nscd_init): When host database is served open
52177         netlink socket and request notification about configuration changes.
52178         (main_loop_poll): Track netlink file descriptor and bump timestamp
52179         in case data becomes available.
52180         (main_loop_epoll): Likewise.
52181         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52182         (database_pers_head): Add extra_data fileds.
52183         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52184         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52185         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52186         Adjust caller.
52187         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52188         in6ai data, call __free_in6ai.
52189         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52190         Add -DHAVE_NETLINK.
52191         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52192         interface information.  Reuse previous data if netlink timestamp
52193         is not changed.
52194         (__bump_nl_timestamp): New function.
52195         (__free_in6ai): New function.
52197 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52199         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52200         close_not_cancel_no_status here.
52201         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52203 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52205         [BZ #13276]
52206         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52207         return value.
52209         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52210         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52211         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52213 2011-07-03  Andreas Jaeger  <aj@suse.de>
52215         [BZ #10709]
52216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52217         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52218         * math/libm-test.inc (sin_test): Add test case.
52220 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52222         [BZ #13337]
52223         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52224         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52226         * elf/chroot_canon.c (chroot_canon): Cleanups.
52228         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52230         [BZ #13335]
52231         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52232         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52234         * string/test-strchr.c: Make usable for strchrnul testing.
52235         * string/test-strchrnul.c: New file.
52236         * string/Makefile (strop-tests): Add strchrnul.
52238         * po/it.po: Update from translation team.
52239         * po/es.po: Likewise.
52241 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52243         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52244         the three constants needed as parameters.  Drop the others.
52245         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52246         __m128i_strloadu_tolower.
52247         Create and initialize variable zero and use it in all the places
52248         where _mm_setzero_si128 was used.
52250         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52251         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52252         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52253         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52254         anymore.
52255         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52256         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52257         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52258         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52259         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52260         __mpranred, __mptan.
52261         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52262         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52263         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52264         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52265         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52266         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52267         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52268         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52269         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52271 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52273         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52274         redefine if SHARED.
52275         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52277         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52278         wide char related routines to wcsmbs subdir.
52280 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52282         [BZ #13344]
52283         * misc/sys/cdefs.h (__THROWNL): Define.
52284         * posix/unistd.h: Use __THREADNL instead of __THREAD
52285         for memory synchronization functions.
52287 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52289         [BZ #13349]
52290         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52291         doesn't exist.
52292         * manual/stdio.texi (Obstack Streams): Node removed.
52294 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52296         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52297         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52298         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52300         * math/math_private.h (math_force_eval): Allow non-addressable
52301         arguments.
52302         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52304 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52306         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52307         file is not needed.
52309         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52310         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52311         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52312         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52313         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52314         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52315         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52316         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52317         Add AVX variants.
52318         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52319         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52320         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52321         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52322         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52323         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52324         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52325         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52326         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52327         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52328         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52329         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52330         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52331         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52332         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52333         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52334         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52335         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52336         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52338         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52339         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52341         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52342         place.  Use VEX encoding when compiling for AVX.
52344 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52346         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52347         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52349         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52351 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52353         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52354         useless if() expression.
52355         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52356         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52357         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52358         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52359         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52360         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52361         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52362         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52363         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52364         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52365         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52366         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52367         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52368         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52369         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52370         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52371         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52372         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52373         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52375         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52377 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52379         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52380         condition.
52381         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52383 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52385         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52386         .text section.  Avoid duplicate constants.
52387         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52388         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52389         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52390         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52391         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52393         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52395         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52396         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52397         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52398         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52399         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52400         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52401         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52402         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52403         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52404         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52405         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52406         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52408         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52409         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52410         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52411         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52412         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52413         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52414         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52415         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52416         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52417         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52418         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52419         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52420         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52421         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52422         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52423         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52424         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52425         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52426         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52427         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52428         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52429         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52430         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52431         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52433 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52435         * sysdeps/x86_64/dla.h: Move to ...
52436         * sysdeps/x86_64/fpu/dla.h: ...here.
52437         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52438         situations.  Use __builtin_fma only for gcc 4.6 and up.
52440         * config.make.in: Add have-mfma4 entry.
52441         * configure.in: Substitute libc_cv_cc_fma4.
52442         * math/Makefile (dbl-only-routines): Add sincostab.
52443         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52444         Use __sincostab not sincos.
52445         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52446         name is a macro.
52447         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52448         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52449         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52450         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52451         using __copysign.
52452         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52453         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52454         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52455         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52456         and __inv.
52457         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52458         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52459         __copysign.
52460         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52461         define aliases when function name is a macro.
52462         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52463         sysdeps/ieee754/dbl-64/sincos.tbl.
52464         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52465         fma4-enabled routines.
52466         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52467         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52468         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52469         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52470         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52471         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52473         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52474         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52475         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52476         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52477         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52478         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52479         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52480         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52481         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52482         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52483         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52484         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52485         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52486         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52487         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52488         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52489         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52490         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52491         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52492         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52493         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52494         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52495         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52497         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52498         rename.
52499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52500         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52502         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52503         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52504         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52508 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52510         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52512 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52514         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52516         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52517         prediction.
52518         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52520         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52521         Remove unused variable magic_bits.
52522         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52524         * string/strnlen.c: Define and use STRNLEN macro.
52525         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52526         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52527         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52528         * wcsmbs/wcslen.c: Define and use WCSLEN.
52529         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52530         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52531         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52532         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52533         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52534         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52535         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52537 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52540         strnlen-sse2-no-bsf.
52541         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52542         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52543         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52544         Add strnlen support.
52545         (USE_AS_STRNLEN): New macro.
52546         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52547         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52548         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52549         * sysdeps/x86_64/wcslen.S: New file.
52551 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52553         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52554         XMM-moves are used for copying on small sizes.
52556 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52558         * wcsmbs/Makefile (strop-tests): Add wcschr.
52559         * wcsmbs/test-wcschr.c: New file.
52560         * string/test-strchr.c: Update.
52561         Add wcschr support.
52562         (WIDE): New macro.
52564 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52566         * wcsmbs/Makefile (strop-tests): Add wcslen.
52567         * wcsmbs/test-wcslen.c: New file.
52568         * string/test-strlen.c: Update.
52569         Add wcslen support.
52570         (WIDE): New macro.
52572 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52574         * po/it.po: Update from translation team.
52576 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52578         * sysdeps/x86_64/wcscmp.S: Update.
52579         Fix wrong comparison semantics.
52580         wcscmp shall use signed comparison not unsigned.
52581         Don't use substraction to avoid overflow bug.
52582         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52583         * wcsmbc/wcscmp.c: Likewise.
52584         * string/test-strcmp.c: Likewise.
52585         Add new tests to check cases with negative values.
52587 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52589         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52590         * sysdeps/x86_64/dla.h: ...here.  New file.
52591         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52593         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52595         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52596         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52598         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52601 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52603         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52604         __ynl_finite aliases.
52606 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52610         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52611         define DLA_FMA.
52612         [DLA_FMA] (EMULV): Use DLA_FMA.
52613         [DLA_FMA] (MUL12): Use EMULV.
52614         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52615         that are not needed.
52616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52620         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52621         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52624 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52626         * math/s_nan.c: Undef __nan.
52627         * math/s_nanf.c: Undef __nanf.
52628         * math/s_nanl.c: Undef __nanl.
52629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52630         "math_private.h".
52632 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52634         * math/s_catan.c: Add branch predictions.
52635         * math/s_catanf.c: Likewise.
52636         * math/s_catanh.c: Likewise.
52637         * math/s_catanhf.c: Likewise.
52638         * math/s_catanhl.c: Likewise.
52639         * math/s_catanl.c: Likewise.
52640         * math/s_cexp.c: Likewise.
52641         * math/s_cexpf.c: Likewise.
52642         * math/s_cexpl.c: Likewise.
52643         * math/s_clog.c: Likewise.
52644         * math/s_clog10.c: Likewise.
52645         * math/s_clog10f.c: Likewise.
52646         * math/s_clog10l.c: Likewise.
52647         * math/s_clogf.c: Likewise.
52648         * math/s_clogl.c: Likewise.
52649         * math/s_csqrt.c: Likewise.
52650         * math/s_csqrtf.c: Likewise.
52651         * math/s_csqrtl.c: Likewise.
52652         * math/s_ctanf.c: Likewise.
52653         * math/s_ctanh.c: Likewise.
52654         * math/s_ctanhf.c: Likewise.
52655         * math/s_ctanhl.c: Likewise.
52656         * math/s_ctanl.c: Likewise.
52658         * math/math_private.h: Define __nan, __nanf, __nanl.
52659         * math/s_cacosh.c: Include <math_private.h>.
52660         * math/s_cacoshl.c: Likewise.
52661         * math/s_casinh.c: Likewise.
52662         * math/s_casinhf.c: Likewise.
52663         * math/s_casinhl.c: Likewise.
52664         * math/s_ccos.c: Rely entire on ccosh.
52665         * math/s_ccosf.c: Rely entire on ccoshf.
52666         * math/s_ccosl.c: Rely entirely on ccoshl.
52667         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52668         Remove tests for FE_INVALID.
52669         * math/s_ccoshf.c: Likewise.
52670         * math/s_ccoshl.c: Likewise.
52671         * math/s_csin.c: Likewise.
52672         * math/s_csinf.c: Likewise.
52673         * math/s_csinh.c Likewise.
52674         * math/s_csinhf.c: Likewise.
52675         * math/s_csinhl.c: Likewise.
52676         * math/s_csinl.c: Likewise.
52677         * math/s_ctan.c: Likewise.
52678         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52679         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52680         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52682 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52685         compilation problems.
52687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52688         __builtin_expect.
52690 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52692         * sysdeps/i386/configure.in: Test for -mfma4 option.
52693         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52694         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52695         COMMON_CPUID_INDEX_80000001.
52696         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52697         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52698         use it if FMA3 is not supported.
52699         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52701         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52702         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52704 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52706         [BZ #12892]
52707         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52708         it would create a cycle with a link time dependency.
52710 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52712         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52713         instruction.
52714         * string/Makefile (strop-tests): Add rawmemchr.
52715         * string/test-rawmemchr.c: New file.
52717         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52718         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52719         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52720         when compiling str{,n}casecmp and when AVX is available.  Hook up
52721         new optimized code in initializers.
52723 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52725         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52726         __feraiseexcept instead of feraiseexcept.
52728 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52730         * math/math_private.h: Define defaults for libc_fetestexcept and
52731         libc_feupdateenv.
52732         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52733         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52734         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52735         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52736         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52737         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52738         libc_fetestexcept and libc_feupdateenv.
52740         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52741         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52742         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52743         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52744         libc_feholdexcept_setround.
52746         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52747         Add s_nearbyint-c and s_nearbyintf-c.
52748         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52749         nearbyintf inlines.
52750         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52751         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52752         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52753         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52755         * math/math_private.h: Define defaults for libc_fegetround,
52756         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52757         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52758         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52759         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52760         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52761         standard functions.
52762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52763         Remove comments and hacks for old compiler versions.
52764         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52765         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52766         libc_feholdexceptl.
52768 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52770         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52771         (__feraiseexcept_renamed): Add __NTH.
52772         (feraiseexcept): Add __NTH.  Rename local variables to fix
52773         namespace violations.
52775 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52777         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52779         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52781         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52782         recently added interfaces.
52783         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52785         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52786         about macro parameter expansion.
52788         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52789         __NO_MATH_INLINES is defined.  Cleanups.
52791         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52792         and __floorf is target has SSE4.1.
52793         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52794         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52795         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52796         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52798         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52799         name.
52800         (floorf): Likewise.
52802         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52804 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52806         * misc/sys/cdefs.h: Fix last change.
52808         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52809         database lookup.
52811 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52813         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52815         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52816         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52817         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52818         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52819         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52820         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52821         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52822         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52823         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52824         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52825         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52826         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52827         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52828         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52829         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52830         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52831         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52832         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52833         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52834         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52835         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52836         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52838         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52839         ceil, ceilf, floor, floorf.
52841         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52842         Perform IRELATIVE relocations last.
52844         * elf/do-rel.h: Add another parameter nrelative, replacing the
52845         local variable with the same name.  Change name of the function
52846         to end in Rel or Rela (uppercase).
52847         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52848         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52849         elf_dynamic_do_##reloc function.
52851 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52853         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52854         is sufficient, at least on modern CPUs.
52856         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52858         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52859         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52861         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52862         __expl_finite.
52863         * math/bits/math-finite.h: Add entries for exp.
52864         * math/e_expl.c: Add __*_finite alias.
52865         * sysdeps/i386/fpu/e_exp.S: Likewise.
52866         * sysdeps/i386/fpu/e_expf.S: Likewise.
52867         * sysdeps/i386/fpu/e_expl.c: Likewise.
52868         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52869         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52870         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52871         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52872         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52873         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52874         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52876         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52877         is sufficient, at least on modern CPUs.
52879         * ctype/ctype-info.c (__ctype_init): Define.
52880         * include/ctype.h (__ctype_init): Declare.
52881         (__ctype_b_loc): The variable is always initialized.
52882         (__ctype_toupper_loc): Likewise.
52883         (__ctype_tolower_loc): Likewise.
52884         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52885         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52887 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52889         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52891         * configure.in: Also look in $cxxmachine/include for C++ system
52892         headers.
52894 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52896         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52897         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52898         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52899         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52900         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52901         (USE_AS_WMEMCMP): New macro.
52902         Fixing indents.
52903         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52904         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52905         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52906         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52908         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52909         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52910         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52911         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52912         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52913         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52914         (USE_AS_WMEMCMP): New macro.
52915         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52916         * sysdeps/string/test-memcmp.c: Update.
52917         Fix simple_wmemcmp.
52918         Add new tests.
52919         * wcsmbs/wmemcmp.c: Update.
52920         (WMEMCMP): New macro.
52921         Fix overflow bug.
52923 2011-10-12  Andreas Jaeger  <aj@suse.de>
52925         [BZ #13268]
52926         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52928 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52930         * libio/iofwide.c (do_length): Avoid warning.
52932         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52934 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52936         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52938         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52939         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52940         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52941         * sysdeps/i386/i686/fpu/e_log.S: New file.
52942         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52943         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52945         * ctype/ctype.h: Add support for inlined isXXX functions when
52946         compiling C++ code.
52948 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52950         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52952         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52954 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52956         [BZ #13291]
52957         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52959 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52961         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52962         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52963         feraiseexcept.
52965         * sysdeps/x86_64/memrchr.S: Check for zero size.
52967         * string/stratcliff.c: Add memrchr tests.
52969 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52972         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52973         rawmemchr-sse2 rawmemchr-sse2-bsf.
52974         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52975         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52976         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52977         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52978         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52979         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52980         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52981         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52982         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52983         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52984         * string/memrchr.c (MEMRCHR): New macro.
52986 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52988         Add integration with gcc's -ffinite-math-only and optimize wrapper
52989         functions in libm.
52990         * Versions.def: Define GLIBC_2.15 version for libm.
52991         * math/Makefile (headers): Add bits/math-finite.h.
52992         * math/bits/math-finite.h: New file.
52993         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52994         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52995         * math/e_acoshl.c: Add __*_finite alias.
52996         * math/e_acosl.c: Likewise.
52997         * math/e_asinl.c: Likewise.
52998         * math/e_atan2l.c: Likewise.
52999         * math/e_atanhl.c: Likewise.
53000         * math/e_coshl.c: Likewise.
53001         * math/e_exp10.c: Likewise.
53002         * math/e_exp10f.c: Likewise.
53003         * math/e_exp10l.c: Likewise.
53004         * math/e_exp2l.c: Likewise.
53005         * math/e_fmodl.c: Likewise.
53006         * math/e_gammal_r.c: Likewise.
53007         * math/e_hypotl.c: Likewise.
53008         * math/e_j0l.c: Likewise.
53009         * math/e_j1l.c: Likewise.
53010         * math/e_jnl.c: Likewise.
53011         * math/e_lgammal_r.c: Likewise.
53012         * math/e_log10l.c: Likewise.
53013         * math/e_log2l.c: Likewise.
53014         * math/e_logl.c: Likewise.
53015         * math/e_powl.c: Likewise.
53016         * math/e_sinhl.c: Likewise.
53017         * math/e_sqrtl.c: Likewise.
53018         * math/e_scalb.c: Completely rewritten and optimized.
53019         * math/e_scalbf.c: Likewise.
53020         * math/e_scalbl.c: Likewise.
53021         * math/w_acos.c: Likewise.
53022         * math/w_acosf.c: Likewise.
53023         * math/w_acosl.c: Likewise.
53024         * math/w_acosh.c: Likewise.
53025         * math/w_acoshf.c: Likewise.
53026         * math/w_acoshl.c: Likewise.
53027         * math/w_asin.c: Likewise.
53028         * math/w_asinf.c: Likewise.
53029         * math/w_asinl.c: Likewise.
53030         * math/w_atan2.c: Likewise.
53031         * math/w_atan2f.c: Likewise.
53032         * math/w_atan2l.c: Likewise.
53033         * math/w_atanh.c: Likewise.
53034         * math/w_atanhf.c: Likewise.
53035         * math/w_atanhl.c: Likewise.
53036         * math/w_exp10.c: Likewise.
53037         * math/w_exp10f.c: Likewise.
53038         * math/w_exp10l.c: Likewise.
53039         * math/w_fmod.c: Likewise.
53040         * math/w_fmodf.c: Likewise.
53041         * math/w_fmodl.c: Likewise.
53042         * math/w_j0.c: Likewise.
53043         * math/w_j0f.c: Likewise.
53044         * math/w_j0l.c: Likewise.
53045         * math/w_j1.c: Likewise.
53046         * math/w_j1f.c: Likewise.
53047         * math/w_j1l.c: Likewise.
53048         * math/w_jn.c: Likewise.
53049         * math/w_jnf.c: Likewise.
53050         * math/w_log.c: Likewise.
53051         * math/w_logf.c: Likewise.
53052         * math/w_logl.c: Likewise.
53053         * math/w_log10.c: Likewise.
53054         * math/w_log10f.c: Likewise.
53055         * math/w_log10l.c: Likewise.
53056         * math/w_log2.c: Likewise.
53057         * math/w_log2f.c: Likewise.
53058         * math/w_log2l.c: Likewise.
53059         * math/w_pow.c: Likewise.
53060         * math/w_powf.c: Likewise.
53061         * math/w_powl.c: Likewise.
53062         * math/w_remainder.c: Likewise.
53063         * math/w_remainderf.c: Likewise.
53064         * math/w_remainderl.c: Likewise.
53065         * math/w_scalb.c: Likewise.
53066         * math/w_scalbf.c: Likewise.
53067         * math/w_scalbl.c: Likewise.
53068         * math/w_sqrt.c: Likewise.
53069         * math/w_sqrtf.c: Likewise.
53070         * math/w_sqrtl.c: Likewise.
53071         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53072         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
53073         used.
53074         * math/math_private.h: Declare __kernel_standard_f.
53075         * math/w_cosh.c: Remove cruft and optimize a bit.
53076         * math/w_coshf.c: Likewise.
53077         * math/w_coshl.c: Likewise.
53078         * math/w_exp2.c: Likewise.
53079         * math/w_exp2f.c: Likewise.
53080         * math/w_exp2l.c: Likewise.
53081         * math/w_hypot.c: Likewise.
53082         * math/w_hypotf.c: Likewise.
53083         * math/w_hypotl.c: Likewise.
53084         * math/w_lgamma.c: Likewise.
53085         * math/w_lgamma_r.c: Likewise.
53086         * math/w_lgammaf.c: Likewise.
53087         * math/w_lgammaf_r.c: Likewise.
53088         * math/w_lgammal.c: Likewise.
53089         * math/w_lgammal_r.c: Likewise.
53090         * math/w_sinh.c: Likewise.
53091         * math/w_sinhf.c: Likewise.
53092         * math/w_sinhl.c: Likewise.
53093         * math/w_tgamma.c: Likewise.
53094         * math/w_tgammaf.c: Likewise.
53095         * math/w_tgammal.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53097         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53098         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53099         Minor optimizations.  Pretty printing.  Remove cruft.
53100         * sysdeps/i386/fpu/e_acosf.S: Likewise.
53101         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53102         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53103         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53104         * sysdeps/i386/fpu/e_acosl.c: Likewise.
53105         * sysdeps/i386/fpu/e_asin.S: Likewise.
53106         * sysdeps/i386/fpu/e_asinf.S: Likewise.
53107         * sysdeps/i386/fpu/e_atan2.S: Likewise.
53108         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53109         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53110         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53111         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53112         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53113         * sysdeps/i386/fpu/e_exp10.S: Likewise.
53114         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53115         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53116         * sysdeps/i386/fpu/e_exp2.S: Likewise.
53117         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53118         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53119         * sysdeps/i386/fpu/e_fmod.S: Likewise.
53120         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53121         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53122         * sysdeps/i386/fpu/e_hypot.S: Likewise.
53123         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53124         * sysdeps/i386/fpu/e_log.S: Likewise.
53125         * sysdeps/i386/fpu/e_log10.S: Likewise.
53126         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53127         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53128         * sysdeps/i386/fpu/e_log2.S: Likewise.
53129         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53130         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53131         * sysdeps/i386/fpu/e_logf.S: Likewise.
53132         * sysdeps/i386/fpu/e_logl.S: Likewise.
53133         * sysdeps/i386/fpu/e_pow.S: Likewise.
53134         * sysdeps/i386/fpu/e_powf.S: Likewise.
53135         * sysdeps/i386/fpu/e_powl.S: Likewise.
53136         * sysdeps/i386/fpu/e_remainder.S: Likewise.
53137         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53138         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53139         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53140         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53141         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53142         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53143         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53144         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53145         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53146         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53147         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53148         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53149         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53150         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53151         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53152         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53153         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53154         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53155         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53156         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53157         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53158         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53159         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53161         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53162         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53163         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53164         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53165         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53166         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53167         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53168         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53169         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53170         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53171         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53172         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53173         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53174         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53175         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53176         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53177         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53178         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53179         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53180         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53181         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53182         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53183         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53184         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53185         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53186         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53223         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53224         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53225         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53226         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53227         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53228         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53230         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53231         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53233         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53234         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53235         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53236         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53237         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53238         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53239         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53240         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53241         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53242         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53243         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53244         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53245         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53246         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53247         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53248         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53249         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53250         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53251         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53252         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53253         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53254         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53255         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53256         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53257         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53258         (__isnanf): Likewise.
53259         (__isinf_ns): Likewise.
53260         (__isinf_nsf): Likewise.
53261         (__finite): Likewise.
53262         (__finitef): Likewise.
53263         (__ieee754_sqrt): Define as macro.
53264         (__ieee754_sqrtf): Define as macro.
53265         (__ieee754_sqrtl): Define as macro.
53266         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53267         inlined copy.
53268         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53269         __FINITE_MATH_ONLY__ consistent.
53270         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53272 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53274         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53275         of rawmemchr.
53277         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53279 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53281         * po/ja.po: Update from translation team.
53283 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53285         * locale/programs/locarchive.c (prepare_address_space): New function.
53286         (create_archive, enlarge_archive, open_archive): Use it.
53288         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53289         inside [SHARED], where it is used.
53291         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53293         * nss/getent.c (netgroup_keys): Remove unused variable.
53294         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53296 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53298         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53299         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53300         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53301         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53302         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53303         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53304         * math/Makefile (libm-calls): Add s_isinf_ns.
53305         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53306         * math/multc3.c: Likewise.
53307         * math/s_casin.c: Likewise.
53308         * math/s_casinf.c: Likewise.
53309         * math/s_casinl.c: Likewise.
53310         * math/s_ccos.c: Likewise.
53311         * math/s_ccosf.c: Likewise.
53312         * math/s_ccosl.c: Likewise.
53313         * math/s_ctan.c: Likewise.
53314         * math/s_ctanf.c: Likewise.
53315         * math/s_ctanh.c: Likewise.
53316         * math/s_ctanhf.c: Likewise.
53317         * math/s_ctanhl.c: Likewise.
53318         * math/s_ctanl.c: Likewise.
53319         * math/w_fmod.c: Likewise.
53320         * math/w_fmodf.c: Likewise.
53321         * math/w_fmodl.c: Likewise.
53322         * math/w_remainder.c: Likewise.
53323         * math/w_remainderf.c: Likewise.
53324         * math/w_remainderl.c: Likewise.
53325         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53326         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53327         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53328         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53329         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53330         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53331         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53332         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53334         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53335         of the number.
53336         * stdio-common/printf_fphex.c: Likewise.
53337         * stdio-common/printf_size.c: Likewise.
53339         * math/e_exp10.c: Include math_private.h using <...> not "...".
53340         * math/e_exp10f.c: Likewise.
53341         * math/e_exp10l.c: Likewise.
53342         * math/e_exp2l.c: Likewise.
53343         * math/e_j0l.c: Likewise.
53344         * math/e_j1l.c: Likewise.
53345         * math/e_jnl.c: Likewise.
53346         * math/e_lgammal_r.c: Likewise.
53347         * math/e_rem_pio2l.c: Likewise.
53348         * math/e_scalb.c: Likewise.
53349         * math/e_scalbf.c: Likewise.
53350         * math/e_scalbl.c: Likewise.
53351         * math/k_cosl.c: Likewise.
53352         * math/k_sinl.c: Likewise.
53353         * math/k_tanl.c: Likewise.
53354         * math/s_cacoshf.c: Likewise.
53355         * math/s_catan.c: Likewise.
53356         * math/s_catanf.c: Likewise.
53357         * math/s_catanh.c: Likewise.
53358         * math/s_catanhf.c: Likewise.
53359         * math/s_catanhl.c: Likewise.
53360         * math/s_catanl.c: Likewise.
53361         * math/s_ccosh.c: Likewise.
53362         * math/s_ccoshf.c: Likewise.
53363         * math/s_ccoshl.c: Likewise.
53364         * math/s_cexp.c: Likewise.
53365         * math/s_cexpf.c: Likewise.
53366         * math/s_cexpl.c: Likewise.
53367         * math/s_clog.c: Likewise.
53368         * math/s_clog10.c: Likewise.
53369         * math/s_clog10f.c: Likewise.
53370         * math/s_clog10l.c: Likewise.
53371         * math/s_clogf.c: Likewise.
53372         * math/s_clogl.c: Likewise.
53373         * math/s_csin.c: Likewise.
53374         * math/s_csinf.c: Likewise.
53375         * math/s_csinh.c: Likewise.
53376         * math/s_csinhf.c: Likewise.
53377         * math/s_csinhl.c: Likewise.
53378         * math/s_csinl.c: Likewise.
53379         * math/s_csqrt.c: Likewise.
53380         * math/s_csqrtf.c: Likewise.
53381         * math/s_csqrtl.c: Likewise.
53382         * math/s_ctan.c: Likewise.
53383         * math/s_ctanf.c: Likewise.
53384         * math/s_ctanh.c: Likewise.
53385         * math/s_ctanhf.c: Likewise.
53386         * math/s_ctanhl.c: Likewise.
53387         * math/s_ctanl.c: Likewise.
53388         * math/s_ldexp.c: Likewise.
53389         * math/s_ldexpf.c: Likewise.
53390         * math/s_ldexpl.c: Likewise.
53391         * math/s_significand.c: Likewise.
53392         * math/s_significandf.c: Likewise.
53393         * math/s_significandl.c: Likewise.
53394         * math/w_acos.c: Likewise.
53395         * math/w_acosf.c: Likewise.
53396         * math/w_acosh.c: Likewise.
53397         * math/w_acoshf.c: Likewise.
53398         * math/w_acoshl.c: Likewise.
53399         * math/w_acosl.c: Likewise.
53400         * math/w_asin.c: Likewise.
53401         * math/w_asinf.c: Likewise.
53402         * math/w_asinl.c: Likewise.
53403         * math/w_atan2.c: Likewise.
53404         * math/w_atan2f.c: Likewise.
53405         * math/w_atan2l.c: Likewise.
53406         * math/w_atanh.c: Likewise.
53407         * math/w_atanhf.c: Likewise.
53408         * math/w_atanhl.c: Likewise.
53409         * math/w_cosh.c: Likewise.
53410         * math/w_coshf.c: Likewise.
53411         * math/w_coshl.c: Likewise.
53412         * math/w_dremf.c: Likewise.
53413         * math/w_exp10.c: Likewise.
53414         * math/w_exp10f.c: Likewise.
53415         * math/w_exp10l.c: Likewise.
53416         * math/w_exp2.c: Likewise.
53417         * math/w_exp2f.c: Likewise.
53418         * math/w_fmod.c: Likewise.
53419         * math/w_fmodf.c: Likewise.
53420         * math/w_fmodl.c: Likewise.
53421         * math/w_hypot.c: Likewise.
53422         * math/w_hypotf.c: Likewise.
53423         * math/w_hypotl.c: Likewise.
53424         * math/w_j0.c: Likewise.
53425         * math/w_j0f.c: Likewise.
53426         * math/w_j0l.c: Likewise.
53427         * math/w_j1.c: Likewise.
53428         * math/w_j1f.c: Likewise.
53429         * math/w_j1l.c: Likewise.
53430         * math/w_jn.c: Likewise.
53431         * math/w_jnf.c: Likewise.
53432         * math/w_jnl.c: Likewise.
53433         * math/w_lgamma.c: Likewise.
53434         * math/w_lgamma_r.c: Likewise.
53435         * math/w_lgammaf.c: Likewise.
53436         * math/w_lgammaf_r.c: Likewise.
53437         * math/w_lgammal.c: Likewise.
53438         * math/w_lgammal_r.c: Likewise.
53439         * math/w_log.c: Likewise.
53440         * math/w_log10.c: Likewise.
53441         * math/w_log10f.c: Likewise.
53442         * math/w_log10l.c: Likewise.
53443         * math/w_log2.c: Likewise.
53444         * math/w_log2f.c: Likewise.
53445         * math/w_log2l.c: Likewise.
53446         * math/w_logf.c: Likewise.
53447         * math/w_logl.c: Likewise.
53448         * math/w_pow.c: Likewise.
53449         * math/w_powf.c: Likewise.
53450         * math/w_powl.c: Likewise.
53451         * math/w_remainder.c: Likewise.
53452         * math/w_remainderf.c: Likewise.
53453         * math/w_remainderl.c: Likewise.
53454         * math/w_scalb.c: Likewise.
53455         * math/w_scalbf.c: Likewise.
53456         * math/w_scalbl.c: Likewise.
53457         * math/w_sinh.c: Likewise.
53458         * math/w_sinhf.c: Likewise.
53459         * math/w_sinhl.c: Likewise.
53460         * math/w_sqrt.c: Likewise.
53461         * math/w_sqrtf.c: Likewise.
53462         * math/w_sqrtl.c: Likewise.
53463         * math/w_tgamma.c: Likewise.
53464         * math/w_tgammaf.c: Likewise.
53465         * math/w_tgammal.c: Likewise.
53467         * po/ja.po: Update from translation team.
53469 2011-09-29  Andreas Jaeger  <aj@suse.de>
53471         [BZ #13179]
53472         * sunrpc/netname.c (netname2host): Fix logic.
53474         [BZ #6779]
53475         [BZ #6783]
53476         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53477         correctly.
53478         * math/w_remainder.c (__remainder): Likewise.
53479         * math/w_remainderf.c (__remainderf): Likewise.
53480         * math/libm-test.inc (remainder_test): Add test cases.
53482 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53484         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53485         sdiv_qrnnd.
53487 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53489         * string/test-memcmp.c: Avoid unncessary #defines.
53490         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53492 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53494         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53495         Use new sse2 version for core i3 - i7 as it's faster
53496         than sse42 version.
53497         (bit_Prefer_PMINUB_for_stringop): New.
53498         * sysdeps/x86_64/rawmemchr.S: Update.
53499         Replace with faster SSE2 version.
53500         * sysdeps/x86_64/memrchr.S: New file.
53501         * sysdeps/x86_64/memchr.S: Update.
53502         Replace with faster SSE2 version.
53504 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53506         * elf/dl-load.c (lose): Add cast to avoid warning.
53508 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53510         * po/ca.po: Update from translation team.
53512         * inet/getnetgrent_r.c: Hook up nscd.
53513         * nscd/Makefile (routines): Add nscd_netgroup.
53514         (nscd-modules): Add netgroupcache.
53515         (CFLAGS-netgroupcache.c): Define.
53516         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53517         (cache_search): Add const to second parameter.
53518         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53519         INNETGR.
53520         (dbs): Add netgrdb entry.
53521         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53522         (verify_persistent_db): Handle netgrdb.
53523         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53524         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53525         GETFDNETGR.
53526         (netgroup_response_header): Define.
53527         (innetgroup_response_header): Define.
53528         (datahead): Add netgroup_response_header and innetgroup_response_header
53529         elements.
53530         * nscd/nscd.conf: Add entries for netgroup cache.
53531         * nscd/nscd.h (dbtype): Add netgrdb.
53532         (_PATH_NSCD_NETGROUP_DB): Define.
53533         (netgroup_iov_disabled): Declare.
53534         (xmalloc, xcalloc, xrealloc): Move declarations here.
53535         (cache_search): Adjust prototype.
53536         Add netgroup-related prototypes.
53537         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53538         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53539         (__nscd_innetgr): Declare.
53540         * nscd/selinux.c (perms): Use access_vector_t as element type and
53541         add netgroup-related initializers.
53542         * nscd/netgroupcache.c: New file.
53543         * nscd/nscd_netgroup.c: New file.
53544         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53545         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53546         For four parameters use innetgr.
53547         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53548         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53549         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53550         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53552         * nscd/connections.c (register_traced_file): Don't register file
53553         for disabled databases.
53555 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53557         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53559         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53560         from tree and freeing node.
53562 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53564         * nss/nsswitch.c (__nss_database_lookup): Handle
53565         nss_parse_service_list out of memory case.
53567 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53569         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53570         out of memory case.
53572 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53574         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53575         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53576         pass it down.
53577         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53578         elf_machine_rela, elf_machine_lazy_rel.
53579         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53580         (ELF_DYNAMIC_DO_REL): Likewise.
53581         (ELF_DYNAMIC_DO_RELA): Likewise.
53582         (ELF_DYNAMIC_RELOCATE): Likewise.
53583         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53584         to ELF_DYNAMIC_DO_REL.
53585         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53586         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53587         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53588         elf_machine_rela.
53589         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53590         skip_ifunc, don't call ifunc function if non-zero.
53591         (elf_machine_rela): Likewise.
53592         (elf_machine_lazy_rel): Likewise.
53593         (elf_machine_lazy_rela): Likewise.
53594         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53595         (elf_machine_lazy_rel): Likewise.
53596         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53597         Likewise.
53598         (elf_machine_lazy_rel): Likewise.
53599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53600         Likewise.
53601         (elf_machine_lazy_rel): Likewise.
53602         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53603         (elf_machine_lazy_rel): Likewise.
53604         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53605         (elf_machine_lazy_rel): Likewise.
53606         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53607         (elf_machine_lazy_rel): Likewise.
53608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53609         (elf_machine_lazy_rel): Likewise.
53610         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53611         (elf_machine_lazy_rel): Likewise.
53612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53613         (elf_machine_lazy_rel): Likewise.
53615 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53617         * nss/nss_files/files-init.c (_nss_files_init): Use static
53618         initialization for all the *_traced_file variables.
53620 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53622         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53624 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53626         [BZ #13226]
53627         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53629 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53631         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53632         Reread the line before reparsing it.
53634 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53636         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53638 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53639             Maxim Kuvyrkov  <maxim@codesourcery.com>
53640             Joseph Myers  <joseph@codesourcery.com>
53642         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53643         if needed for __stack_chk_guard.
53645 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53647         * sysdeps/posix/spawni.c (script_execute): Always define it.
53648         It will be optimized away if unused.
53649         (maybe_script_execute): New function.
53650         (__spawni): Call it.
53652         * Makerules: Don't include tls.make.
53653         (config-tls): Always set to thread.
53654         * tls.make.c: File removed.
53656 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53658         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53659         * config.make.in (CPPFLAGS-config): New substituted variable.
53661 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53663         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53665         [BZ #13192]
53666         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53667         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53669 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53671         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53672         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53673         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53674         (CALL_FAIL): Likewise.
53675         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53676         (CALL_FAIL): Macro removed.
53677         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53679 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53681         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53682         for __FINITE_MATH_ONLY__ == 1.
53684 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53686         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53687         __ieee754_sqrt instead of sqrt.
53688         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53689         __ieee754_sqrtf instead of sqrtf.
53690         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53691         __floorf instead of floorf.
53692         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53693         __floorf, __truncf instead of floorf, truncf.
53695 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53697         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53699         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53700         __extern_always_inline.
53701         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53702         32-bit.
53704 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53706         * elf/rtld.c (dl_main): Also relocate in dependency order when
53707         doing symbol dependency testing.
53709 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53712         Always define `refsym'.
53714 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53716         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53717         (__FD_ELT): Renamed from __FDELT.
53718         * misc/bits/select2.h (__FD_ELT): Likewise.
53719         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53720         __FD_MASK instead of __FDELT, __FDMASK.
53721         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53722         Likewise.
53723         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53724         Likewise.
53726         * elf/Makefile (gen-ldd): Fix pattern.
53728         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53729         (init_tls): Likewise.
53731 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53733         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53735 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53737         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53738         `struct cmsghdr *' instead of `void *'.
53739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53740         Likewise.
53742 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53744         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53745         if non-absolute.
53746         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53747         ldd_rewrite_script.
53749 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53751         * configure.in: Remove --with-tls option.
53752         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53753         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53754         out in case it is missing.
53755         * sysdeps/ia64/elf/configure.in: Likewise.
53756         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53757         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53758         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53759         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53760         * sysdeps/sh/elf/configure.in: Likewise.
53761         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53762         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53763         * sysdeps/x86_64/elf/configure.in: Likewise.
53764         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53765         * sysdeps/mach/hurd/tls.h: Likewise.
53767         [BZ #13067]
53768         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53770         [BZ #13090]
53771         * configure.in: Fix use of AC_INIT.
53773         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53775 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53777         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53778         __set_errno.
53779         * malloc/hooks.c: Likewise.
53781         [BZ #11929]
53782         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53783         variables statically.
53784         (narenas): Initialize.
53785         (list_lock): Initialize.
53786         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53787         initializtion of main_arena and list_lock.  Small cleanups.
53788         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53789         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53790         Add initializers to main_arena and mp_.
53791         (malloc_state): Remove pagesize member.  Change all users to use
53792         GLRO(dl_pagesize).
53794         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53795         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53796         is always initialized.
53798         * malloc/malloc.c: Removed unused configurations and dead code.
53799         * malloc/arena.c: Likewise.
53800         * malloc/hooks.c: Likewise.
53801         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53803         * include/tls.h: Removed.  USE___THREAD must always be defined.
53804         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53805         * elf/dl-libc.c: Likewise.
53806         * elf/dl-tsd.c: Likewise.
53807         * include/errno.h: Likewise.
53808         * include/netdb.h: Likewise.
53809         * include/resolv.h: Likewise.
53810         * inet/herrno-loc.c: Likewise.
53811         * inet/herrno.c: Likewise.
53812         * malloc/arena.c: Likewise.
53813         * malloc/hooks.c: Likewise.
53814         * malloc/malloc.c: Likewise.
53815         * resolv/res-state.c: Likewise.
53816         * resolv/res_libc.c: Likewise.
53817         * sysdeps/i386/dl-machine.h: Likewise.
53818         * sysdeps/ia64/dl-machine.h: Likewise.
53819         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53820         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53821         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53822         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53823         * sysdeps/sh/dl-machine.h: Likewise.
53824         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53825         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53826         * sysdeps/unix/i386/sysdep.S: Likewise.
53827         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53828         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53832         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53833         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53837         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53838         * sysdeps/x86_64/dl-machine.h: Likewise.
53839         * tls.make.c: Likewise.
53841         * configure.in: Remove --with-__thread option.  Make tests for
53842         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53843         tls_model attribute fail if no support is available.  Remove
53844         USE_IN_LIBIO.
53845         * Makeconfig: Adjust for dropped configure option.  All features are
53846         now mandatory.
53847         * Makerules: Likewise.
53848         * Versions.def: Likewise.
53849         * argp/argp-fmtstream.c: Likewise.
53850         * argp/argp-fmtstream.h: Likewise.
53851         * argp/argp-help.c: Likewise.
53852         * assert/assert.c: Likewise.
53853         * config.h.in: Likewise.
53854         * config.make.in: Likewise.
53855         * configure: Likewise.
53856         * configure.in: Likewise.
53857         * csu/Versions: Likewise.
53858         * csu/init.c: Likewise.
53859         * elf/tst-audit2.c: Likewise.
53860         * elf/tst-tls10.c: Likewise.
53861         * elf/tst-tls10.h: Likewise.
53862         * elf/tst-tls11.c: Likewise.
53863         * elf/tst-tls12.c: Likewise.
53864         * elf/tst-tls14.c: Likewise.
53865         * elf/tst-tlsmod11.c: Likewise.
53866         * elf/tst-tlsmod12.c: Likewise.
53867         * elf/tst-tlsmod13.c: Likewise.
53868         * elf/tst-tlsmod13a.c: Likewise.
53869         * elf/tst-tlsmod14a.c: Likewise.
53870         * elf/tst-tlsmod15b.c: Likewise.
53871         * elf/tst-tlsmod16a.c: Likewise.
53872         * elf/tst-tlsmod16b.c: Likewise.
53873         * elf/tst-tlsmod7.c: Likewise.
53874         * elf/tst-tlsmod8.c: Likewise.
53875         * elf/tst-tlsmod9.c: Likewise.
53876         * gmon/gmon.c: Likewise.
53877         * grp/fgetgrent_r.c: Likewise.
53878         * grp/putgrent.c: Likewise.
53879         * hurd/fopenport.c: Likewise.
53880         * include/libc-symbols.h: Likewise.
53881         * include/tls.h: Likewise.
53882         * intl/gettextP.h: Likewise.
53883         * intl/loadinfo.h: Likewise.
53884         * locale/global-locale.c: Likewise.
53885         * locale/localeinfo.h: Likewise.
53886         * mach/devstream.c: Likewise.
53887         * malloc/arena.c: Likewise.
53888         * malloc/set-freeres.c: Likewise.
53889         * misc/err.c: Likewise.
53890         * misc/getttyent.c: Likewise.
53891         * misc/mntent_r.c: Likewise.
53892         * posix/getopt.c: Likewise.
53893         * posix/wordexp.c: Likewise.
53894         * pwd/fgetpwent_r.c: Likewise.
53895         * resolv/Versions: Likewise.
53896         * resolv/res_hconf.c: Likewise.
53897         * shadow/fgetspent_r.c: Likewise.
53898         * shadow/putspent.c: Likewise.
53899         * stdio-common/printf_fphex.c: Likewise.
53900         * stdio-common/tmpfile.c: Likewise.
53901         * stdlib/abort.c: Likewise.
53902         * stdlib/fmtmsg.c: Likewise.
53903         * sunrpc/auth_unix.c: Likewise.
53904         * sunrpc/clnt_perr.c: Likewise.
53905         * sunrpc/clnt_tcp.c: Likewise.
53906         * sunrpc/clnt_udp.c: Likewise.
53907         * sunrpc/clnt_unix.c: Likewise.
53908         * sunrpc/openchild.c: Likewise.
53909         * sunrpc/svc_simple.c: Likewise.
53910         * sunrpc/svc_tcp.c: Likewise.
53911         * sunrpc/svc_udp.c: Likewise.
53912         * sunrpc/svc_unix.c: Likewise.
53913         * sunrpc/xdr.c: Likewise.
53914         * sunrpc/xdr_array.c: Likewise.
53915         * sunrpc/xdr_rec.c: Likewise.
53916         * sunrpc/xdr_ref.c: Likewise.
53917         * sunrpc/xdr_stdio.c: Likewise.
53919 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53921         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53923 2011-07-03  Andreas Jaeger  <aj@suse.de>
53925         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53926         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53927         regenerate with gen-libm-tests.pl.
53929 2010-05-12  Petr Baudis  <pasky@suse.cz>
53931         [BZ #11589]
53932         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53933         around j0() zero points by switching to j1().
53934         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53935         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53937         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53939 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53941         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53942         instead of 0.
53943         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53944         instead of 0.
53945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53946         Patch in part by Pavel Roskin <proski@gnu.org>.
53948         [BZ #13138]
53949         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53950         realloc.
53951         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53952         Free memory block if necessary.
53954         [BZ #12847]
53955         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53956         be NULL.  Don't lock in this case.
53958 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53960         * elf/elf.h (ELFOSABI_GNU): New macro.
53961         (ELFOSABI_LINUX): Define to that.
53963 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53965         * string/strncat.c (strncat): Undef the symbol in case it has been
53966         defined in bits/string.h.
53968 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53970         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53972         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53973         link map.
53975 2011-08-17  Andreas Jaeger  <aj@suse.de>
53977         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53979 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53980             Ian Lance Taylor  <iant@google.com>
53982         * math/libm-test.inc (lround_test): New testcase.
53983         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53985 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53987         * Makefile: Remove support for automatic cvs check-ins.
53988         * Makerules: Likewise.
53989         * config.make.in: Likewise.
53990         * configure.in: Likewise.
53991         * intl/Makefile: Likewise.
53992         * locale/Makefile: Likewise.
53993         * po/Makefile: Likewise.
53994         * posix/Makefile: Likewise.
53995         * sysdeps/gnu/Makefile: Likewise.
53996         * sysdeps/mach/hurd/Makefile: Likewise.
53997         * sysdeps/sparc/sparc32/Makefile: Likewise.
53999         [BZ #13118]
54000         * posix/Makefile (bug-regex32-ENV): Define.
54001         Patch by John Stanley <jpsinthemix@verizon.net>.
54003         * misc/Makefile (headers): Add bits/select2.h.
54004         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54005         * misc/bits/select2.h: New file.
54006         * include/bits/select2.h: New file.
54007         * debug/Makefile (routines): Add fdelt_chk.
54008         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54009         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54010         FD_ISSET.
54011         * debug/fdelt_chk.c: New file.
54013         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
54014         * wcsmbs/test-wmemcmp.c: Likewise.
54015         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54016         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54018 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54020         * string/Makefile (strop-tests): Add memcmp.
54021         * string/test-wmemcmp.c: New file.
54022         * string/test-memcmp.c: Add wmemcmp support.
54024 2011-09-08  Roland McGrath  <roland@hack.frob.com>
54026         [BZ #13153]
54027         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54028         2011-07-19 change.
54030         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54031         garbage value in a __mach_port_mod_refs call in the cases of the
54032         task-self and thread-self ports.
54034 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54036         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54038 2011-09-08  Andreas Schwab  <schwab@redhat.com>
54040         * elf/dl-load.c (lose): Check for non-null L.
54042 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54044         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54046         * elf/dl-libc.c (dlerror_run): Pass back error code from
54047         dl_catch_error.
54049         [BZ #13123]
54050         * elf/dl-load.c (lose): Free l_origin if it is valid.
54052         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54053         names.
54054         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54055         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54056         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54057         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54058         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54059         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54061 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54063         * sysdeps/powerpc/fpu/e_hypot.c: New file.
54064         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54065         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54066         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54067         * sysdeps/powerpc/fpu/k_cosf.c: New file.
54068         * sysdeps/powerpc/fpu/k_sinf.c: New file.
54069         * sysdeps/powerpc/fpu/s_cosf.c: New file.
54070         * sysdeps/powerpc/fpu/s_sinf.c: New file.
54071         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54072         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54074 2011-08-15  Alan Modra  <amodra@gmail.com>
54076         [BZ #13092]
54077         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54078         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54079         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
54080         ppc_mcount to static-only-routines.
54081         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54082         __mcount_internal.
54083         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54084         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
54086 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
54088         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54089         for finite and infinity parameters.
54091 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54093         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54094         and add nop instructions for throughput optimization.
54095         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54097 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
54099         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54100         aligned copy for power7 with vector-scalar instructions.
54101         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54103 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
54105         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54106         AVX check.
54108 2011-09-07  Andreas Schwab  <schwab@redhat.com>
54110         [BZ #13144]
54111         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54112         last change.
54114 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54116         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54117         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54118         syscall wrapper around clock_gettime in __vdso_clock_gettime.
54119         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54120         clock_gettime.
54122 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54124         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54125         Forgot to demangle the pointer.
54127         * sysdeps/i386/sysdep.h: Define atom_text_section.
54128         * sysdeps/x86_64/sysdep.h: Likewise.
54129         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54130         section with atom_text_section.
54131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54132         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54133         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54134         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54135         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54137         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54138         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54139         already be defined.  Change to take two parameters and don't assign
54140         result to variable.  Adjust all users.
54141         Define INTERNAL_GETTIME if not already defined.
54142         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54143         call.
54144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54145         HAVE_CLOCK_GETTIME_VSYSCALL.
54146         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54148         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54149         gettimeofday vsyscall, just use time.
54151 2011-09-06  Andreas Schwab  <schwab@redhat.com>
54153         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54154         <errno.h>.
54156 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54158         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54159         syscall on x86-64.
54160         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54161         syscall.
54162         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54163         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54164         syscall if possible.
54166 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54168         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54169         e_ident.  Don't pass to find_mapsXX.
54170         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54172 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54175         strchr-sse2-no-bsf strrchr-sse2-no-bsf
54176         * sysdeps/x86_64/multiarch/strchr.S: Update.
54177         Check bit_slow_BSF bit.
54178         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54179         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54180         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54182 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54184         [BZ #13134]
54185         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54186         before glibc 2.15.
54187         (tryshell): Define.
54188         (__spawni): Change last parameter to be flag.  Test
54189         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54190         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54191         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54192         * posix/spawni.c: Likewise.
54193         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54194         * posix/spawnp.c: Likewise.  Change normal version to use
54195         SPAWN_XFLAGS_USE_PATH.
54196         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54197         SPAWN_XFLAGS_TRY_SHELL.
54199         [BZ #13150]
54200         * posix/glob.h: Remove gcc 1.x support.
54202         [BZ #13068]
54203         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54205 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54207         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54208         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54209         strrchr-sse2-bsf
54210         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54211         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54212         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54213         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54214         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54215         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54217 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54219         * sysdeps/x86_64/wcscmp.S: New file.
54221         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54222         wcscmp-c wcscmp-sse2
54223         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54224         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54225         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54226         * wcsmbs/wcscmp.c: Allow renaming.
54228 2011-09-05  David S. Miller  <davem@davemloft.net>
54230         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54231         stack slot, rather than the struct return pointer slot.
54232         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54233         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54235         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54237 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54239         * po/ja.po: Update from translation team.
54241         [BZ #13144]
54242         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54243         kernel in 64-bit binaries.
54245 2011-09-01  David S. Miller  <davem@davemloft.net>
54247         * elf/elf.h (HWCAP_SPARC_*): Move to..
54248         * sysdeps/sparc/sysdep.h: this new file and add new values.
54249         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54250         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54251         _DL_HWCAP_COUNT to 24.
54252         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54253         entries.
54254         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54255         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54256         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54258         instead of magic constants.
54259         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54261 2011-08-31  David S. Miller  <davem@davemloft.net>
54263         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54265         Reimplement to do errno handling inline.
54266         (SYSCALL_ERROR_HANDLER): New macro.
54267         (__SYSCALL_STRING): Do not do errno handling in asm.
54268         (__CLONE_SYSCALL_STRING): Delete.
54269         (__INTERNAL_SYSCALL_STRING): Delete.
54270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54271         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54272         (PSEUDO): Reimplement to do errno handling inline.
54273         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54274         (SYSCALL_ERROR_HANDLER): New macro.
54275         (__SYSCALL_STRING): Do not do errno handling in asm.
54276         (__CLONE_SYSCALL_STRING): Delete.
54277         (__INTERNAL_SYSCALL_STRING): Delete.
54278         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54279         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54280         i386.
54281         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54282         (inline_syscall*): Add 'err' argument.
54283         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54284         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54285         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54286         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54288         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54289         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54291 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54293         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54295 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54297         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54298         directive.
54300 2011-08-24  David S. Miller  <davem@davemloft.net>
54302         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54304 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54306         * elf/Makefile: Add rules to build and run unload8 test.
54307         * elf/unload8.c: New file.
54308         * elf/unload8mod1.c: New file.
54309         * elf/unload8mod1x.c: New file.
54310         * elf/unload8mod2.c: New file.
54311         * elf/unload8mod3.c: New file.
54313         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54314         it wasn't used.
54316 2011-08-23  David S. Miller  <davem@davemloft.net>
54318         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54319         subtract stack bias.
54320         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54321         %sp not %fp in calculations.
54322         (_JMPBUF_UNWINDS_ADJ): Likewise.
54324         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54325         (aio_suspend): Call it to force an exception region around the
54326         AIO_MISC_WAIT() invocation.
54328 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54330         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54331         backslash.
54333 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54335         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54336         protection macro.
54337         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54338         and <dl-machine.h>.
54339         (Elf64_FuncDesc): Remove.
54341 2011-08-22  David S. Miller  <davem@davemloft.net>
54343         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54344         sigaltstack check, add missing cfi directives.
54345         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54346         missing cfi directives, and sigaltstack handling.
54348 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54350         [BZ #11724]
54351         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54352         object is seen twice.
54353         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54355         * elf/Makefile (distribute): Add tst-initorder2.c.
54356         (tests): Add tst-initorder2.
54357         (modules-names): Add tst-initorder2a tst-initorder2b
54358         tst-initorder2c tst-initorder2d.  Add rules to build them.
54359         ($(objpfx)tst-initorder2.out): New rule.
54360         * elf/tst-initorder2.c: New file.
54361         * elf/tst-initorder2.exp: New file.
54363 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54365         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54367         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54368         dependencies back to end of function.
54370         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54371         $(elfobjdir)/ld.so.
54373 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54375         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54376         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54378         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54379         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54380         of __vdso_gettimeofday.
54381         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54382         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54383         attribute_hidden.
54384         (_libc_vdso_platform_setup): Remove initialization of
54385         __vdso_gettimeofday and __vdso_time.
54387 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54389         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54390         and fgetc_unlocked.
54391         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54392         getc_unlocked.
54394         * elf/dl-open.c (add_to_global): Report additions to the global scope
54395         for LD_DEBUG=scopes.
54396         (dl_open_worker): Also print scope of newly loaded dependencies.
54397         (_dl_show_scope): Indicate if there is no scope.
54399         [BZ #13114]
54400         * stdio-common/Makefile (tests): Add bug24.
54401         * stdio-common/bug24.c: New file.
54403 2011-08-19  Andreas Jaeger  <aj@suse.de>
54405         [BZ #13114]
54406         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54407         non-existant file when using close-on-exec mode.
54409 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54411         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54412         the very first instruction.
54414         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54415         the CFI state in the end.
54416         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54417         inclusion of dl-trampoline.h.
54418         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54420 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54422         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54423         expectations for long double.
54425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54426         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54428 2011-08-14  David S. Miller  <davem@davemloft.net>
54430         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54431         artificual limit depends upon the system page size.
54433 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54435         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54436         * resolv/Makefile: Define CFLAGS-libresolv.
54438 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54440         * nss/makedb.c (compute_tables): Make variables used in nested
54441         function static.
54443 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54445         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54446         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54447         if buffer was too small.
54449         * elf/pldd.c (main): Attach to all threads in the process.
54450         Rewrite /proc handling to use *at functions.
54452 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54454         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54455         specifies first scope to show.
54456         (dl_open_worker): Update callers.  Move printing scope of new
54457         object to before the relocation.
54458         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54459         * sysdeps/generic/ldsodefs.h: Update declaration.
54461         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54462         string for the scope number.
54464 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54466         * nscd/servicescache.c (cache_addserv): Make sure written is always
54467         initialized.
54469 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54471         * sysdeps/i386/i486/bits/atomic.h
54472         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54473         statement expression, so as to suppress "set but not used" warning.
54474         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54476         * string/strncat.c (STRNCAT): Use prototype definition.
54478         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54479         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54480         -Iprograms here.
54481         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54482         (localedef-modules): Add localedef.
54483         (locale-modules): Add locale.
54485         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54486         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54487         to avoid a warning.
54489 2011-08-14  David S. Miller  <davem@davemloft.net>
54491         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54492         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54494 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54496         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54497         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54498         * elf/rtld.c (dl_main): Set l_name of vDSO.
54499         Call _dl_show_scope when DL_DEBUG_SCOPES.
54500         (process_dl_debug): Recognize scopes flag and also set it for all.
54501         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54502         Declare _dl_show_scope.
54504         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54505         (do_dlopen): Pass caller_dlopen to dl_open.
54506         (__libc_dlopen_mode): Initialize caller_dlopen.
54508         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54509         of libc.  Make tolower call locale-independent.  Optimize a bit by
54510         using isdigit instead of isalnum.
54511         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54513 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54515         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54516         was a dependency or dynamically loaded.
54518 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54520         * intl/l10nflist.c: Allow architecture-specific pop function.
54521         * sysdeps/x86_64/l10nflist.c: New file.
54523         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54524         classification.
54526 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54528         * include/dirent.h: Add libc_hidden_proto for scandirat and
54529         scandirat64.  Don't declare __scandirat64.
54530         * dirent/scandirat.c: Add libc_hidden_def.
54531         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54532         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54534 2011-08-10  David S. Miller  <davem@davemloft.net>
54536         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54537         enum.
54538         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54539         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54540         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54542 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54544         * Versions.def [libc]: Add GLIBC_2.15.
54545         * dirent/Makefile (routines): Add scandirat and scandirat64.
54546         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54547         GLIBC_2.15.
54548         * dirent/dirent.h: Declare scandirat and scandirat64.
54549         * dirent/scandirat.c: New file.
54550         * dirent/scandirat64.c: New file.
54551         * sysdeps/wordsize-64/scandirat.c: New file.
54552         * sysdeps/wordsize-64/scandirat64.c: New file.
54553         * dirent/opendir.c: Define opendirat.
54554         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54555         using scandirat.
54556         * dirent/scandir64.c: Adjust for scandir.c change.
54557         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54558         __scandirat64, and __scandir_cancel_handler.
54559         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54560         additional parameter and use openat instead of open (outside of ld.so).
54561         Add new __opendir as wrapper around __opendirat.
54562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54563         here without requiring old scandirat implementation.
54565 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54567         * dirent/scandir.c (cancel_handler): Renamed to
54568         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54569         defined.  Adjust users.
54570         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54571         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54573 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54575         * string/test-string.h (IMPL): Use __STRING to expand name and then
54576         stringify it.
54578         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54579         of cleanups.
54581 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54583         * string/Makefile: Update.
54584         (strop-tests): Append strncat.
54585         * string/test-wcscmp.c: New file.
54586         New comprehensive test for wcscmp.
54587         * string/test-strcmp.c: Update.
54588         (WIDE): New define.
54590 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54592         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54593         line.
54595 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54598         encoding to ACE if AI_IDN.
54600 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54603         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54605 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54607         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54608         Fix overflow bug in strncat.
54609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54611         * string/test-strncat.c: Update.
54612         Add new tests for checking overflow bugs.
54614 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54616         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54617         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54618         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54619         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54621         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54622         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54623         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54624         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54626         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54627         (USE_AS_STRCAT): Define.
54628         Add strcat and strncat support.
54629         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54631 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54633         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54634         __n bigger than INT_MAX+1.
54635         (__strncmp_g): Likewise.
54637 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54639         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54640         * libio/stido.h: Likewise.
54642         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54643         (AF_NFC): Define.
54644         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54645         (AF_NFC): Define.
54647         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54648         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54649         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54650         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54651         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54653         [BZ #13021]
54654         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54655         installed.
54657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54658         typo.
54659         (_dl_x86_64_save_sse): Likewise.
54661 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54664         OSXSAVE.
54665         (_dl_x86_64_save_sse): Likewise.
54667         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54669         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54671 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54674         change.
54675         (_dl_x86_64_save_sse): Use correct AVX check.
54677 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54679         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54680         bug in strncpy/strncat.
54681         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54683 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54685         * string/tester.c (test_strcat): Add tests for different alignments
54686         of source and destination.
54687         (test_strncat): Likewise.
54689 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54691         [BZ #12852]
54692         * posix/glob.c (glob): Check passed in values before using them in
54693         expressions to avoid some overflows.
54694         (glob_in_dir): Likewise.
54696         [BZ #13007]
54697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54698         check for AVX enablement so that we don't crash with old kernels and
54699         new hardware.
54700         * elf/tst-audit4.c: Add same checks here.
54701         * elf/tst-audit6.c: Likewise.
54703         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54705 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54707         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54709 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54711         * po/cs.po: Update from translation team.
54712         * po/bg.po: Likewise.
54714 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54716         * misc/sys/cdefs.h: Add support for const attribute.
54717         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54718         to gnu_dev_{major,minor,makedev} functions.
54720 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54722         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54724 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54726         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54727         strlen results.
54729 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54732         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54733         register in order to avoid conflicts with the soft frame pointer
54734         being held in r11 when necessary.
54735         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54736         (INTERNAL_VSYSCALL_NCS): Likewise.
54738 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54740         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54741         * elf/dl-fini.c (_dl_fini): Adjust caller.
54742         * elf/dl-close.c (_dl_close_worker): Likewise.
54743         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54745 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54747         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54748         "aux_cache->nlibs < 0".
54750         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54751         in the reload-count case.
54753 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54756         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54757         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54758         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54759         * sysdeps/x86_64/multiarch/strcat.S: New file.
54760         * sysdeps/x86_64/multiarch/strncat.S: New file.
54761         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54762         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54763         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54764         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54765         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54766         (USE_AS_STRCAT): Define.
54767         Add strcat and strncat support.
54768         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54769         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54770         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54771         * string/strncat.c: Update.
54772         (USE_AS_STRNCAT): Define.
54773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54774         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54775         and i7.
54776         * sysdeps/x86_64/multiarch/init-arch.h
54777         (bit_Prefer_PMINUB_for_stringop): New.
54778         (index_Prefer_PMINUB_for_stringop): Likewise.
54779         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54780         bit_Prefer_PMINUB_for_stringop.
54782 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54784         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54785         buffer64.
54786         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54787         of casting of buffer.
54788         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54789         buffer32 and buffer64.
54790         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54791         writes instead of casting of buffer.
54792         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54793         buffer32.
54794         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54795         casting of buffer.
54797 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54799         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54801 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54803         * nscd/nscd.c (termination_handler): Don't do anything for a database
54804         if it has not yet been initialized.
54806 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54808         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54810 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54812         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54814 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54816         * po/nl.po: Update from translation team.
54817         * po/sv.po: Likewise.
54819 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54821         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54822         now disallowed by GCC.
54824         * configure.in (use-default-link): Default to yes if a test -shared
54825         link meets our qualifications.
54826         * configure: Regenerated.
54828         * config.make.in (output-format): New variable.
54829         * configure.in: Check for ld --print-output-format support.
54830         * configure: Regenerated.
54831         * Makerules ($(common-objpfx)format.lds)
54832         [$(output-format) != unknown]: Just use $(output-format),
54833         instead of the linker-script munging.
54835 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54837         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54838         of $(common-objpfx)shlib.lds.
54839         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54841         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54842         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54844         * configure.in (-z relro check): Adjust test code to add a large
54845         writable data section after it.
54846         * configure: Regenerated.
54848 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54850         * configure.in (-z relro check): Fix test code to make the variable
54851         truly const.
54852         * configure: Regenerated.
54854 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54856         * nscd/nscd.h (struct traced_file): Define.
54857         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54858         elements.  Add traced_files.
54859         (inotify_fd): Declare.
54860         (register_traced_file): Declare.
54861         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54862         (inotify_fd): Export.
54863         (resolv_conf_descr): Remove.
54864         (nscd_init): Move inotify descriptor creation to main.
54865         Don't register files for notification here.
54866         (register_traced_file): New function.
54867         (invalidate_cache): Don't use reset_res to determine whether to call
54868         res_init, go through the list of registered files.
54869         (main_loop_poll): The inotify descriptors are now stored in the
54870         structures for the traced files.
54871         (main_loop_epoll): Likewise
54872         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54873         to __nss_disable_nscd.
54874         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54875         for a database anymore.  Check the records for all the registered
54876         files instead.
54877         * nss/Makefile (libnss_files-routines): Add files-init.
54878         (libnss_db-routines): Add db-init.
54879         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54880         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54881         * nss/nss_db/db-init.c: New file.
54882         * nss/nss_files/files-init.c: New file.
54883         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54884         __nss_lookup_function.
54885         (__nss_lookup_function): Call nss_load_library.
54886         (nss_load_all_libraries): New function.
54887         (__nss_disable_nscd): Take parameter with callback function for files
54888         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54889         used for the cached services.
54890         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54891         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54892         options for features to all the files in nscd.
54894         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54896 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54898         * csu/elf-init.c (__libc_csu_init): Comment typo.
54900 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54902         * po/pl.po: Update from translation team.
54903         * po/ja.po: Likewise.
54904         * po/ru.po: Likewise.
54905         * po/ko.po: Likewise.
54906         * po/fr.po: Likewise.
54908 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54910         * configure.in (.ctors/.dtors header and trailer check):
54911         Use an empirical test on a built program.
54912         * configure: Regenerated.
54914         * configure.in (-z relro check): Use an empirical test on a built DSO.
54915         Detect, but do not require, on ia64.
54916         * configure: Regenerated.
54918         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54919         Update tests that use readelf to use $READELF instead.
54920         * configure: Regenerated.
54922 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54924         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54925         if the result is not used.
54927 2011-07-05  Andreas Jaeger  <aj@suse.de>
54929         [BZ#9696]
54930         * stdlib/tst-strtod.c: Add testcase.
54932 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54934         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54935         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54936         The latter has a higher limit.  Take additional parameter to pass to
54937         the new function.
54938         (__pathconf): Pass file to __statfs_link_max.
54939         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54940         __statfs_link_max.
54941         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54942         __statfs_link_max.
54944         [BZ #12868]
54945         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54946         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54947         Handle Lustre.
54948         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54949         (__statfs_filesize_max): Likewise.
54950         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54952 2011-07-05  Andreas Jaeger  <aj@suse.de>
54954         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54956 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54958         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54959         `status' variable.
54960         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54961         Likewise.
54963 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54965         * Makefile (strop-tests): Add strncat.
54966         * string/test-strncat.c: New file.
54968 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54970         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54972 2011-06-21  Andreas Jaeger  <aj@suse.de>
54974         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54975         Copy rule from iconvdata/Makefile.
54977 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54979         [BZ #12922]
54980         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54981         but no long options are defined, just return 'W'.
54983 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54985         [BZ #9696]
54986         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54988 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54990         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54991         netgroups to read.
54992         (innetgr): Likewise.
54994 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54996         * config.make.in (install_root): Default to $(DESTDIR).
54998 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
55000         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55002 2011-07-02  Roland McGrath  <roland@hack.frob.com>
55004         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55006         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55007         containing directory rather than embedding absolute directory names.
55009         * scripts/check-local-headers.sh: Rewritten using awk.
55010         Match by word, not by line.  Print error messages for matches.
55011         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55013         * Makerules [shlib-lds-flags empty]:
55014         ($(common-objpfx)libc_pic.opts): New target.
55015         ($(common-objpfx)libc_pic.os.clean): New target.
55016         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55018         * config.make.in (OBJCOPY): New variable.
55019         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55020         * configure: Regenerated.
55022         * config.make.in (use-default-link): New variable.
55023         * configure.in (use_default_link): Grok --with-default-link to set it.
55024         * configure: Regenerated.
55025         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55026         (shlib-lds, shlib-lds-flags): Define to empty.
55028         * Makerules (shlib-lds): New variable.
55029         (shlib-lds-flags): New variable.
55030         (build-shlib, build-moduile, build-module-asneeded): Use it.
55031         ($(common-objpfx)libc.so): Use $(shlib-lds).
55032         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55033         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55035         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55036         DT_FLAGS/DT_FLAGS_1 with zero flags.
55038         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55039         linker script munging.
55041 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
55043         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55044         as 128-bit value.
55045         * crypt/sha512.c (sha512_process_block): Perform total addition using
55046         128-bit if possible.
55047         (__sha512_finish_ctx): Likewise.
55048         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55049         as 64-bit value.
55050         * crypt/sha256.c (SWAP64): Define.
55051         (sha256_process_block): Perform total addition using 64-bit if
55052         possible.
55053         (__sha256_finish_ctx): Likewise.
55055 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
55057         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
55058         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55059         * nscd/hstcache.c (cache_addhst): Likewise.
55060         * nscd/grpcache.c (cache_addgr): Likewise.
55061         * nscd/aicache.c (addhstaiX): Likewise
55062         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55064 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
55066         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55067         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55068         * nscd/hstcache.c (cache_addhst): Likewise.
55069         * nscd/grpcache.c (cache_addgr): Likewise.
55070         * nscd/aicache.c (addhstaiX): Likewise
55072 2011-07-01  Andreas Schwab  <schwab@redhat.com>
55074         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55075         domain only when needed.
55077 2011-06-30  Andreas Schwab  <schwab@redhat.com>
55079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55080         is always restored.
55082 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
55084         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55085         are re-adding the entry.
55086         * nscd/servicescache.c (cache_addserv): Likewise.
55088 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
55090         * sysdeps/generic/dl-irel.h: fix protection against multiple
55091         inclusions.
55092         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55094 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
55096         [BZ #12935]
55097         * malloc/memusage.sh: Fix quoting in message.
55098         * debug/xtrace.sh: Likewise.
55100         * configure.in: Remove support for --experimental-malloc option, make
55101         it the default.
55102         * config.make.in: Likewise.
55103         * malloc/Makefile: Likewise.
55105 2011-06-27  Andreas Schwab  <schwab@redhat.com>
55107         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55108         two-byte characters.
55110 2011-06-27  Roland McGrath  <roland@hack.frob.com>
55112         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55113         AC_CACHE_CHECK invocation.
55114         * configure: Regenerated.
55116         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55118 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
55120         [BZ #12350]
55121         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
55122         bit from old_res_options.
55124         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55126         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55127         value type for setfct.
55129 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
55131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55132         __gettimeofday instead of gettimeofday.
55134 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
55136         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55138 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
55140         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55142         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55143         info.
55145 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55148         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55149         strcpy-sse2-unaligned strncpy-sse2-unaligned
55150         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55151         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55152         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55153         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55154         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55155         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55156         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55157         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55158         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55159         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55160         (STRCPY): Support SSE2 and SSSE3 versions.
55162 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
55164         [BZ #12874]
55165         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55166         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55167         kernels which artificially limit size of requests.
55169 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55172         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55173         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55174         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55175         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55176         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55177         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55178         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55179         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55180         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55181         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55182         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55183         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55184         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55185         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55187         Enable unaligned load optimization for Intel Core i3, i5 and i7
55188         processors.
55189         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55190         Define.
55191         (index_Fast_Unaligned_Load): Define.
55192         (HAS_FAST_UNALIGNED_LOAD): Define.
55194 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55196         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55198 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55200         [BZ #12907]
55201         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55202         until it is clear that the information is realy needed.
55203         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55205 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55209 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55211         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55212         /sys/devices/system/cpu/online if it is usable.
55214         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55215         reading the information from the /proc filesystem to once a second.
55217 2011-06-21  Andreas Jaeger  <aj@suse.de>
55219         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55220         NULL after inclusion of kernel headers.
55222 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55224         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55225         calls to internal_setent.
55227         [BZ #12885]
55228         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55229         addresses using gethostbyname4_r ignore IPv4 addresses.
55231         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55232         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55234         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55236 2011-06-20  David S. Miller  <davem@davemloft.net>
55238         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55239         inclusions.
55240         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55242         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55243         (elf_irel): Use it.
55244         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55245         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55246         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55247         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55248         * sysdeps/x86_64/dl-irel.h: Likewise.
55250         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55251         * elf/dl-sym.c: Likewise.
55253 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55255         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55256         need to dereference resplen2.
55258 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55260         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55262 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55264         * Makeconfig: Define vardbdir and inst_vardbdir.
55265         * nss/Makefile: Add rules to install db-Makefile.
55267         * nss/nss_db/db-XXX.c: Cleanup.
55269         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55270         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55271         GLIBC_PRIVATE.
55272         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55273         * nss/makedb.c: Implement -g option to specify that value strings
55274         are generated and should not be added to table iterated over for
55275         get*ent calls.
55276         * nss/nss_db/db-initgroups.c: New file.
55278         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55279         interface.
55281         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55282         (internal_getgrouplist): Adjust to name change.
55283         Update use_initgroups_entry if this is not the first call.
55284         * nss/databases.def: Add initgroups entry.
55286         * nss/makedb.c (compute_tables): Check result of multiple hash table
55287         sizes to minimize maximum chain length.
55289 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55291         * Versions.def: Add entry for libnss_db.
55292         * shlib-versions: Likewise.
55293         * nss/Makefile: Add rules to build libnss_db.
55294         * nss/Versions: Add libnss_db information.  Organize libnss_files
55295         entries better.
55296         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55297         makedb progra.  Some minor improvements to generate smaller files.
55298         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55299         here from...
55300         * nss/makedb.c: ...here.
55301         Improve database format to be smaller and require less memory at
55302         runtime.
55303         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55304         db anymore.
55305         * nss/nss_db/db-netgrp.c: Likewise.
55306         * nss/nss_db/db-open.c: Likewise.
55307         * nss/nss_files/flies-XXX.x: Adjust comments.
55308         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55309         * nss/nss_files/files-grp.c: Likewise.
55310         * nss/nss_files/files-hosts.c: Likewise.
55311         * nss/nss_files/files-network.c: Likewise.
55312         * nss/nss_files/files-proto.c: Likewise.
55313         * nss/nss_files/files-pwd.c: Likewise.
55314         * nss/nss_files/files-rpc.c: Likewise.
55315         * nss/nss_files/files-service.c: Likewise.
55316         * nss/nss_files/files-sgrp.c: Likewise.
55317         * nss/nss_files/files-spwd.c: Likewise.
55318         * nss/nss_db/db-alias.c: Removed.
55319         * nss/nss_db/dummy-db.h: Removed.
55321 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55323         * nss/makedb.c: Rewritten to not use database library.
55324         * nss/Makefile: Update to build new makedb program.
55326 2011-06-14  Andreas Jaeger  <aj@suse.de>
55328         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55329         memset declaration.
55331 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55334         tmpbuf.
55336 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55338         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55339         * elf/Makefile ($(objpfx)ld.so): Likewise.
55341         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55342         Don't list ld.so twice in dependencies.
55344         * posix/bug-regex31.c: Include <stdlib.h>.
55346         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55348         * nis/nss_compat/compat-spwd.c
55349         (getspent_next_nss_netgr): Remove unused variable.
55350         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55352         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55353         nonmembers" output to use the right array.
55355         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55357         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55359         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55360         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55361         * catgets/gencat.c (read_input_file): Likewise.
55362         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55364         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55365         variable definition inside #if's controlling its use.
55367         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55369         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55371         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55373         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55374         unreachable code.
55376         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55378         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55379         * configure: Regenerated.
55381         * Makerules: Revert last change.
55382         * elf/Makefile: Likewise.
55384 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55386         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55387         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55388         (reloc-link): Likewise.
55390 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55392         * elf/Makefile: Add rules to build pldd.
55393         * elf/pldd.c: New file.
55394         * elf/pldd-xx.c: New file.
55396 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55398         * version.h: Update for 2.15 development version.
55400 2011-06-07  David S. Miller  <davem@davemloft.net>
55402         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55403         ifuncs.
55404         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55405         elf_machine_lazy_rel): Likewise.
55406         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55407         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55408         elf_machine_lazy_rel): Likewise.
55409         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55410         dl_hwcap via passed in argument.
55411         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55412         Likewise.
55414 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55416         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55418 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55420         [BZ #12849]
55421         * manual/fdl-1.1.texi: New file, verbatim from:
55422         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55423         * manual/lgpl-2.1.texi: New file, verbatim from:
55424         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55425         * manual/Makefile (licenses): New variable, list those new file names.
55426         (texis): Use it.
55427         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55429         * manual/fdl.texi: File removed.
55430         * manual/lesser.texi: File removed.
55431         * manual/libc.texinfo (Copying, Documentation License):
55432         Use new @include file names, put @appendix directive before @include.
55434 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55436         [BZ #12841]
55437         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55438         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55439         (mq_open): Add __NTH.
55441 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55444         Assume Intel Core i3/i5/i7 processor if AVX is available.
55446 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55448         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55449         typo.
55451 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55453         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55454         memory.  Use alloca_account.  Fix memory leak when retrying.
55456 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55458         * version.h (RELEASE): Bump for 2.14 release.
55459         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55461         * config.make.in (RANLIB): Remove entry.
55463 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55465         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55466         (libc.pot): Work around missing support for .ksh extension in xgettext.
55468         [BZ #12684]
55469         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55470         if both request failed.
55471         (send_dg): In case of server errors clear resplen or *resplen2.
55473         [BZ #12454]
55474         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55475         when there are multiple maps.
55476         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55477         (_dl_fini): Remove test here.
55479         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55481 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55483         [BZ #12350]
55484         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55485         bit from old_res_options.
55486         (gaih_inet): Likewise.
55488         [BZ #11099]
55489         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55490         as signed.
55492         * resolv/res_init.c (res_setoptions): Make the code more compact.
55494         [BZ #11558]
55495         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55496         set RES_USEVC.
55498         [BZ #11634]
55499         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55501         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55503         [BZ #11781]
55504         * malloc/malloc.h: Declare malloc hook variables as volatile.
55506         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55507         in last patch.
55509         [BZ #11799]
55510         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55511         raise in the comment.
55512         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55513         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55514         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55516 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55518         [BZ #12811]
55519         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55520         grow the buffers more if it already has to be sufficient.
55521         (build_wcs_upper_buffer): Likewise.
55522         * posix/regexec.c (check_matching): Likewise.
55523         (clean_state_log_if_needed): Likewise.
55524         (extend_buffers): Don't enlarge buffers beyond size of the input
55525         buffer.
55526         Patches mostly by Emil Wojak <emil@wojak.eu>.
55527         * posix/bug-regex32.c: New file.
55528         * posix/Makefile (tests): Add bug-regex32.
55530         * locale/findlocale.c (_nl_find_locale): Return right away if
55531         _nl_explode_name failed.
55532         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55534         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55536         * debug/xtrace.sh: Unify messages.
55537         * malloc/memusage.sh: Likewise.
55539         [BZ #12813]
55540         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55541         time symbol from vDSO.  Substitute with vsyscall if not available.
55542         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55543         __vdso_time.
55545         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55546         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55547         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55548         Add sendmmsg and internal_sendmmsg.
55549         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55550         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55551         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55553         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55554         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55555         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55557 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55559         [BZ #12813]
55560         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55561         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55562         available.
55563         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55564         __vdso_getcpu.
55566         [BZ #12814]
55567         * iconvdata/Makefile (tests): Add bug-iconv9.
55568         * iconvdata/bug-iconv9.c: New file.
55570 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55572         [BZ #12814]
55573         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55575 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55577         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55578         (struct user_regs_struct): Change intcs field back to cs.
55580 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55582         * po/ja.po: Update from translation team.
55584 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55586         [BZ #12795]
55587         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55588         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55590 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55592         * stdlib/longlong.h: Update from GCC.
55594 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55596         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55597         parameter name.
55598         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55599         Add parameter name.
55600         (__sysconf): Pass it down.
55602 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55604         [BZ #12671]
55605         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55606         some situations.
55607         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55608         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55609         add in in __libc_use_alloca calls.  Adjust callers.
55610         (glob): Use malloc in some situations.
55612         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55613         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55614         pltexit.
55616 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55618         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55619         and CLOCK_BOOTTIME_ALARM.
55621         [BZ #12782]
55622         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55623         is returned.
55625         * string/_strerror.c (__strerror_r): Print negative errors as signed
55626         numbers.
55628         [BZ #12777]
55629         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55630         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55631         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55633         * configure.in: Fix typo in redirection and correct removal of test
55634         files in two cases.
55636         [BZ #12788]
55637         * locale/setlocale.c (new_composite_name): Fix test to check for
55638         identical name of all categories.
55640         [BZ #12792]
55641         * libio/filedoalloc.c (local_isatty): New function.
55642         (_IO_file_doallocate): Use local_isatty.
55643         * stdio-common/perror.c (perror): In case a new stream is used
55644         forward the stream error.
55645         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55646         error flag.
55648 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55650         [BZ #11869]
55651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55652         alloca.
55653         * include/alloca.h (extend_alloca_account): Define.
55655         [BZ #11857]
55656         * posix/regex.h: Fix comments with documentation of user-accessible
55657         fields after compilation and describe correct free'ing of pattern
55658         after re_compile_pattern.
55659         Patch by Reuben Thomas <rrt@sc3d.org>.
55661 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55663         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55664         and -mno-altivec to prevent the compiler from using Altivec and/or
55665         VSX instructions when the corresponding registers are not available.
55667 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55669         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55671 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55673         * libio/freopen.c (freopen): Use __dup2, not dup2.
55674         * libio/freopen64.c (freopen64): Likewise.
55676 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55678         [BZ #12775]
55679         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55680         * math/Makefile (tests): Add test-powl.
55681         (CFLAGS-test-powl.c): Define.
55682         * math/test-powl.c: New file.
55684 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55686         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55688 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55690         [BZ #11837]
55691         * iconvdata/gb18030.c: Update to GB18020-2005.
55693 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55695         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55696         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55697         Patch by Aharon Robbins <arnold@skeeve.com>.
55699         [BZ #11892]
55700         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55701         on the stack.
55703         [BZ #11895]
55704         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55705         through underflows.
55707         [BZ #12766]
55708         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55709         point to strings before performing equality test for error_one_per_line
55710         mode.
55712         [BZ #11697]
55713         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55715         [BZ #11820]
55716         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55717         (struct user_fpregs_struct): Avoid __uint*_t types.
55719         [BZ #6420]
55720         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55721         symbol info.  Use it instead of calling _dl_addr locally.
55722         (lock_and_info): New function.
55723         (tr_freehook): Call lock_and_info and pass symbol info as additional
55724         parameter to tr_where.
55725         (tr_mallochook): Likewise.
55726         (tr_reallochook): Likewise.
55727         (tr_memalignhook): Likewise.
55729         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55730         used and couldn't be at all thread-safe.
55732 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55734         * libio/freopen.c (freopen): Don't close old file descriptor
55735         before the new one is opened.  Instead dup the new file descriptor
55736         to the old one after the new stream is created.
55737         * libio/freopen64.c (freopen64): Likewise.
55738         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55739         * libio/fileops.c (_IO_new_file_close_it): Handle new
55740         _IO_FLAGS2_NOCLOSE flag.
55741         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55742         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55743         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55744         _IO_FLAGS2_NOCLOSE flag.
55745         * include/unistd.h: Add hidden_proto for dup3.
55746         Define __have_dup3.
55747         * io/dup3.c: Define hidden symbol.
55748         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55750         [BZ #7101]
55751         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55752         when an incomplete long option is used.
55753         * posix/tst-getopt_long1.c: New file.
55754         * posix/Makefile (tests): Add tst-getopt_long1.
55756         [BZ #10138]
55757         * scripts/config.guess: Update from autoconf-2.68.
55758         * scripts/config.sub: Likewise.
55760         [BZ #10157]
55761         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55762         tests into ...
55763         (has_cpuclock): ...this.  New function.
55764         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55765         macro here based on has_cpuclock code.
55767         [BZ #10149]
55768         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55769         First byte (not low byte) is now always NUL.
55770         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55773         Use non-cancelable interfaces.
55775         [BZ #9809]
55776         * locale/iso-639.def: Add entry for Sorani.
55778         [BZ #11901]
55779         * include/stdlib.h: Move include protection to the right place.
55780         Define abort_msg_s.  Declare __abort_msg with it.
55781         * stdlib/abort.c (__abort_msg): Adjust type.
55782         * assert/assert.c (__assert_fail_base): New function.  Majority
55783         of code from __assert_fail.  Allocate memory for __abort_msg with
55784         mmap.
55785         (__assert_fail): Now call __assert_fail_base.
55786         * assert/assert-perr.c: Remove bulk of implementation.  Use
55787         __assert_fail_base.
55788         * include/assert.hL Declare __assert_fail_base.
55789         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55790         mmap.
55791         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55793 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55795         [BZ #11952]
55796         [BZ #12453]
55797         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55798         until all modules are registered in the DTV.
55799         * elf/Makefile: Add rules to build and run tst-tls19.
55800         * elf/tst-tls19.c: New file.
55801         * elf/tst-tls19mod1.c: New file.
55802         * elf/tst-tls19mod2.c: New file.
55803         * elf/tst-tls19mod3.c: New file.
55804         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55806         [BZ #12083]
55807         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55808         correctly.
55810         [BZ #12601]
55811         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55812         two-byte sequence errors.
55813         * iconvdata/Makefile (tests): Add bug-iconv8.
55814         * iconvdata/bug-iconv8.c: New file.
55816         [BZ #12626]
55817         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55818         buf2 definition.
55820         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55822         [BZ #12432]
55823         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55824         (dummy_getcfa): New function.
55825         (init): Get _Unwind_GetCFA address, use dummy if not found.
55826         (backtrace_helper): In recursion check, also check whether CFA changes.
55827         (__backtrace): Completely initialize arg.
55829         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55830         storing incomplete byte sequence in state object.  Avoid testing for
55831         guaranteed too small input if we know there is enough data available.
55833 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55835         * Makeconfig (+link-pie): Indent.
55836         * Rules (binaries-pie): Define if $(have-fpie) and
55837         $(build-shared).
55838         (binaries-shared): Also filter out $(binaries-pie).
55839         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55840         * nscd/Makefile (others-pie): Add nscd.
55841         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55842         ($(objpfx)nscd): Remove command override.
55843         * login/Makefile (others-pie): Add pt_chown.
55844         ($(objpfx)pt_chown): Remove command override.
55845         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55846         remove command overrides.
55848 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55850         * libio/tst_putwc.c: Fix error messages.
55852         [BZ #12724]
55853         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55854         currently writing and seek to current position when not.
55855         * libio/Makefile (tests): Add bug-fclose1.
55856         * libio/bug-fclose1.c: New file.
55858 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55860         [BZ #12511]
55861         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55862         don't set DF_1_NODELETE here.
55863         (do_lookup_x): When entering new entry test for copy relocation
55864         and if necessary set DF_1_NODELETE flag.
55865         * elf/tst-unique4.cc: New file.
55866         * elf/tst-unique4.h: New file.
55867         * elf/tst-unique4lib.cc: New file.
55868         * elf/Makefile: Add rules to build and run tst-unique4.
55869         Patch by Piotr Bury <pbury@goahead.com>.
55871 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55873         [BZ #12052]
55874         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55876         [BZ #12625]
55877         * misc/mntent_r.c (addmntent): Flush the stream after the output
55879         [BZ #12393]
55880         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55881         (is_trusted_path_normalize): Skip initial colon.  Append slash
55882         to empty buffer.  Duplicate is_trusted_path code but allow
55883         constructed patch to be prefix.
55884         (is_dst): Allow $ORIGIN followed by /.
55885         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55886         Correct testing of result of is_trusted_path_normalize
55887         (decompose_rpath): Fix warning.
55889 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55891         [BZ #11257]
55892         * grp/initgroups.c (internal_getgrouplist): When we found the service
55893         list through the initgroups entry in nsswitch.conf do not always
55894         continue on a successful lookup.  Don't always use the
55895         __nss_group_database value if it is set.
55896         * nss/nsswitch.conf (initgroups): Change action for successful db
55897         lookup to continue for compatibility.
55899 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55901         [BZ #11532]
55902         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55903         and CP774 modules.
55904         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55905         and CP774 modules.
55906         * iconvdata/tst-tables.sh: Likewise.
55907         * iconvdata/cp770.c: New file.
55908         * iconvdata/cp771.c: New file.
55909         * iconvdata/cp772.c: New file.
55910         * iconvdata/cp773.c: New file.
55911         * iconvdata/cp774.c: New file.
55912         * iconvdata/testdata/CP770: New file.
55913         * iconvdata/testdata/CP770..UTF8: New file.
55914         * iconvdata/testdata/CP771: New file.
55915         * iconvdata/testdata/CP771..UTF8: New file.
55916         * iconvdata/testdata/CP772: New file.
55917         * iconvdata/testdata/CP772..UTF8: New file.
55918         * iconvdata/testdata/CP773: New file.
55919         * iconvdata/testdata/CP773..UTF8: New file.
55920         * iconvdata/testdata/CP774: New file.
55921         * iconvdata/testdata/CP774..UTF8: New file.
55923         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55924         END CHARMAP line.
55925         * iconvdata/gen-8bit-gap.sh: Likewise.
55926         * iconvdata/gen-8bit.sh: Likewise.
55928         * locale/iso-639.def: Add ary entry.
55930         [BZ #11258]
55931         * locale/C-translit.h.in: Add U20A1 transliteration.
55933         [BZ #12178]
55934         * locale/iso-639.def: Add wae entry.
55935         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55937         [BZ #12545]
55938         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55939         for n.
55941         [BZ #12711]
55942         * locale/C-translit.h.in: Add entry for U20B9.
55943         Patch by pravin.d.s@gmail.com.
55945 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55947         [BZ #12713]
55948         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55949         ENAMETOOLONG use generic getcwd.
55950         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55951         in rtld.  Use *stat64.
55952         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55953         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55954         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55955         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55956         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55957         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55958         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55959         __fstatat64 macros.
55960         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55961         * dirent/rewinddir.c: Add libc_hidden_def.
55962         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55963         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55965         * include/dirent.h (__alloc_dir): Add flags parameter.
55966         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55967         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55968         __alloc_dir.
55969         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55970         from fdopendir if O_CLOEXEC is already set.
55972 2011-03-15  Alan Modra  <amodra@gmail.com>
55974         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55975         l_tls_firstbyte_offset non-zero.  Save padding offset in
55976         l_tls_firstbyte_offset for later use.
55977         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55978         freeing static tls block.
55980 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55982         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55983         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55984         being defined by the kernel headers.
55986 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55988         [BZ #12734]
55989         * resolv/resolv.h: Define RES_NOTLDQUERY.
55990         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55991         no-tld-query and set RES_NOTLDQUERY.
55992         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55993         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55994         modern BIND to search name as TLD unless forbidden.
55996 2011-05-07  Petr Baudis  <pasky@suse.cz>
55997             Ulrich Drepper  <drepper@gmail.com>
55999         [BZ #12393]
56000         * elf/dl-load.c (fillin_rpath): Move trusted path check...
56001         (is_trusted_path): ...to here.
56002         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56003         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56004         using is_trusted_path_normalize() in setuid scripts.
56006 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56008         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56009         __BEGIN/__END_DECLS.
56011 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
56013         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56014         NSS_STATUS_NOTFOUND if no record was found.
56016 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56018         * sunrpc/Makefile (headers): Add rpc/netdb.h.
56019         (headers-not-in-tirpc): Remove rpc/netdb.h
56020         * resolv/netdb.h: Revert last change.
56022 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56024         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56025         circular dependency between libgcc.a and libc.a.
56027 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56029         * resolv/netdb.h: Don't include <rpc/netdb.h>.
56030         * nis/Makefile: Don't install rpcsvc/*.
56031         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56032         instead of <rpc/types.h>.
56033         (MAXHOSTNAMELEN): Define.
56035 2011-05-03  Andreas Schwab  <schwab@redhat.com>
56037         * elf/ldconfig.c (add_dir): Don't crash on empty path.
56039 2011-04-28  Maciej Babinski  <mbabinski@google.com>
56041         [BZ #12714]
56042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56043         gethostbyname4_r when IPv6 results are possible.
56045 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
56047         [BZ #12723]
56048         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56049         _PC_PIPE_BUF handling.
56051 2011-04-30  Bruno Haible  <bruno@clisp.org>
56053         [BZ #12717]
56054         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56055         * resolv/netdb.h (getnameinfo): Change type of flags parameter
56056         to 'int'.
56057         * inet/getnameinfo.c (getnameinfo): Likewise.
56059 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
56061         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56062         to groups setting in database lookup.
56063         * nss/nsswitch.conf: Add initgroups entry.
56065 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
56067         [BZ #12685]
56068         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56069         mode string.
56070         Patch by Eric Blake <eblake@redhat.com>.
56072 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
56074         * sunrpc/Makefile (need-export-routines): Add svc_run.
56075         (routines): Remove svc_run.
56076         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56077         * sunrpc/clnt_perr.c (clnt_perrno): Export.
56078         * sunrpc/svc_run.c (svc_run): Likewise.
56079         * sunrpc/svc_udp.c (svcudp_create): Likewise.
56081 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
56083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56084         problem in reallocation in last patch.
56086 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
56088         * sunrpc/Makefile: Move inclusion of Rules.
56090 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56092         * nss/nss_files/files-initgroups.c: New file.
56093         * nss/Makefile (libnss_files-routines): Add files-initgroups.
56094         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56095         _nss_files_initgroups_dyn.
56097 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
56099         * elf/elf.h (R_ARM_IRELATIVE): Define.
56101 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56103         * po/ru.po: Update from translation team.
56105 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56107         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56108         dependencies.
56110 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
56112         [BZ #12653]
56113         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56114         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56115         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56116         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56117         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56119 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
56121         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56122         differing bytes.
56123         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56124         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56125         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56127 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56129         [BZ #12420]
56130         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56131         storing it.
56132         * stdlib/bug-getcontext.c: New file.
56133         * stdlib/Makefile: Add rules to build and run bug-getcontext.
56135 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56137         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56138         instructions into .machine "z9-109".
56139         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56140         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56142 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56144         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56145         between environment variables and auxiliary vector.
56147 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
56149         * Makefile: Add rules to build linkobj/libc.so.
56150         * include/libc-symbols.h: Define libc_hidden_nolink.
56151         * include/rpc/auth.h: Mark functions which are to be hidden.
56152         * include/rpc/auth_des.h: Likewise.
56153         * include/rpc/auth_unix.h: Likewise.
56154         * include/rpc/clnt.h: Likewise.
56155         * include/rpc/des_crypt.h: Likewise.
56156         * include/rpc/key_prot.h: Likewise.
56157         * include/rpc/pmap_clnt.h: Likewise.
56158         * include/rpc/pmap_prot.h: Likewise.
56159         * include/rpc/pmap_rmt.h: Likewise.
56160         * include/rpc/rpc_msg.h: Likewise.
56161         * include/rpc/svc.h: Likewise.
56162         * include/rpc/svc_auth.h: Likewise.
56163         * include/rpc/xdr.h: Likewise.
56164         * nis/Makefile: Link all DSOs against linkobj/libc.so.
56165         * nss/Makefile: Likewise.
56166         * sunrpc/Makefile: Don't install headers.  Build library with normal
56167         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
56168         * sunrpc/auth_des.c: Hide exported symbols by default, export some
56169         for the compat linking library.  Remove use of INTDEF/INTUSE.
56170         * sunrpc/auth_none.c: Likewise.
56171         * sunrpc/auth_unix.c: Likewise.
56172         * sunrpc/authdes_prot.c: Likewise.
56173         * sunrpc/authuxprot.c: Likewise.
56174         * sunrpc/clnt_gen.c: Likewise.
56175         * sunrpc/clnt_perr.c: Likewise.
56176         * sunrpc/clnt_raw.c: Likewise.
56177         * sunrpc/clnt_simp.c: Likewise.
56178         * sunrpc/clnt_tcp.c: Likewise.
56179         * sunrpc/clnt_udp.c: Likewise.
56180         * sunrpc/clnt_unix.c: Likewise.
56181         * sunrpc/des_crypt.c: Likewise.
56182         * sunrpc/des_soft.c: Likewise.
56183         * sunrpc/get_myaddr.c: Likewise.
56184         * sunrpc/key_call.c: Likewise.
56185         * sunrpc/key_prot.c: Likewise.
56186         * sunrpc/netname.c: Likewise.
56187         * sunrpc/pm_getmaps.c: Likewise.
56188         * sunrpc/pm_getport.c: Likewise.
56189         * sunrpc/pmap_clnt.c: Likewise.
56190         * sunrpc/pmap_prot.c: Likewise.
56191         * sunrpc/pmap_prot2.c: Likewise.
56192         * sunrpc/pmap_rmt.c: Likewise.
56193         * sunrpc/publickey.c: Likewise.
56194         * sunrpc/rpc_cmsg.c: Likewise.
56195         * sunrpc/rpc_common.c: Likewise.
56196         * sunrpc/rpc_dtable.c: Likewise.
56197         * sunrpc/rpc_prot.c: Likewise.
56198         * sunrpc/rpc_thread.c: Likewise.
56199         * sunrpc/rtime.c: Likewise.
56200         * sunrpc/svc.c: Likewise.
56201         * sunrpc/svc_auth.c: Likewise.
56202         * sunrpc/svc_authux.c: Likewise.
56203         * sunrpc/svc_raw.c: Likewise.
56204         * sunrpc/svc_run.c: Likewise.
56205         * sunrpc/svc_simple.c: Likewise.
56206         * sunrpc/svc_tcp.c: Likewise.
56207         * sunrpc/svc_udp.c: Likewise.
56208         * sunrpc/svc_unix.c: Likewise.
56209         * sunrpc/svcauth_des.c: Likewise.
56210         * sunrpc/xcrypt.c: Likewise.
56211         * sunrpc/xdr.c: Likewise.
56212         * sunrpc/xdr_array.c: Likewise.
56213         * sunrpc/xdr_float.c: Likewise.
56214         * sunrpc/xdr_intXX_t.c: Likewise.
56215         * sunrpc/xdr_mem.c: Likewise.
56216         * sunrpc/xdr_rec.c: Likewise.
56217         * sunrpc/xdr_ref.c: Likewise.
56218         * sunrpc/xdr_sizeof.c: Likewise.
56219         * sunrpc/xdr_stdio.c: Likewise.
56221 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56223         [BZ #12650]
56224         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56225         * sysdeps/ia64/dl-tls.h: Likewise.
56226         * sysdeps/powerpc/dl-tls.h: Likewise.
56227         * sysdeps/s390/dl-tls.h: Likewise.
56228         * sysdeps/sh/dl-tls.h: Likewise.
56229         * sysdeps/sparc/dl-tls.h: Likewise.
56230         * sysdeps/x86_64/dl-tls.h: Likewise.
56231         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56233 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56235         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56236         rpath element also skip the following colon.
56237         (expand_dynamic_string_token): Add is_path parameter and pass
56238         down to DL_DST_REQUIRED and _dl_dst_substitute.
56239         (decompose_rpath): Call expand_dynamic_string_token with
56240         non-zero is_path.  Ignore empty rpaths.
56241         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56242         with zero is_path.
56244 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56247         Make cancelable.
56249 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56251         [BZ #12655]
56252         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56253         Patch by Filipe David Manana <fdmanana@apache.org>.
56255 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56257         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56258         Maintain aligned stack.
56259         (CHECK_RSP): Remove unused macro.
56261 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56263         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56264         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56266 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56268         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56270         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56272 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56274         [BZ #12518]
56275         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56276         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56277         * sysdeps/x86_64/memmove.c: New file.
56278         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56279         (memcpy): Renamed to ...
56280         (__new_memcpy): This.
56281         (memcpy): Provide GLIBC_2_14 memcpy.
56282         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56283         (memcpy): Provide GLIBC_2_2_5 memcpy.
56285 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56287         [BZ #12631]
56288         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56290 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56292         * misc/syncfs.c: New file.
56293         * misc/Makefile (routines): Add syncfs.
56294         * posix/unistd.h: Declare syncfs.
56295         * sysdeps/unix/syscalls.list: Add syncfs.
56297 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56299         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56300         open_by_handle_at.
56301         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56302         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56304         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56306         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56307         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56309 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56311         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56312         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56313         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56314         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56315         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56316         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56319         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56320         sync_file_range.c with -fexceptions.
56321         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56322         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56323         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56324         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56325         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56326         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56327         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56328         sync_file_range as cancellation point
56329         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56330         now a wrapper around __call_sync_file_range with cancellation handling.
56331         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56332         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56333         function name to __call_sync_file_range.
56334         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56335         Add call_sync_file_range.
56337 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56340         bits/timex.h.
56342 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56344         * iconv/iconv.h: Fix typo in comment.
56345         * io/fcntl.h: Likewise.
56346         * libio/stdio.h: Likewise.
56347         * posix/spawn.h: Likewise.
56348         * posix/unistd.h: Likewise.
56349         * stdlib/stdlib.h: Likewise.
56350         * time/time.h: Likewise.
56351         * wcsmbs/wchar.h: Likewise.
56353         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56354         open_by_handle): Add.
56355         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56356         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56357         Augment a few comments.
56358         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56360         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56362         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56363         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56364         open_by_handle.
56366         * io/fcntl.h (AT_EMPTY_PATH): Define.
56368 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56370         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56371         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56372         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56373         to...
56374         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56375         * Versions.def: Add GLIBC_2.14.
56376         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56377         Export.
56379 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56381         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56382         round counter.
56383         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56385 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56387         [BZ #12597]
56388         * string/test-strncmp.c (do_page_test): New function.
56389         (check2): Likewise.
56390         (test_main): Call check2.
56391         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56393 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56395         [BZ #12587]
56396         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56397         Handle cache information in CPU leaf 4.
56398         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56400 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56402         [BZ #12583]
56403         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56404         character representation.
56405         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56407 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56409         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56410         END(__isnan) to END(__isnanf) to match function entry point/label
56411         EALIGN(__isnanf,...).
56413 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56415         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56417 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56419         [BZ #12510]
56420         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56421         copy from the symbol referenced in the relocation to initialize the
56422         used variable.
56423         Patch by Piotr Bury <pbury@goahead.com>.
56424         * elf/Makefile: Add rules to build and tst-unique3.
56425         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56426         * elf/tst-unique3.cc: New file.
56427         * elf/tst-unique3.h: New file.
56428         * elf/tst-unique3lib.cc: New file.
56429         * elf/tst-unique3lib2.cc: New file.
56431         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56433 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56435         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56436         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56437         to _start.
56439 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56441         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56442         to-be-loaded object along a path to loader is ld.so.
56444 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56445             Ulrich Drepper  <drepper@gmail.com>
56447         * sysdeps/x86_64/memset.S: After aligning destination, code
56448         branches to different locations depending on the value of
56449         misalignment, when multiarch is enabled. Fix this.
56451 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56453         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56454         Set _x86_64_preferred_memory_instruction for AMD processsors.
56455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56456         Set bit_Prefer_SSE_for_memop for AMD processors.
56458 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56460         * libio/fmemopen.c (fmemopen): Optimize a bit.
56462 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56464         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56466 2011-03-03  Roland McGrath  <roland@redhat.com>
56468         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56470 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56472         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56473         __bzero_ultra1 instead of __memset_ultra1.
56475 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56476             Ulrich Drepper  <drepper@gmail.com>
56478         [BZ #12509]
56479         * include/link.h (struct link_map): Add l_orig_initfini.
56480         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56481         returning unsuccessfully.
56482         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56483         close of a file loaded at startup, restore the original l_initfini
56484         list.
56485         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56486         list, store the pointer.
56487         * elf/Makefile ($(objpfx)noload-mem): New rule.
56488         (noload-ENV): Define.
56489         (tests): Add $(objpfx)noload-mem.
56490         * elf/noload.c: Include <memcheck.h>.
56491         (main): Call mtrace.  Close all opened handles.
56493 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56495         [BZ #12454]
56496         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56497         dependencies are missing.
56499 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56501         Fix __if_freereq crash: Unlike the generic version which uses free,
56502         Hurd needs munmap.
56503         * sysdeps/mach/hurd/ifreq.h: New file.
56505 2011-01-27  Petr Baudis  <pasky@suse.cz>
56506             Ulrich Drepper  <drepper@gmail.com>
56508         [BZ 12445]#
56509         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56510         to extend_alloca().
56511         * stdio-common/bug23.c: New file.
56512         * stdio-common/Makefile (tests): Add bug23.
56514 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56515             Ulrich Drepper  <drepper@gmail.com>
56517         [BZ #12489]
56518         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56519         before performing relro protection.  At old place add assertion
56520         to make sure nothing changed.
56522 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56523             Glauber de Oliveira Costa  <glommer@gmail.com>
56525         * elf/elf.h: Add new ARM TLS relocs.
56527 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56530         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56531         cast from r3.
56532         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56533         'tests' variable.
56534         * sysdeps/wordsize-64/tst-writev.c: New file.
56536 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56538         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56539         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56540         insns in _dl_start to prevent a TOC reference before relocs are
56541         resolved.
56543 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56545         [BZ #12469]
56546         * Makeconfig: Remove RANLIB definition.
56547         * Makerules: Don't use RANLIB.
56548         * aclocal.m4: Remove ranlib test.
56549         * configure.in: No need to check for ranlib.
56550         * elf/rtld-Rules: Don't use RANLIB.
56552 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56554         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56555         protection macro.
56556         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56557         inclusion protection macro.
56559         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56560         SIGRTMIN and SIGRTMAX and print information in that case only when
56561         SIGRTMIN is defined.
56563 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56565         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56566         arginfo fn returning -1.
56568         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56569         and thousands string is zero terminated.
56571 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56574         sysdeps/unix/sysv/linux/bits/socket.h.
56576 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56578         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56579         (__CPU_COUNT): Remove old macros.
56580         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56581         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56582         (__CPU_ALLOC, __CPU_FREE): Add macros.
56583         (__sched_cpualloc, __sched_cpufree): Add declarations.
56585 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56587         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56588         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56589         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56590         (readdhstai): Return value of addhstaiX call.
56591         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56592         (addgrbyX): Return value returned by cache_addgr.
56593         (readdgrbyname): Return value returned by addgrbyX.
56594         (readdgrbygid): Likewise.
56595         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56596         (addpwbyX): Return value returned by cache_addpw.
56597         (readdpwbyname): Return value returned by addhstbyX.
56598         (readdpwbyuid): Likewise.
56599         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56600         (addservbyX): Return value returned by cache_addserv.
56601         (readdservbyname): Return value returned by addservbyX:
56602         (readdservbyport): Likewise.
56603         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56604         (addhstbyX): Return value returned by cache_addhst.
56605         (readdhstbyname): Return value returned by addhstbyX.
56606         (readdhstbyaddr): Likewise.
56607         (readdhstbynamev6): Likewise.
56608         (readdhstbyaddrv6): Likewise.
56609         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56610         (readdinitgroups): Return value returned by addinitgroupsX.
56611         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56612         (prune_cache): Keep track of timeout value of re-added entries.
56613         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56614         * nscd/nscd.h: Adjust prototypes of readd* functions.
56616 2011-02-04  Roland McGrath  <roland@redhat.com>
56618         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56619         (nis_stats): Likewise.
56620         * nis/nis_modify.c (nis_modify): Likewise.
56621         * nis/nis_remove.c (nis_remove): Likewise.
56622         * nis/nis_add.c (nis_add): Likewise.
56624         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56626         * posix/fnmatch_loop.c: Add some consts.
56628         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56630 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56632         [BZ #12460]
56633         * config.make.in (config-cflags-novzeroupper): Define.
56634         * configure.in: Substitute libc_cv_cc_novzeroupper.
56635         * elf/Makefile (AVX-CFLAGS): Define.
56636         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56637         (CFLAGS-tst-auditmod4a.c): Likewise.
56638         (CFLAGS-tst-auditmod4b.c): Likewise.
56639         (CFLAGS-tst-auditmod6b.c): Likewise.
56640         (CFLAGS-tst-auditmod6c.c): Likewise.
56641         (CFLAGS-tst-auditmod7b.c): Likewise.
56642         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56644 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56646         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56647         function to the callback.
56648         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56650 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56652         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56653         of errno.
56655 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56657         [BZ #11724]
56658         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56659         of constructors.
56660         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56661         of destructors.
56662         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56664         [BZ #11724]
56665         * elf/Makefile: Add rules to build and run new test.
56666         * elf/tst-initorder.c: New file.
56667         * elf/tst-initorder.exp: New file.
56668         * elf/tst-initordera1.c: New file.
56669         * elf/tst-initordera2.c: New file.
56670         * elf/tst-initordera3.c: New file.
56671         * elf/tst-initordera4.c: New file.
56672         * elf/tst-initorderb1.c: New file.
56673         * elf/tst-initorderb2.c: New file.
56674         * elf/tst-order-a1.c: New file.
56675         * elf/tst-order-a2.c: New file.
56676         * elf/tst-order-a3.c: New file.
56677         * elf/tst-order-a4.c: New file.
56678         * elf/tst-order-b1.c: New file.
56679         * elf/tst-order-b2.c: New file.
56680         * elf/tst-order-main.c: New file.
56681         New test case by George Gensure <werkt0@gmail.com>.
56683 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56686         decoding ACE if AI_CANONIDN.
56688 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56690         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56692 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56694         * version.h (RELEASE): Bump for 2.13 release.
56695         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56697         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56699         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56700         MADV_NOHUGEPAGE.
56701         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56702         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56703         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56704         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56705         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56706         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56708         * posix/getconf.c: Update copyright year.
56709         * catgets/gencat.c: Likewise.
56710         * csu/version.c: Likewise.
56711         * debug/catchsegv.sh: Likewise.
56712         * debug/xtrace.sh: Likewise.
56713         * elf/ldconfig.c: Likewise.
56714         * elf/ldd.bash.in: Likewise.
56715         * elf/sprof.c (print_version): Likewise.
56716         * iconv/iconv_prog.c: Likewise.
56717         * iconv/iconvconfig.c: Likewise.
56718         * locale/programs/locale.c: Likewise.
56719         * locale/programs/localedef.c: Likewise.
56720         * malloc/memusage.sh: Likewise.
56721         * malloc/mtrace.pl: Likewise.
56722         * nscd/nscd.c (print_version): Likewise.
56723         * nss/getent.c: Likewise.
56725         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56726         PF_CAIF, and PF_ALG.
56727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56729 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56731         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56732         (modules-names): Use them.
56733         (ifunc-test-modules, ifunc-pie-tests): Define.
56734         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56735         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56736         (test-extras): Likewise.
56737         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56738         $(compile-command.c).
56739         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56740         (all-built-dso): Define.
56741         (check-textrel.out, check-execstack.out): Depend on it.
56743         * configure.in: Don't override --enable-multi-arch.
56745 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56747         [BZ #6812]
56748         * nscd/hstcache.c (tryagain): Define.
56749         (cache_addhst): Return tryagain not notfound for temporary errors.
56750         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56751         failed.
56753 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56755         [BZ #10563]
56756         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56757         to make the syscall.
56758         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56760         [BZ #12378]
56761         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56762         and fall back to matching as normal character if the string ends before
56763         the matching ']' is found.  This is what POSIX requires.
56764         * posix/testfnm.c: Adjust test result.
56765         * posix/globtest.sh: Adjust test result.  Add new test.
56766         * posix/tst-fnmatch.input: Likewise.
56767         * posix/tst-fnmatch2.c: Add new test.
56769 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56771         * elf/Makefile (check-execstack): Revert last change.  Depend on
56772         check-execstack.h.
56773         (check-execstack.h): New target.
56774         (generated): Add check-execstack.h.
56775         * elf/check-execstack.c: Include "check-execstack.h".
56776         (main): Revert last change.
56777         (handle_file): Return zero if GNU_STACK is absent and
56778         DEFAULT_STACK_PERMS doesn't include PF_X.
56780 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56782         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56783         in child fails because the descriptor is already closed.
56784         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56785         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56786         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56788         [BZ #12397]
56789         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56790         syscall.
56792         [BZ #10484]
56793         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56794         temporary buffer used to handle multi lookups locally.
56795         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56797 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56799         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56800         loader is ld.so.
56802 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56804         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56805         alignment for SSE2.
56807 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56809         [BZ #12394]
56810         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56811         characters.  When rounding increased number of integer digits recompute
56812         number of groups.
56813         * stdio-common/tst-grouping.c: New file.
56814         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56816 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56818         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56819         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56821         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56822         void.
56823         * bits/select.h: Likewise.
56825 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56827         * po/ja.po: Update from translation team.
56829 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56831         [BZ #11155]
56832         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56833         implementation just like for lxstat, fxstatat, et al.
56835 2010-12-27  Jim Meyering  <meyering@redhat.com>
56837         [BZ #12348]
56838         * posix/regexec.c (build_trtable): Return failure indication upon
56839         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56841 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56843         [BZ #12201]
56844         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56845         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56846         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56847         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56849         [BZ #12207]
56850         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56852         [BZ #12204]
56853         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56854         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56856 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56858         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56859         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56860         script has SORT_BY_INIT_PRIORITY.
56861         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56862         NO_CTORS_DTORS_SECTIONS is defined.
56863         * elf/soinit.c: Likewise.
56864         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56865         NO_CTORS_DTORS_SECTIONS is defined.
56866         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56867         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56868         * sysdeps/sh/init-first.c: Likewise.
56869         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56871 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56873         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56874         always use the slow path.
56876 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56878         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56879         similar rule which adds the sysdep directories to the header search in
56880         order to pick up the correct platform stackinfo.h.
56881         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56882         perform test if it is, otherwise return successfully without testing.
56883         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56884         DEFAULT_STACK_PERMS define in stackinfo.h.
56885         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56886         defined in stackinfo.h.
56887         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56888         DEFAULT_STACK_PERMS defined in stackinfo.h.
56889         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56890         * sysdeps/ia64/stackinfo.h: Likewise.
56891         * sysdeps/s390/stackinfo.h: Likewise.
56892         * sysdeps/sh/stackinfo.h: Likewise.
56893         * sysdeps/sparc/stackinfo.h: Likewise.
56894         * sysdeps/x86_64/stackinfo.h: Likewise.
56895         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56896         PF_X for powerpc64.  Retain PF_X for powerpc32.
56898 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56900         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56901         accurately.
56902         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56903         GETDENTS_64BIT_ALIGNED.
56905 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56907         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56909 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56911         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56912         _GNU_SOURCE.
56914         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56915         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56916         Remove __restrict.
56917         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56918         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56920 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56922         [BZ #11655]
56923         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56924         are initialized.
56926 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56928         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56930 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56932         * po/it.po: Update from translation team.
56934 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56936         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56937         unused codes.
56939 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56941         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56943 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56945         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56946         specially.
56947         (gaih_getanswer_slice): Likewise.
56949 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56951         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56953 2010-05-31  Petr Baudis  <pasky@suse.cz>
56955         [BZ #11149]
56956         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56957         silently even in the chroot mode.
56959 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56961         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56962         last patch a bit.  Pretty printing
56964 2010-05-31  Petr Baudis <pasky@suse.cz>
56966         [BZ #10085]
56967         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56968         initialization of skip_initgroups_dyn.
56970 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56972         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56973         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56975 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56977         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56979 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56981         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56982         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56983         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56984         ($(objpfx)tst-fnmatch-mem): New rule.
56985         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56986         * posix/tst-fnmatch.c (main): Call mtrace.
56988 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56991         Support Intel processor model 6 and model 0x2c.
56993 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56995         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56996           signed comparison.
56998 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
57000         [BZ #12205]
57001         * string/test-strncasecmp.c (check_result): New function.
57002         (do_one_test): Use it.
57003         (check1): New function.
57004         (test_main): Use it.
57005         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57006         Support strcasecmp and strncasecmp.
57008 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
57010         [BZ #12194]
57011         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57012         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57014 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57016         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57017         IFUNC support.
57018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57019         memset-x86-64.
57020         * sysdeps/x86_64/multiarch/bzero.S: New file.
57021         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57022         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57023         * sysdeps/x86_64/multiarch/memset.S: New file.
57024         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57026         Set bit_Prefer_SSE_for_memop for Intel processors.
57027         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57028         Define.
57029         (index_Prefer_SSE_for_memop): Define.
57030         (HAS_PREFER_SSE_FOR_MEMOP): Define.
57032 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
57034         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57035         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57037 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
57039         [BZ #12191]
57040         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57041         (__x86_64_raw_data_cache_size_half): Likewise.
57042         (__x86_64_raw_shared_cache_size): Likewise.
57043         (__x86_64_raw_shared_cache_size_half): Likewise.
57045         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57046         (__x86_64_raw_data_cache_size_half): Likewise.
57047         (__x86_64_raw_shared_cache_size): Likewise.
57048         (__x86_64_raw_shared_cache_size_half): Likewise.
57049         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57050         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57051         and __x86_64_raw_shared_cache_size_half.  Round
57052         __x86_64_data_cache_size_half, __x86_64_data_cache_size
57053         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57054         to multiple of 256 bytes.
57056 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
57058         [BZ #12167]
57059         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57060         of inacessible symlinks.  Verify result of symlink before returning it.
57061         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57062         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57064 2010-10-28  Erich Ritz  <erichritz@gmail.com>
57066         * math/math.h (isinf): Fix typo in comment.
57068 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
57070         * po/da.po: Update from translation team.
57072 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
57074         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57075         is added to the list.
57077 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57078             Ulrich Drepper  <drepper@gmail.com>
57080         * elf/dl-object.c (_dl_new_object): Don't append the new object to
57081         the global list here.  Move code to...
57082         (_dl_add_to_namespace_list): ...here.  New function.
57083         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57084         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57085         * elf/dl-load.c (lose): Don't remove the element from the list.
57086         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57087         (_dl_map_object): Likewise.
57089 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
57091         [BZ #12159]
57092         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57093         into all bytes of SSE register.
57094         Patch by Richard Li <richardpku@gmail.com>.
57096 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
57098         [BZ #12140]
57099         * malloc/malloc.c (_int_free): Fill correct number of bytes when
57100         perturbing.
57102 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
57104         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57105         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57106         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57107         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57109         submachine.
57110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57112 2010-10-22  Andreas Schwab  <schwab@redhat.com>
57114         * include/dlfcn.h (__RTLD_SECURE): Define.
57115         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
57116         mode & __RTLD_SECURE instead.
57117         (open_path): Rename preloaded parameter to secure.
57118         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57119         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57120         * elf/dl-deps.c (openaux): Likewise.
57121         * elf/rtld.c (struct map_args): Remove is_preloaded.
57122         (map_doit): Don't use it.
57123         (dl_main): Likewise.
57124         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57125         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57127 2010-09-09  Andreas Schwab  <schwab@redhat.com>
57129         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57130         (sysd-rules-targets): Remove duplicates.
57131         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57132         rtld-%.$o dependency.
57134 2010-10-18  Andreas Schwab  <schwab@redhat.com>
57136         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57137         _dl_map_object do it.
57139 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
57141         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57142         fast fma builtins, define the macros in the C99 standard.
57143         (FP_FAST_FMAF): Likewise.
57144         (FP_FAST_FMAL): Likewise.
57145         * sysdeps/x86_64/bits/mathdef.h: Likewise.
57147         * bits/mathdef.h: Update copyright year.
57148         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57150 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
57152         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57153         builtins, define the macros in the C99 standard.
57154         (FP_FAST_FMAF): Likewise.
57155         (FP_FAST_FMAL): Likewise.
57156         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57157         multiply/add.
57158         (FP_FAST_FMAF): Likewise.
57160 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
57162         [BZ #3268]
57163         * math/libm-test.inc (fma_test): Some new testcases.
57164         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57165         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57166         y and infinite z.  Do multiplication by C already in long double.
57167         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57169         y and infinite z.  Do bitwise or of inexact bit into u.d.
57170         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57171         * sysdeps/i386/fpu/s_fmaf.S: Removed.
57172         * sysdeps/i386/fpu/s_fma.S: Removed.
57173         * sysdeps/i386/fpu/s_fmal.S: Removed.
57175 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
57177         [BZ #3268]
57178         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57180         computation is not scheduled after fetestexcept.  Fix value
57181         of minimum denormal long double.
57183 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
57185         [BZ #3268]
57186         * math/libm-test.inc (fma_test): Add some more tests.
57187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57188         correctly.
57190 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57192         * scripts/data/localplt-s390-linux-gnu.data: New file.
57193         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57195 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57197         [BZ #3268]
57198         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57199         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57200         instead of dbl-64.
57201         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57202         inlines.
57203         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57205         if one of x and y is very large and the other is subnormal.
57206         * sysdeps/s390/fpu/s_fmaf.c: New file.
57207         * sysdeps/s390/fpu/s_fma.c: New file.
57208         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57209         * sysdeps/powerpc/fpu/s_fma.S: New file.
57210         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57211         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57212         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57214 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57216         [BZ #3268]
57217         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57218         fma tests.
57219         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57220         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57221         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57222         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57223         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57224         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57225         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57227 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57229         [BZ #12078]
57230         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57231         * posix/bug-regex31.input: Add test case.
57233 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57235         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57236         * posix/bug-regex31.input: New file.
57238         [BZ #12078]
57239         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57240         (parse_sub_exp): Fix last change, use postorder.
57242         * posix/bug-regex31.c: New file.
57243         * posix/Makefile: Add rules to build and run bug-regex31.
57245         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57247         [BZ #12078]
57248         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57250         [BZ #12108]
57251         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57252         to have entries in sys_siglist.
57254         [BZ #12093]
57255         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57256         be NULL.
57258 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57260         [BZ #3268]
57261         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57262         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57263         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57264         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57265         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57266         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57267         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57268         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57269         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57270         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57271         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57272         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57273         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57274         * math/ftestexcept.c (fetestexcept): Likewise.
57275         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57276         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57277         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57278         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57279         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57280         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57281         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57283 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57285         [BZ #12107]
57286         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57287         newline.
57289 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57291         * string/bug-strstr1.c: New file.
57292         * string/Makefile: Add rules to build and run bug-strstr1.
57294 2010-10-05  Eric Blake  <eblake@redhat.com>
57296         [BZ #12092]
57297         * string/str-two-way.h (two_way_long_needle): Always clear memory
57298         when skipping input due to the shift table.
57300 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57302         [BZ #12005]
57303         * malloc/mcheck.c: Handle large requests.
57305         [BZ #12077]
57306         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57307         for strncmp and strncasecmp.
57308         * string/stratcliff.c: Add tests for strcmp and strncmp.
57309         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57311 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57313         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57314         __set_fpscr.
57316 2010-09-30  Andreas Jaeger  <aj@suse.de>
57318         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57319         (CGROUP_SUPER_MAGIC): Define.
57320         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57321         Handle btrfs and cgroup file systems.
57322         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57323         Likewise.
57325 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57327         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57328         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57330 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57332         [BZ #12067]
57333         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57334         trying to locate the ELF header.
57336 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57338         [BZ #11611]
57339         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57340         Mask out sign-bit copies when constructing f_fsid.
57342 2010-09-24  Petr Baudis <pasky@suse.cz>
57344         * debug/stack_chk_fail_local.c: Add missing licence exception.
57345         * debug/warning-nop.c: Likewise.
57347 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57349         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57350         implementing getdents64 using getdents syscall, set d_type if
57351         __ASSUME_GETDENTS32_D_TYPE.
57353 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57355         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57356         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57358 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57360         [BZ #12037]
57361         * posix/unistd.h: Undo change of feature selection for ftruncate from
57362         2010-01-11.
57364 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57366         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57367         detection.
57369 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57371         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57372         fanotify_mark.
57373         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57375 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57377         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57378         variables after CHECK_SP call.
57379         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57381 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57382             Ulrich Drepper  <drepper@redhat.com>
57384         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57385         re-relocationg ld.so.
57386         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57387         _dl_init_paths call.
57388         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57389         here anymore.
57391 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57393         * resolv/res_init.c (__res_vinit): Count the default server we added.
57395 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57396             Ulrich Drepper  <drepper@redhat.com>
57398         [BZ #11968]
57399         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57400         (____longjmp_chk): Use %ebx for saving value across system call.
57401         Add unwind info.
57403 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57405         * manual/Makefile: Don't mix pattern rules with normal rules.
57407 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57409         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57410         operation.
57411         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57412         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57413         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57414         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57416         Likewise.
57418 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57420         [BZ #11979]
57421         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57422         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57424 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57426         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57427         * sysdeps/x86_64/addmul_1.S: Likewise.
57428         * sysdeps/x86_64/lshift.S: Likewise.
57429         * sysdeps/x86_64/mul_1.S: Likewise.
57430         * sysdeps/x86_64/rshift.S: Likewise.
57431         * sysdeps/x86_64/sub_n.S: Likewise.
57432         * sysdeps/x86_64/submul_1.S: Likewise.
57434 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57436         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57437         Define __sched_param instead of SCHED_* and sched_param when
57438         <bits/sched.h> is included with __need_schedparam defined.
57439         * bits/sched.h [__need_schedparam]
57440         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57441         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57442         (__defined_schedparam): Define to 1.
57443         (__sched_param): New structure, identical to sched_param.
57444         (__need_schedparam): Undefine.
57446 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57448         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57449         (epoll_create1): Declare.
57451         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57453 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57455         [BZ #7066]
57456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57457         shifting retval into place.
57459 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57461         * nis/rpcsvc/nis.h: Update copyright notice.
57462         * nis/rpcsvc/nis.x: Likewise.
57463         * nis/rpcsvc/nis_callback.h: Likewise.
57464         * nis/rpcsvc/nis_callback.x: Likewise.
57465         * nis/rpcsvc/nis_object.x: Likewise.
57466         * nis/rpcsvc/nis_tags.h: Likewise.
57467         * nis/rpcsvc/yp.h: Likewise.
57468         * nis/rpcsvc/yp.x: Likewise.
57469         * nis/rpcsvc/ypupd.h: Likewise.
57470         * nis/yp_xdr.c: Likewise.
57471         * nis/ypupdate_xdr.c: Likewise.
57473         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57474         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57475         (pmap_getport): Use __libc_rpc_getport.
57476         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57477         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57478         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57480 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57483         fanotify_mark.
57485 2010-08-27  Roland McGrath  <roland@redhat.com>
57487         * sysdeps/i386/i686/multiarch/Makefile
57488         (CFLAGS-varshift.c): New variable.
57490 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57492         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57493         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57497         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57499 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57501         * sysdeps/x86_64/strlen.S: Unroll the loop.
57502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57503         strlen-sse2 strlen-sse2-bsf.
57504         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57505         __strlen_no_bsf if bit_Slow_BSF is set.
57506         (__strlen_sse42): Removed.
57507         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57508         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57510 2010-08-25  Roland McGrath  <roland@redhat.com>
57512         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57513         * sysdeps/x86_64/multiarch/varshift.c: New file.
57514         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57515         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57516         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57517         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57519 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57521         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57522         strlen-sse2 strlen-sse2-bsf.
57523         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57524         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57525         (__strlen_sse2): Removed.
57526         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57527         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57529         bit_Slow_BSF for Atom.
57530         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57531         (index_Slow_BSF): Define.
57532         (HAS_SLOW_BSF): Define.
57534 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57536         [BZ #10851]
57537         * resolv/res_init.c (__res_vinit): When no server address at all
57538         is given default to loopback.
57540 2010-08-24  Roland McGrath  <roland@redhat.com>
57542         * configure.in: Remove config-name.h generation.
57543         * configure: Regenerated.
57544         * config-name.in: File removed.
57545         * scripts/config-uname.sh: New file.
57546         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57547         ($(objdir)config-name.h): New target.
57549         * sunrpc/rpc_parse.h: Avoid nested comment.
57551 2010-08-24  Richard Henderson  <rth@redhat.com>
57552             Ulrich Drepper  <drepper@redhat.com>
57553             H.J. Lu  <hongjiu.lu@intel.com>
57555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57557         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57558         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57559         _mm_alignr_epi8 with _mm_loadu_si128.
57560         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57561         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57562         (__m128i_shift_right): Removed.
57563         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57564         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57565         * sysdeps/x86_64/multiarch/varshift.h: New file.
57566         * sysdeps/x86_64/multiarch/varshift.S: New file.
57568 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57570         * configure.in: Move assembler checks to before sysdep dir checking.
57572 2010-08-20  Petr Baudis  <pasky@suse.cz>
57574         * LICENSES: Sync the sunrpc license.
57576 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57578         * sunrpc/auth_des.c: Update copyright notice once again.
57579         * sunrpc/auth_none.c: Likewise.
57580         * sunrpc/auth_unix.c: Likewise.
57581         * sunrpc/authdes_prot.c: Likewise.
57582         * sunrpc/authuxprot.c: Likewise.
57583         * sunrpc/bindrsvprt.c: Likewise.
57584         * sunrpc/clnt_gen.c: Likewise.
57585         * sunrpc/clnt_perr.c: Likewise.
57586         * sunrpc/clnt_raw.c: Likewise.
57587         * sunrpc/clnt_simp.c: Likewise.
57588         * sunrpc/clnt_tcp.c: Likewise.
57589         * sunrpc/clnt_udp.c: Likewise.
57590         * sunrpc/clnt_unix.c: Likewise.
57591         * sunrpc/des_crypt.c: Likewise.
57592         * sunrpc/des_soft.c: Likewise.
57593         * sunrpc/get_myaddr.c: Likewise.
57594         * sunrpc/getrpcport.c: Likewise.
57595         * sunrpc/key_call.c: Likewise.
57596         * sunrpc/key_prot.c: Likewise.
57597         * sunrpc/openchild.c: Likewise.
57598         * sunrpc/pm_getmaps.c: Likewise.
57599         * sunrpc/pm_getport.c: Likewise.
57600         * sunrpc/pmap_clnt.c: Likewise.
57601         * sunrpc/pmap_prot.c: Likewise.
57602         * sunrpc/pmap_prot2.c: Likewise.
57603         * sunrpc/pmap_rmt.c: Likewise.
57604         * sunrpc/rpc/auth.h: Likewise.
57605         * sunrpc/rpc/auth_unix.h: Likewise.
57606         * sunrpc/rpc/clnt.h: Likewise.
57607         * sunrpc/rpc/des_crypt.h: Likewise.
57608         * sunrpc/rpc/key_prot.h: Likewise.
57609         * sunrpc/rpc/netdb.h: Likewise.
57610         * sunrpc/rpc/pmap_clnt.h: Likewise.
57611         * sunrpc/rpc/pmap_prot.h: Likewise.
57612         * sunrpc/rpc/pmap_rmt.h: Likewise.
57613         * sunrpc/rpc/rpc.h: Likewise.
57614         * sunrpc/rpc/rpc_des.h: Likewise.
57615         * sunrpc/rpc/rpc_msg.h: Likewise.
57616         * sunrpc/rpc/svc.h: Likewise.
57617         * sunrpc/rpc/svc_auth.h: Likewise.
57618         * sunrpc/rpc/types.h: Likewise.
57619         * sunrpc/rpc/xdr.h: Likewise.
57620         * sunrpc/rpc_clntout.c: Likewise.
57621         * sunrpc/rpc_cmsg.c: Likewise.
57622         * sunrpc/rpc_common.c: Likewise.
57623         * sunrpc/rpc_cout.c: Likewise.
57624         * sunrpc/rpc_dtable.c: Likewise.
57625         * sunrpc/rpc_hout.c: Likewise.
57626         * sunrpc/rpc_main.c: Likewise.
57627         * sunrpc/rpc_parse.c: Likewise.
57628         * sunrpc/rpc_parse.h: Likewise.
57629         * sunrpc/rpc_prot.c: Likewise.
57630         * sunrpc/rpc_sample.c: Likewise.
57631         * sunrpc/rpc_scan.c: Likewise.
57632         * sunrpc/rpc_scan.h: Likewise.
57633         * sunrpc/rpc_svcout.c: Likewise.
57634         * sunrpc/rpc_tblout.c: Likewise.
57635         * sunrpc/rpc_util.c: Likewise.
57636         * sunrpc/rpc_util.h: Likewise.
57637         * sunrpc/rpcinfo.c: Likewise.
57638         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57639         * sunrpc/rpcsvc/key_prot.x: Likewise.
57640         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57641         * sunrpc/rpcsvc/mount.x: Likewise.
57642         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57643         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57644         * sunrpc/rpcsvc/rex.x: Likewise.
57645         * sunrpc/rpcsvc/rstat.x: Likewise.
57646         * sunrpc/rpcsvc/rusers.x: Likewise.
57647         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57648         * sunrpc/rpcsvc/spray.x: Likewise.
57649         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57650         * sunrpc/rtime.c: Likewise.
57651         * sunrpc/svc.c: Likewise.
57652         * sunrpc/svc_auth.c: Likewise.
57653         * sunrpc/svc_authux.c: Likewise.
57654         * sunrpc/svc_raw.c: Likewise.
57655         * sunrpc/svc_run.c: Likewise.
57656         * sunrpc/svc_simple.c: Likewise.
57657         * sunrpc/svc_tcp.c: Likewise.
57658         * sunrpc/svc_udp.c: Likewise.
57659         * sunrpc/svc_unix.c: Likewise.
57660         * sunrpc/svcauth_des.c: Likewise.
57661         * sunrpc/xcrypt.c: Likewise.
57662         * sunrpc/xdr.c: Likewise.
57663         * sunrpc/xdr_array.c: Likewise.
57664         * sunrpc/xdr_float.c: Likewise.
57665         * sunrpc/xdr_mem.c: Likewise.
57666         * sunrpc/xdr_rec.c: Likewise.
57667         * sunrpc/xdr_ref.c: Likewise.
57668         * sunrpc/xdr_sizeof.c: Likewise.
57669         * sunrpc/xdr_stdio.c: Likewise.
57671         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57672         handling.
57674 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57676         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57678 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57680         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57681         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57682         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57683         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57684         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57685         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57686         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57687         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57688         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57689         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57690         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57691         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57692         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57693         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57695 2010-07-26  Anton Blanchard  <anton@samba.org>
57697         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57698         * malloc/arena.c (heap_trim): Likewise.
57700 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57702         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57703         here.  Not...
57704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57705         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57707 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57709         * sysdeps/i386/elf/Makefile: New file.
57711 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57713         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57714         from fanotify_init.
57715         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57718 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57720         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57721         of strncasecmp_l.
57722         * sysdeps/multiarch/strcmp.S: Likewise.
57724 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57726         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57727         strncase_l-nonascii.
57728         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57729         Add strncase_l-ssse3.
57730         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57731         * sysdeps/x86_64/strcmp.S: Likewise.
57732         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57733         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57734         * sysdeps/x86_64/strncase.S: New file.
57735         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57736         * sysdeps/x86_64/strncase_l.S: New file.
57737         * string/Makefile (strop-tests): Add strncasecmp.
57738         * string/test-strncasecmp.c: New file.
57740         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57741         warning.
57743         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57744         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57746 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57748         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57750 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57752         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57753         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57754         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57756 2010-05-01  Alan Modra  <amodra@gmail.com>
57758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57759         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57760         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57761         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57762         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57763         tidying.  Don't tail-call __sigjmp_save for static lib.
57764         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57765         save location.
57766         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57767         (CALL_MCOUNT): Add eh info, and nop after bl.
57768         (TAIL_CALL_SYSCALL_ERROR): New macro.
57769         (PSEUDO_RET): Use it.
57770         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57771         Correct save location of integer regs and cr.
57772         (_dl_profile_resolve): Correct cr save location.  Delete nops
57773         after bl when SHARED.  Reduce cfi size a little by better
57774         placement of cfi directives.
57775         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57776         make a stack frame.  Instead use parm save area as a temp.
57777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57778         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57780         Don't make a stack frame for parent, use parm save area.
57781         Increase child stack frame to 112 bytes.  Don't save unused reg,
57782         and adjust reg usage.  Set up cfi on error recovery and
57783         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57785         (__makecontext): Add dummy nop after jump to exit.
57786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57787         Use correct parm save area and cr save, reduce stack frame.
57788         Correct cfi for possible PSEUDO_RET frame setup.
57789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57790         Branch to local label emitted by PSEUDO_RET rather than
57791         __syscall_error.
57793 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57795         [BZ #11904]
57796         * locale/programs/locale.c (print_assignment): New function.
57797         (show_locale_vars): Use it.
57799 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57801         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57802         field.
57803         (struct statfs64): Likewise.
57804         (_STATFS_F_FLAGS): Define.
57805         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57806         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57807         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57808         (ST_VALID): Define locally.
57809         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57810         __statvfs_getflags, use the provided value.
57811         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57812         __ASSUME_STATFS_F_FLAGS.
57814         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57816         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57817         Add sys/fanotify.h.
57818         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57819         fanotify_mask for GLIBC_2.13.
57820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57821         fanotify_init and fanotify_mark.
57822         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57823         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57825         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57826         Add prlimit.
57827         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57828         prlimit64 for GLIBC_2.13.
57829         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57830         prlimit64.
57831         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57832         syscall.
57833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57834         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57835         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57836         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57837         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57838         add prlimit alias.
57839         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57841         [BZ #11903]
57842         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57843         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57845         * nss/Makefile: Add rules to build and run tst-nss-test1.
57846         * shlib-versions: Add entry for libnss_test1.
57847         * nss/nss_test1.c: New file.
57848         * nss/tst-nss-test1.c: New file.
57850         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57851         (__nss_configure_lookup): Set appropriate entry in
57852         __nss_configure_lookup to true.
57853         * nss/nsswitch.h: Define enum with indeces of databases in
57854         databases and __nss_database_custom arrays.  Declare
57855         __nss_database_custom.
57856         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57857         to avoid using nscd when custom rules are installed.
57858         * nss/getXXbyYY_r.c: Likewise.
57859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57861         * nss/nss_files/files-parse.c: Whitespace fixes.
57863 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57865         [BZ #11883]
57866         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57867         * posix/fnmatch_loop.c: Likewise.
57869 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57871         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57872         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57873         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57874         * Versions.def [GLIBC_2.13]: Add.
57876 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57878         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57879         Also fail if tpwd after pwuid call is NULL.
57881 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57883         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57884         when converting to ms.
57886 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57888         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57889         EOPNOTSUPP errors with ENOTTY.
57890         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57891         EOPNOTSUPP errors with ENOTTY.
57893 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57895         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57896         Add strcasecmp_l-ssse3.
57897         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57898         strcasecmp.
57899         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57900         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57901         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57903 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57905         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57907         * string/Makefile (strop-tests): Add strcasecmp.
57908         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57909         strcasecmp_l-nonascii.
57910         (gen-as-const-headers): Add locale-defines.sym.
57911         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57912         * sysdeps/x86_64/strcasecmp.S: New file.
57913         * sysdeps/x86_64/strcasecmp_l.S: New file.
57914         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57915         * sysdeps/x86_64/locale-defines.sym: New file.
57916         * string/test-strcasecmp.c: New file.
57918         * string/test-strcasestr.c: Test both ends of the range of characters.
57919         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57921 2010-07-29  Roland McGrath  <roland@redhat.com>
57923         [BZ #11856]
57924         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57926 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57928         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57929         for ld.so.
57931 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57933         * manual/memory.texi (Malloc Tunable Parameters): Document
57934         M_PERTURB.
57936 2010-07-26  Roland McGrath  <roland@redhat.com>
57938         [BZ #11840]
57939         * configure.in (-fgnu89-inline check): Set and substitute
57940         gnu89_inline, not libc_cv_gnu89_inline.
57941         * configure: Regenerated.
57942         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57944 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57946         * string/test-strnlen.c: New file.
57947         * string/Makefile (strop-tests): Add strnlen.
57948         * string/tester.c (test_strnlen): Add a few more test cases.
57949         * string/tst-strlen.c: Better error reporting.
57951         * sysdeps/x86_64/strnlen.S: New file.
57953 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57955         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57956         lower-latency instructions.
57958 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57960         * string/test-strcasestr.c: New file.
57961         * string/test-strstr.c: New file.
57962         * string/Makefile (strop-tests): Add strstr and strcasestr.
57963         * string/str-two-way.h: Don't undefine MAX.
57964         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57966 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57968         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57969         strcasestr-nonascii.
57970         (CFLAGS-strcasestr-nonascii.c): Define.
57971         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57972         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57973         Remove unused attribute.
57975 2010-07-20  Roland McGrath  <roland@redhat.com>
57977         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57978         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57979         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57980         like LD_HWCAP_MASK can disable hwcaps.
57982 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57984         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57986 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57988         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57989         call in strcasestr.
57990         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57991         __strcasestr_sse42_nonascii.
57992         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57993         strcasestr-nonascii.c.
57994         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57996 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57998         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57999         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58000         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58001         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58003 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
58005         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58006         fcntl.
58008 2010-07-06  Andreas Schwab  <schwab@redhat.com>
58010         [BZ #11577]
58011         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58012         dl_signal_cerror.
58014 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
58016         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58017         _PC_PIPE_BUF using F_GETPIPE_SZ.
58019 2010-07-05  Roland McGrath  <roland@redhat.com>
58021         * manual/arith.texi (Rounding Functions): Fix rint description
58022         implicit in round description.
58024 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
58026         * elf/Makefile: Fix linking for a few tests to make recent linker
58027         happy.
58029 2010-06-30  Andreas Schwab  <schwab@redhat.com>
58031         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58032         $(common-objpfx)libc_nonshared.a.
58034 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
58036         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58037         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58038         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58039         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58040         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58041         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58042         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58043         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58058         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58059         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58060         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58061         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58062         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58063         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58064         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58065         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58066         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58067         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58068         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58069         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58085 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
58087         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58088         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
58089         * string/memmove.c (memmove): Renamed to ...
58090         (MEMMOVE): ...this.  Default to memmove.
58091         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58092         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58093         (END_CHK): Define.
58094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58095         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58096         mempcpy-ssse3-back memmove-ssse3-back.
58097         * sysdeps/x86_64/multiarch/bcopy.S: New file .
58098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58100         * sysdeps/x86_64/multiarch/memcpy.S: New file.
58101         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58102         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58103         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58104         * sysdeps/x86_64/multiarch/memmove.c: New file.
58105         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58106         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58107         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58108         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58109         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58110         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58111         Define.
58112         (index_Fast_Copy_Backward): Define.
58113         (HAS_ARCH_FEATURE): Define.
58114         (HAS_FAST_REP_STRING): Define.
58115         (HAS_FAST_COPY_BACKWARD): Define.
58117 2010-06-21  Andreas Schwab  <schwab@redhat.com>
58119         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58120         Restore proper fallback handling.
58122 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
58124         [BZ #11701]
58125         * posix/group_member.c (__group_member): Correct checking loop.
58127         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58128         OOM in getpwuid_r correctly.  Return error number when the caller
58129         should return, otherwise -1.
58130         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58131         call returning > 0 value.
58132         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58134 2010-06-07  Andreas Schwab  <schwab@redhat.com>
58136         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58137         libc_nonshared.a from targets in modules-names.
58139 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
58141         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58142         requires it.
58144 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
58146         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58147         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58149         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58151 2010-06-02  Andreas Schwab  <schwab@redhat.com>
58153         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58155 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
58157         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58158         and F_GETPIPE_SZ.
58159         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58160         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58161         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58163         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58164         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58166 2010-06-14  Roland McGrath  <roland@redhat.com>
58168         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58170 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
58172         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58173         __REDIRECT followed by __THROW.
58174         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58175         * posix/getopt.h (getopt): Likewise.
58177 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58179         * hurd/lookup-at.c (__file_name_lookup_at): Accept
58180         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
58181         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58182         in AT_FLAGS.
58183         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58184         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58186 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58188         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58190 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58192         [BZ #11640]
58193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58194         Properly check family and model.
58196 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58198         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58200 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58202         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58204 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58206         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58207         symbol reference.
58209 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58211         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58212         symbol reference.
58214 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58216         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58217         and internal_recvmmsg.
58218         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58219         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58220         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58221         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58223         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58224         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58225         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58227 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58229         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58231 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58233         POWER7 optimizations.
58234         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58235         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58237 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58239         * version.h: Update for 2.13 development version.
58241 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58243         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58244         exceptions.  Return 0.
58246 2010-05-07  Roland McGrath  <roland@redhat.com>
58248         * elf/ldconfig.c (main): Add a const.
58250 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58252         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58253         (args_options): Add no-idn option.
58254         (ahosts_keys_int): Add idn_flags to ai_flags.
58255         (parse_option): Handle 'i' option to clear idn_flags.
58257         * malloc/malloc.c (_int_free): Possible race in the most recently
58258         added check.  Only act on the data if no current modification
58259         happened.
58261 See ChangeLog.17 for earlier changes.